/Zephyr-Core-3.5.0/tests/net/promiscuous/src/ |
D | main.c | 58 static struct net_if *iface2; variable 191 iface2 = iface; in iface_cb() 212 idx = net_if_get_by_iface(iface2); in test_iface_setup() 214 net_if_get_device(iface2)->data)->idx = idx; in test_iface_setup() 217 zassert_not_null(iface2, "Interface 2"); in test_iface_setup() 221 net_if_get_by_iface(iface2), iface2); in test_iface_setup() 244 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_iface_setup() 254 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr3, in test_iface_setup() 274 net_if_up(iface2); in test_iface_setup() 326 _set_promisc_mode_on_again(iface2); in test_set_promisc_mode_on_again() [all …]
|
/Zephyr-Core-3.5.0/tests/net/iface/src/ |
D | main.c | 62 static struct net_if *iface2; variable 159 iface2, 302 iface2 = iface; in iface_cb() 328 idx = net_if_get_by_iface(iface2); in iface_setup() 330 net_if_get_device(iface2)->data)->idx = idx; in iface_setup() 338 net_if_get_by_iface(iface2), iface2, in iface_setup() 342 zassert_not_null(iface2, "Interface 2"); in iface_setup() 374 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in iface_setup() 384 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr3, in iface_setup() 404 net_if_up(iface2); in iface_setup() [all …]
|
/Zephyr-Core-3.5.0/tests/net/tx_timestamp/src/ |
D | main.c | 347 struct net_if *iface1, *iface2; in test_address_setup() local 354 iface2 = eth_interfaces[1]; in test_address_setup() 357 zassert_not_null(iface2, "Interface 2\n"); in test_address_setup() 380 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_address_setup() 391 net_if_up(iface2); in test_address_setup()
|
/Zephyr-Core-3.5.0/tests/net/ptp/clock/src/ |
D | main.c | 356 struct net_if *iface1, *iface2, *iface3; in test_address_setup() local 359 iface2 = eth_interfaces[1]; in test_address_setup() 363 zassert_not_null(iface2, "Interface 2\n"); in test_address_setup() 387 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_address_setup() 406 net_if_up(iface2); in test_address_setup()
|
/Zephyr-Core-3.5.0/tests/net/neighbor/src/ |
D | main.c | 77 struct net_if *iface2 = INT_TO_POINTER(2); in ZTEST() local 222 ret = net_nbr_link(nbr, iface2, &lladdr); in ZTEST() 240 nbr = net_nbr_lookup(&net_test_neighbor.table, iface2, in ZTEST()
|
/Zephyr-Core-3.5.0/tests/net/ip-addr/src/ |
D | main.c | 165 NET_DEVICE_INIT_INSTANCE(net_addr_test2, "net_addr_test2", iface2, 393 struct net_if *iface, *iface1, *iface2; in ZTEST() local 499 iface2 = net_if_get_by_index(2); in ZTEST() 509 ifmaddr1 = net_if_ipv4_maddr_lookup(&maddr4a, &iface2); in ZTEST() 512 ret = net_if_ipv4_maddr_rm(iface2, &maddr4a); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/net/vlan/src/ |
D | main.c | 262 iface2, 356 struct net_if *iface1, *iface2, *iface3; in test_address_setup() local 359 iface2 = eth_interfaces[0]; /* and this one not */ in test_address_setup() 363 zassert_not_null(iface2, "Interface 2"); in test_address_setup() 387 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_address_setup() 406 net_if_up(iface2); in test_address_setup()
|
/Zephyr-Core-3.5.0/tests/net/checksum_offload/src/ |
D | main.c | 379 struct net_if *iface1, *iface2; in test_address_setup() local 382 iface2 = eth_interfaces[1]; in test_address_setup() 385 zassert_not_null(iface2, "Interface 2"); in test_address_setup() 412 ifaddr = net_if_ipv6_addr_add(iface2, &my_addr2, in test_address_setup() 422 ifaddr = net_if_ipv4_addr_add(iface2, &in4addr_my2, in test_address_setup() 427 net_if_up(iface2); in test_address_setup()
|
/Zephyr-Core-3.5.0/tests/net/ipv6/src/ |
D | main.c | 470 struct net_if *iface2 = NULL; in ipv6_setup() local 501 ifaddr2 = net_if_ipv6_addr_lookup(&my_addr, &iface2); in ipv6_setup()
|
/Zephyr-Core-3.5.0/tests/net/virtual/src/ |
D | main.c | 260 iface2,
|