Home
last modified time | relevance | path

Searched refs:eth_interfaces (Results 1 – 5 of 5) sorted by relevance

/tests/net/vlan/src/
A Dmain.c437 eth_interfaces[ud->eth_if_count++] = iface; in iface_cb()
699 iface = eth_interfaces[0]; in test_vlan_enable()
703 iface = eth_interfaces[1]; in test_vlan_enable()
770 iface = eth_interfaces[0]; in test_vlan_disable()
774 iface = eth_interfaces[1]; in test_vlan_disable()
956 net_if_up(eth_interfaces[0]); in ZTEST()
1115 iface = eth_interfaces[0]; in ZTEST()
1118 dev = net_if_get_device(eth_interfaces[0]); in ZTEST()
1124 net_if_down(eth_interfaces[0]); in ZTEST()
1134 net_if_up(eth_interfaces[0]); in ZTEST()
[all …]
/tests/net/ptp/clock/src/
A Dmain.c324 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()
430 eth_interfaces[non_ptp_interface]); in test_ptp_clock_interfaces()
451 eth_interfaces[idx]); in test_ptp_clock_iface()
[all …]
/tests/net/tx_timestamp/src/
A Dmain.c65 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()
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()
466 send_some_data(eth_interfaces[0]); in test_check_timestamp_before_enabling()
[all …]
/tests/net/virtual/src/
A Dmain.c78 static struct net_if *eth_interfaces[2]; variable
321 if (!eth_interfaces[0]) { in iface_cb()
323 eth_interfaces[0] = iface; in iface_cb()
331 eth_interfaces[starting_eth_idx++] = iface; in iface_cb()
388 eth = eth_interfaces[0]; in test_address_setup()
612 ret = net_if_down(eth_interfaces[0]); in ZTEST()
629 ret = net_if_up(eth_interfaces[0]); in ZTEST()
817 struct net_if *attached = eth_interfaces[0]; in ZTEST()
830 ret = add_to_arp(eth_interfaces[0], in ZTEST()
839 ret = add_neighbor(eth_interfaces[0], in ZTEST()
[all …]
/tests/net/checksum_offload/src/
A Dmain.c514 eth_interfaces[0] = iface; in iface_cb()
519 eth_interfaces[1] = iface; in iface_cb()
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()
862 *iface = eth_interfaces[0]; in test_icmp_init()
1322 add_neighbor(eth_interfaces[0], &dst_addr1); in net_chksum_offload_tests_setup()
[all …]

Completed in 52 milliseconds