lwIP - A Lightweight TCP/IP stack - Patches: patch #10415, Stateful DHCPv6 client with prefix...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10415: Stateful DHCPv6 client with prefix delegation
Submitter: | Pavel Kovar <pavelkovarnxp> | ||
Submitted: | Wed 22 Nov 2023 09:19:46 AM UTC | ||
Category: | DHCP | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Planned Release: | None |
Attached Files
file #55348: 0001-DHCPv6-Add-stateful-mode-and-prefix-delegation-suppo.patch added by pavelkovarnxp (136KiB - application/octet-stream)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-11-22 | pavelkovarnxp | Attached File | - | Added 0001-DHCPv6-Add-stateful-mode-and-prefix-delegation-suppo.patch, #55348 |
Powered by Savane 3.13-02a9.
Corresponding source code
DHCPv6: Add stateful mode and prefix delegation support and unit test.
Overhaul of dhcpv6 client to support IPv6 address autoconfiguration as per RFC 8415 (stateful DHCPv6 with prefix delegation) and RFC 3736 (stateless DHCPv6).
Interface:
dhcp6_enable() enables DHCPv6 for a netif.
dhcp6_disable() disable DHCPv6 for a netif (unchanged)
dhcp6_set_client_id_duid() enables use of the app’s own DUID instead of hwaddr.
define LWIP_IPV6_DHCP6_STATEFUL to 1 to support a stateful client (Can give you an address using DHCP6)
define LWIP_IPV6_DHCP6_PD to 1 to request a prefix from your router.
Use LWIP_DHCP6_ORO_OPTS_CUSTOM with LWIP_HOOK_DHCP6_PARSE_ORO_OPTS_CUSTOM to set and process additional ORO options.
Limitations and features good to know about:
When enabled, requests are only issued after the receipt of RA with the corresponding bits set.
(Base commit for included patch is 5e3268cf3ea16 branch master)