mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-24 20:01:35 +08:00
renew6: Optimize the process of obtaining an IPv6 address.
If Managed Address Congfiguration flag in the Router Advertisement Messsage is set, we would obtain the IPv6 address though the stateful DHCPv6 procedure. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
@@ -325,6 +325,10 @@ ssize_t netlib_get_route(FAR struct rtentry *rtelist,
|
||||
/* ICMPv6 Autoconfiguration */
|
||||
|
||||
int netlib_icmpv6_autoconfiguration(FAR const char *ifname);
|
||||
|
||||
/* DHCPv6 */
|
||||
|
||||
int netlib_obtain_ipv6addr(FAR const char *ifname);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_IPTABLES
|
||||
|
||||
Reference in New Issue
Block a user