Lines Matching refs:my_iface
75 static struct net_if *my_iface; variable
244 my_iface = net_if_get_first_by_type(&NET_L2_GET_NAME(DUMMY)); in test_init()
248 net_if_get_by_iface(my_iface), my_iface, in test_init()
251 zassert_not_null(my_iface, in test_init()
257 ifaddr = net_if_ipv6_addr_add(my_iface, &my_addr, in test_init()
265 ifaddr = net_if_ipv6_addr_add(my_iface, &ll_addr, in test_init()
274 maddr = net_if_ipv6_maddr_add(my_iface, &in6addr_mcast); in test_init()
344 recipient = my_iface; in test_populate_nbr_cache()
372 zassert_true(net_test_nbr_lookup_ok(my_iface, &peer_addr)); in test_populate_nbr_cache()
377 route_entry = net_route_add(my_iface, in test_route_add()
390 update_entry = net_route_add(my_iface, in test_route_update()
435 entry = net_route_lookup(my_iface, &dest_addr); in test_route_lookup_ok()
444 entry = net_route_lookup(my_iface, &peer_addr); in test_route_lookup_fail()
454 ret = net_route_del_by_nexthop(my_iface, nexthop); in test_route_del_nexthop()
463 ret = net_route_del_by_nexthop(my_iface, nexthop); in test_route_del_nexthop_again()
474 test_routes[i] = net_route_add(my_iface, in test_route_add_many()
497 route_entry = net_route_add(my_iface, in test_route_lifetime()
505 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime()
512 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime()
521 route_entry = net_route_add(my_iface, in test_route_preference()
528 update_entry = net_route_add(my_iface, in test_route_preference()
536 update_entry = net_route_add(my_iface, in test_route_preference()