Lines Matching refs:ipv6
584 struct net_if_ipv6 *ipv6; in ipv6_setup() local
595 zassert_false(net_if_config_ipv6_get(iface, &ipv6) < 0, in ipv6_setup()
599 if (iface->config.ip.ipv6->unicast[i].is_used) { in ipv6_setup()
603 ifaddr = &iface->config.ip.ipv6->unicast[i]; in ipv6_setup()
2181 struct net_if_ipv6 *ipv6; in is_pe_address_found() local
2183 ipv6 = iface->config.ip.ipv6; in is_pe_address_found()
2185 zassert_not_null(ipv6, "IPv6 configuration is wrong for iface %p", in is_pe_address_found()
2188 ARRAY_FOR_EACH(ipv6->unicast, i) { in is_pe_address_found()
2189 if (!ipv6->unicast[i].is_used || in is_pe_address_found()
2190 ipv6->unicast[i].address.family != AF_INET6 || in is_pe_address_found()
2191 !ipv6->unicast[i].is_temporary) { in is_pe_address_found()
2196 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in is_pe_address_found()
2211 struct net_if_ipv6 *ipv6; in get_pe_addresses() local
2213 ipv6 = iface->config.ip.ipv6; in get_pe_addresses()
2215 zassert_not_null(ipv6, "IPv6 configuration is wrong for iface %p", in get_pe_addresses()
2218 ARRAY_FOR_EACH(ipv6->unicast, i) { in get_pe_addresses()
2219 if (!ipv6->unicast[i].is_used || in get_pe_addresses()
2220 ipv6->unicast[i].address.family != AF_INET6) { in get_pe_addresses()
2225 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in get_pe_addresses()
2227 if (ipv6->unicast[i].is_temporary) { in get_pe_addresses()
2229 &ipv6->unicast[i].address.in6_addr; in get_pe_addresses()
2232 &ipv6->unicast[i].address.in6_addr; in get_pe_addresses()