Home
last modified time | relevance | path

Searched refs:vlan_iface (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/
Dvlan.c41 static int vlan_interface_attach(struct net_if *vlan_iface,
639 static int vlan_interface_attach(struct net_if *vlan_iface, in vlan_interface_attach() argument
642 struct vlan_context *ctx = net_if_get_device(vlan_iface)->data; in vlan_interface_attach()
646 net_if_get_by_iface(vlan_iface), vlan_iface, in vlan_interface_attach()
650 net_if_get_by_iface(vlan_iface), vlan_iface, in vlan_interface_attach()
Dethernet.c304 struct net_if *vlan_iface; in ethernet_recv() local
314 vlan_iface = net_eth_get_vlan_iface(iface, in ethernet_recv()
316 if (vlan_iface == NULL) { in ethernet_recv()
322 net_pkt_set_iface(pkt, vlan_iface); in ethernet_recv()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c711 ARRAY_FOR_EACH_PTR(vlan_interfaces, vlan_iface) { in test_vlan_enable()
714 ret = net_eth_is_vlan_interface(*vlan_iface); in test_vlan_enable()
717 net_if_get_by_iface(*vlan_iface)); in test_vlan_enable()
719 if (*vlan_iface == iface) { in test_vlan_enable()
720 tag = net_eth_get_vlan_tag(*vlan_iface); in test_vlan_enable()
724 net_if_get_by_iface(*vlan_iface)); in test_vlan_enable()