Page MenuHomeFreeBSD

nd6: properly fill CARP link level address for NS sent out
ClosedPublic

Authored by glebius on Jan 12 2022, 3:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 27, 6:35 PM
Unknown Object (File)
Tue, Mar 26, 7:05 PM
Unknown Object (File)
Jan 30 2024, 4:47 AM
Unknown Object (File)
Jan 15 2024, 12:36 AM
Unknown Object (File)
Dec 23 2023, 12:28 AM
Unknown Object (File)
Dec 9 2023, 10:52 PM
Unknown Object (File)
Nov 30 2023, 8:44 PM
Unknown Object (File)
Oct 27 2023, 2:14 PM
Subscribers

Details

Summary

When sending an NS, check if we are using a CARP address and
if we do, then add proper address into ND_OPT_SOURCE_LINKADDR
option and also put PACKET_TAG_CARP tag on the packet. The
code really follows what NA sending code has been doing since
introduction of carp(4). While here, bring to style(9) the
whole block of code.

PR: 193280

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable