Skip to content

Conversation

@y-kzm
Copy link
Contributor

@y-kzm y-kzm commented Nov 7, 2025

This change adds support for advertising the DHCPv6-PD Preferred (P) flag in Prefix Information Options, as specified in RFC 9762.
The P flag allows routers to indicate to clients that DHCPv6-PD is available on the network.

https://www.rfc-editor.org/rfc/rfc9762.html

Wireshark already supports parsing and displaying this flag as “DHCPv6-PD Preferred Flag (P)” in Prefix Information Options.

Screenshot 2025-11-07 at 19 58 19

Note that, since glibc does not seem to define ND_OPT_PI_FLAG_* constants for this flag, the current naming (ND_OPT_PI_FLAG_DHCPv6_PD_PREF) may not be optimal.

I also saw the Android Developers Blog post “Simplifying advanced networking with DHCPv6 Prefix Delegation,” which relates to this topic.

Signed-off-by: y-kzm <kzm-yokoo@hiroshima-u.ac.jp>
@Neustradamus

This comment was marked as abuse.

1 similar comment
@Neustradamus

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants