Page MenuHomeFreeBSD

nd6: Add router address and DHCPv6-PD flags in PIO headers
Needs ReviewPublic

Authored by pouria on Tue, Mar 31, 9:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 2:30 AM
Unknown Object (File)
Sun, Apr 12, 12:30 AM
Unknown Object (File)
Sat, Apr 11, 8:06 PM
Unknown Object (File)
Sat, Apr 11, 3:51 PM
Unknown Object (File)
Sat, Apr 11, 1:24 AM
Unknown Object (File)
Fri, Apr 10, 3:04 PM
Unknown Object (File)
Thu, Apr 9, 11:29 AM
Unknown Object (File)
Tue, Apr 7, 4:24 PM

Details

Reviewers
bz
zlei
ae
markj
glebius
Group Reviewers
network
Summary

Make R-bit per RFC 6275 8.3 and P-bit per RFC 9762 7.1 in
Prefix Information option available to userland for future implementations.

RFC 9762 7.1: For each interface, the client MUST keep a list of every prefix
that was received from a PIO with the P flag set and currently has a non-zero
preferred lifetime.

RFC 6275 8.3: All IPv6 routers, *even those not serving as a home agent for Mobile IPv6*:
Each router SHOULD include at least one prefix with the Router
Address (R) bit set and with its full IP address in its Router Advertisements.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71887
Build 68770: arc lint + arc unit

Event Timeline

@ae, that's where I said we would probably have conflict over the reserved flags.

I didn't include the sys/netinet6/nd6_rtr.c part yet, so there is no dependency with other ndp revisions.
But I want to push them at once. (ofc, if approved)

pouria retitled this revision from ndp: Add router address and DHCPv6-PD flags in PIO headers to nd6: Add router address and DHCPv6-PD flags in PIO headers.Wed, Apr 1, 4:47 PM

Not an expert. Looks good code wise.