Home
last modified time | relevance | path

Searched refs:virtual_interfaces (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/subsys/net/l2/virtual/
Dvirtual.c92 interfaces = &ctx->virtual_iface->config.virtual_interfaces; in virtual_enable()
170 &ctx->iface->config.virtual_interfaces, in net_virtual_interface_attach()
187 sys_slist_append(&ctx->iface->config.virtual_interfaces, in net_virtual_interface_attach()
232 interfaces = &iface->config.virtual_interfaces; in net_virtual_disable()
349 interfaces = &input_iface->config.virtual_interfaces; in net_virtual_input()
377 sys_slist_init(&iface->config.virtual_interfaces); in net_virtual_init()
/Zephyr-Core-2.7.6/tests/net/virtual/src/
Dmain.c77 static struct net_if *virtual_interfaces[1]; variable
348 virtual_interfaces[ud->virtual_if_count++] = iface; in iface_cb()
369 zassert_equal(ud.virtual_if_count, ARRAY_SIZE(virtual_interfaces), in test_virtual_setup()
372 ud.virtual_if_count, ARRAY_SIZE(virtual_interfaces)); in test_virtual_setup()
392 virt = virtual_interfaces[0]; in test_address_setup()
551 struct net_if *iface = virtual_interfaces[0]; in test_virtual_attach_and_detach()
584 struct net_if *iface = virtual_interfaces[0]; in test_virtual_set_mtu()
611 struct net_if *iface = virtual_interfaces[0]; in test_virtual_get_mtu()
629 struct net_if *iface = virtual_interfaces[0]; in test_virtual_set_peer()
674 struct net_if *iface = virtual_interfaces[0]; in test_virtual_get_peer()
[all …]
/Zephyr-Core-2.7.6/include/net/
Dnet_if.h390 sys_slist_t virtual_interfaces; member
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_shell.c398 if (!sys_slist_is_empty(&iface->config.virtual_interfaces)) { in iface_cb()
403 &iface->config.virtual_interfaces, in iface_cb()
5332 if (sys_slist_is_empty(&iface->config.virtual_interfaces)) { in attached_iface_cb()
5343 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&iface->config.virtual_interfaces, in attached_iface_cb()