Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv6/
Dip6.c286 const ip6_addr_t *cand_addr; in ip6_select_source_address() local
318 cand_addr = netif_ip6_addr(netif, i); in ip6_select_source_address()
319 if (ip6_addr_isglobal(cand_addr)) { in ip6_select_source_address()
321 } else if (ip6_addr_islinklocal(cand_addr)) { in ip6_select_source_address()
323 } else if (ip6_addr_isuniquelocal(cand_addr)) { in ip6_select_source_address()
325 } else if (ip6_addr_issitelocal(cand_addr)) { in ip6_select_source_address()
335 cand_bits = ip6_addr_netcmp_zoneless(cand_addr, dest); /* just 1 or 0 for now */ in ip6_select_source_address()
336 if (cand_bits && ip6_addr_nethostcmp(cand_addr, dest)) { in ip6_select_source_address()