Home
last modified time | relevance | path

Searched refs:pfx_info (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-2.7.6/subsys/net/ip/
Dipv6_nbr.c2196 struct net_icmpv6_nd_opt_prefix_info *pfx_info; in handle_ra_prefix() local
2199 pfx_info = (struct net_icmpv6_nd_opt_prefix_info *) in handle_ra_prefix()
2201 if (!pfx_info) { in handle_ra_prefix()
2207 valid_lifetime = ntohl(pfx_info->valid_lifetime); in handle_ra_prefix()
2208 preferred_lifetime = ntohl(pfx_info->preferred_lifetime); in handle_ra_prefix()
2211 !net_ipv6_is_ll_addr(&pfx_info->prefix)) { in handle_ra_prefix()
2212 if (pfx_info->flags & NET_ICMPV6_RA_FLAG_ONLINK) { in handle_ra_prefix()
2213 handle_prefix_onlink(pkt, pfx_info); in handle_ra_prefix()
2216 if ((pfx_info->flags & NET_ICMPV6_RA_FLAG_AUTONOMOUS) && in handle_ra_prefix()
2218 (pfx_info->prefix_len == NET_IPV6_DEFAULT_PREFIX_LEN)) { in handle_ra_prefix()
[all …]