Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv6/
Dnd6.c187 struct prefix_option *prefix_opt, const ip6_addr_t *prefix_addr) in nd6_process_autoconfig_prefix() argument
196 valid_life = lwip_htonl(prefix_opt->valid_lifetime); in nd6_process_autoconfig_prefix()
197 pref_life = lwip_htonl(prefix_opt->preferred_lifetime); in nd6_process_autoconfig_prefix()
198 if (pref_life > valid_life || prefix_opt->prefix_length != 64) { in nd6_process_autoconfig_prefix()
710 struct prefix_option *prefix_opt; in nd6_input() local
716 prefix_opt = (struct prefix_option *)buffer; in nd6_input()
719 ip6_addr_copy_from_packed(prefix_addr, prefix_opt->prefix); in nd6_input()
723 if ((prefix_opt->flags & ND6_PREFIX_FLAG_ON_LINK) && in nd6_input()
724 (prefix_opt->prefix_length == 64)) { in nd6_input()
729 valid_life = lwip_htonl(prefix_opt->valid_lifetime); in nd6_input()
[all …]