Lines Matching refs:ifaddr
280 struct net_if_addr *ifaddr; in address_setup() local
287 ifaddr = net_if_ipv6_addr_add(iface1, &my_addr1, in address_setup()
289 if (!ifaddr) { in address_setup()
292 zassert_not_null(ifaddr, "addr1"); in address_setup()
296 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
298 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in address_setup()
300 if (!ifaddr) { in address_setup()
303 zassert_not_null(ifaddr, "ll_addr"); in address_setup()
306 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
308 ifaddr = net_if_ipv6_addr_add(iface1, &my_addr2, in address_setup()
310 if (!ifaddr) { in address_setup()
313 zassert_not_null(ifaddr, "addr2"); in address_setup()
316 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
318 ifaddr = net_if_ipv6_addr_add(iface1, &my_addr3, in address_setup()
320 if (!ifaddr) { in address_setup()
323 zassert_not_null(ifaddr, "addr3"); in address_setup()
764 struct net_if_addr *ifaddr; in traffic_class_recv_packets_with_prio() local
784 ifaddr = net_if_ipv6_addr_lookup(src_addr, &iface); in traffic_class_recv_packets_with_prio()
785 zassert_not_null(ifaddr, "Cannot find source address"); in traffic_class_recv_packets_with_prio()