odhcpd: Implement RFC9762 DHCPv6 PD Preferred flag for PIOs
authorPaul Donald <[email protected]>
Sun, 9 Nov 2025 23:00:05 +0000 (00:00 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 10 Nov 2025 12:09:13 +0000 (13:09 +0100)
commita89b57fa1786692416558c54746802618f3f8c8f
tree5aa0450fff20775c7cbe9f784713d3f455f51390
parente63ec4001f837fd26909ba427d2efd6150ced68f
odhcpd: Implement RFC9762 DHCPv6 PD Preferred flag for PIOs

The RFC defines the P flag for use within PIOs, and defines its meaning
as "purely a positive indicator, telling nodes that DHCPv6 PD is
available and the network prefers that nodes use it".

The RFC abstract lays out:

The (P) flag is used to indicate that the network prefers that clients
use the deployment model in RFC 9663 instead of using individual
addresses in the on-link prefix assigned using SLAAC, or DHCPv6 address
assignment.

Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/301
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
README.md
src/config.c
src/odhcpd.h
src/router.c
src/router.h