Lines Matching refs:ifaddr
355 struct net_if_addr *ifaddr; in test_address_setup() local
366 ifaddr = net_if_ipv6_addr_add(iface1, &my_addr1, in test_address_setup()
368 if (!ifaddr) { in test_address_setup()
371 zassert_not_null(ifaddr, "addr1\n"); in test_address_setup()
375 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
377 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_address_setup()
379 if (!ifaddr) { in test_address_setup()
382 zassert_not_null(ifaddr, "ll_addr\n"); in test_address_setup()
385 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
387 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_address_setup()
389 if (!ifaddr) { in test_address_setup()
392 zassert_not_null(ifaddr, "addr2\n"); in test_address_setup()
395 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
397 ifaddr = net_if_ipv6_addr_add(iface3, &my_addr3, in test_address_setup()
399 if (!ifaddr) { in test_address_setup()
402 zassert_not_null(ifaddr, "addr3\n"); in test_address_setup()