Home
last modified time | relevance | path

Searched refs:vlan_tag (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/samples/net/sockets/echo_client/src/
Dvlan.c43 uint16_t vlan_tag) in setup_iface() argument
50 ret = net_eth_vlan_enable(eth_iface, vlan_tag); in setup_iface()
52 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
77 LOG_DBG("Interface %p VLAN tag %d setup done.", iface, vlan_tag); in setup_iface()
/Zephyr-latest/samples/net/mdns_responder/src/
Dvlan.c44 uint16_t vlan_tag) in setup_iface() argument
51 ret = net_eth_vlan_enable(eth_iface, vlan_tag); in setup_iface()
53 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
97 LOG_DBG("Interface %p VLAN tag %d setup done.", iface, vlan_tag); in setup_iface()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dvlan.c47 const char *netmask, uint16_t vlan_tag) in setup_iface() argument
54 ret = net_eth_vlan_enable(iface, vlan_tag); in setup_iface()
56 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
100 LOG_DBG("Interface %p VLAN tag %d setup done.", vlan, vlan_tag); in setup_iface()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dvlan.c43 uint16_t vlan_tag) in setup_iface() argument
55 ret = net_eth_vlan_enable(eth_iface, vlan_tag); in setup_iface()
57 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
90 LOG_DBG("Interface %p VLAN tag %d setup done.", iface, vlan_tag); in setup_iface()
/Zephyr-latest/samples/net/vlan/src/
Dmain.c41 const char *netmask, uint16_t vlan_tag) in setup_iface() argument
48 ret = net_eth_vlan_enable(iface, vlan_tag); in setup_iface()
50 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
108 LOG_DBG("Interface %p VLAN tag %d setup done.", vlan, vlan_tag); in setup_iface()
/Zephyr-latest/samples/net/lldp/src/
Dmain.c64 uint16_t vlan_tag) in setup_iface() argument
71 ret = net_eth_vlan_enable(eth_iface, vlan_tag); in setup_iface()
73 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
98 LOG_DBG("Interface %p VLAN tag %d setup done.", iface, vlan_tag); in setup_iface()
/Zephyr-latest/subsys/net/lib/shell/
Dvlan.c26 uint16_t vlan_tag = POINTER_TO_UINT(data->user_data); in iface_vlan_del_cb() local
29 ret = net_eth_vlan_disable(iface, vlan_tag); in iface_vlan_del_cb()
34 vlan_tag, in iface_vlan_del_cb()
42 PR("VLAN tag %d removed from interface %d (%p)\n", vlan_tag, in iface_vlan_del_cb()
/Zephyr-latest/drivers/net/
Dslip.c138 uint16_t vlan_tag) in get_iface() argument
143 iface = net_eth_get_vlan_iface(context->iface, vlan_tag); in get_iface()
150 ARG_UNUSED(vlan_tag); in get_iface()
158 uint16_t vlan_tag = NET_VLAN_TAG_UNSPEC; in process_msg() local
175 vlan_tag = net_pkt_vlan_tag(pkt); in process_msg()
180 if (net_recv_data(get_iface(slip, vlan_tag), pkt) < 0) { in process_msg()
/Zephyr-latest/subsys/net/l2/ethernet/
Dvlan.c117 uint16_t vlan_tag, in get_vlan_ctx() argument
145 if ((vlan_tag == NET_VLAN_TAG_UNSPEC || in get_vlan_ctx()
146 vlan_tag == ctx->tag)) { in get_vlan_ctx()
156 uint16_t vlan_tag) in get_vlan() argument
169 if (vlan_tag == vlan_ctx[i]->tag) { in get_vlan()
183 ctx = get_vlan_ctx(iface, vlan_tag, false); in get_vlan()
195 ctx = get_vlan_ctx(net_virtual_get_iface(iface), vlan_tag, false); in get_vlan()
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/
Dnxp_enet_qos_priv.h73 uint32_t vlan_tag; member