Searched refs:eth_interfaces (Results  1 – 5 of 5) sorted by relevance
| /Zephyr-latest/tests/net/vlan/src/ | 
| D | main.c | 117 static struct net_if *eth_interfaces[NET_ETH_MAX_COUNT];  variable 437 		eth_interfaces[ud->eth_if_count++] = iface;  in iface_cb() 490 	iface1 = eth_interfaces[1]; /* This has VLAN enabled */  in test_address_setup() 491 	iface2 = eth_interfaces[0]; /* and this one not */  in test_address_setup() 662 	ret = net_eth_vlan_enable(eth_interfaces[0], VLAN_TAG_1);  in test_vlan_enable() 664 	ret = net_eth_vlan_enable(eth_interfaces[0], VLAN_TAG_2);  in test_vlan_enable() 666 	ret = net_eth_vlan_enable(eth_interfaces[0], VLAN_TAG_3);  in test_vlan_enable() 668 	ret = net_eth_vlan_enable(eth_interfaces[0], VLAN_TAG_4);  in test_vlan_enable() 671 	eth_ctx = net_if_l2_data(eth_interfaces[0]);  in test_vlan_enable() 673 	iface = net_eth_get_vlan_iface(eth_interfaces[0], VLAN_TAG_1);  in test_vlan_enable() [all …] 
 | 
| /Zephyr-latest/tests/net/ptp/clock/src/ | 
| D | main.c | 65 static struct net_if *eth_interfaces[MAX_NUM_INTERFACES];  variable 310 		if (ud->eth_if_count >= ARRAY_SIZE(eth_interfaces)) {  in iface_cb() 324 		eth_interfaces[ud->eth_if_count++] = iface;  in iface_cb() 358 	iface1 = eth_interfaces[0];  in test_address_setup() 359 	iface2 = eth_interfaces[1];  in test_address_setup() 360 	iface3 = eth_interfaces[2];  in test_address_setup() 419 	clk = net_eth_get_ptp_clock(eth_interfaces[idx]);  in test_ptp_clock_interfaces() 421 			 eth_interfaces[idx]);  in test_ptp_clock_interfaces() 424 	clk = net_eth_get_ptp_clock(eth_interfaces[idx]);  in test_ptp_clock_interfaces() 426 			 eth_interfaces[idx]);  in test_ptp_clock_interfaces() [all …] 
 | 
| /Zephyr-latest/tests/net/tx_timestamp/src/ | 
| D | main.c | 65 static struct net_if *eth_interfaces[2];  variable 190 	iface = eth_interfaces[0];  in test_timestamp_setup() 220 	zassert_equal(eth_interfaces[1], net_pkt_iface(pkt),  in timestamp_callback_2() 236 	iface = eth_interfaces[1];  in test_timestamp_setup_2nd_iface() 263 	pkt = net_pkt_alloc_on_iface(eth_interfaces[0], K_FOREVER);  in test_timestamp_setup_all() 287 	iface = eth_interfaces[0];  in test_timestamp_cleanup() 330 		if (ud->eth_if_count >= ARRAY_SIZE(eth_interfaces)) {  in iface_cb() 335 		eth_interfaces[ud->eth_if_count++] = iface;  in iface_cb() 353 	iface1 = eth_interfaces[0];  in test_address_setup() 354 	iface2 = eth_interfaces[1];  in test_address_setup() [all …] 
 | 
| /Zephyr-latest/tests/net/virtual/src/ | 
| D | main.c | 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() 558 	ret = net_virtual_interface_attach(iface, eth_interfaces[0]);  in ZTEST() 561 		      net_if_get_by_iface(eth_interfaces[0]),  in ZTEST() [all …] 
 | 
| /Zephyr-latest/tests/net/checksum_offload/src/ | 
| D | main.c | 79 static struct net_if *eth_interfaces[2 + IS_ENABLED(CONFIG_ETH_NATIVE_TAP)];  variable 514 			eth_interfaces[0] = iface;  in iface_cb() 519 			eth_interfaces[1] = iface;  in iface_cb() 538 	zassert_equal(ud.eth_if_count, sizeof(eth_interfaces) / sizeof(void *),  in test_eth_setup() 541 		      sizeof(eth_interfaces) / sizeof(void *));  in test_eth_setup() 550 	iface1 = eth_interfaces[0];  in test_address_setup() 551 	iface2 = eth_interfaces[1];  in test_address_setup() 702 		iface = eth_interfaces[1];  in test_udp_context_prepare() 707 		iface = eth_interfaces[0];  in test_udp_context_prepare() 860 		*iface = eth_interfaces[1];  in test_icmp_init() [all …] 
 |