Lines Matching refs:ifaddr
203 struct net_if_addr *ifaddr; in test_iface_setup() local
223 ifaddr = net_if_ipv6_addr_add(iface1, &my_addr1, in test_iface_setup()
225 if (!ifaddr) { in test_iface_setup()
228 zassert_not_null(ifaddr, "addr1"); in test_iface_setup()
232 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
234 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_iface_setup()
236 if (!ifaddr) { in test_iface_setup()
239 zassert_not_null(ifaddr, "ll_addr"); in test_iface_setup()
242 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
244 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_iface_setup()
246 if (!ifaddr) { in test_iface_setup()
249 zassert_not_null(ifaddr, "addr2"); in test_iface_setup()
252 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
254 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr3, in test_iface_setup()
256 if (!ifaddr) { in test_iface_setup()
259 zassert_not_null(ifaddr, "addr3"); in test_iface_setup()
262 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()