Lines Matching refs:eth_interfaces

78 static struct net_if *eth_interfaces[2];  variable
321 if (!eth_interfaces[0]) { in iface_cb()
323 eth_interfaces[0] = iface; in iface_cb()
327 if (ud->eth_if_count > ARRAY_SIZE(eth_interfaces)) { in iface_cb()
331 eth_interfaces[starting_eth_idx++] = iface; in iface_cb()
370 zassert_true(ud.eth_if_count <= ARRAY_SIZE(eth_interfaces), in test_virtual_setup()
373 ud.eth_if_count, ARRAY_SIZE(eth_interfaces)); in test_virtual_setup()
388 eth = eth_interfaces[0]; in test_address_setup()
560 ret = net_virtual_interface_attach(iface, eth_interfaces[0]); in ZTEST()
563 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
578 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
592 ret = net_virtual_interface_attach(iface, eth_interfaces[0]); in ZTEST()
595 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
609 zassert_true(net_if_is_up(eth_interfaces[0]), in ZTEST()
614 ret = net_if_down(eth_interfaces[0]); in ZTEST()
616 net_if_get_by_iface(eth_interfaces[0]), ret); in ZTEST()
631 ret = net_if_up(eth_interfaces[0]); in ZTEST()
633 net_if_get_by_iface(eth_interfaces[0]), ret); in ZTEST()
646 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
746 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
811 net_if_get_by_iface(eth_interfaces[0]), in ZTEST()
819 struct net_if *attached = eth_interfaces[0]; in ZTEST()
832 ret = add_to_arp(eth_interfaces[0], in ZTEST()
841 ret = add_neighbor(eth_interfaces[0], in ZTEST()
857 zassert_equal(eth_interfaces[0], attached, in ZTEST()
943 struct net_if *attached = eth_interfaces[0]; in test_virtual_recv_data_from_tunnel()