Home
last modified time | relevance | path

Searched refs:ETH_P_8021Q (Results 1 – 25 of 183) sorted by relevance

12345678

/Linux-v4.19/net/dsa/
Dtag_dsa.c29 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit()
111 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv()
112 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
Dtag_edsa.c31 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit()
124 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv()
125 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
Dtag_lan9303.c85 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
115 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
/Linux-v4.19/net/8021q/
Dvlan_gvrp.c35 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join()
46 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
Dvlan_mvrp.c41 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join()
52 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
Dvlan.c222 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device()
266 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device()
381 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
385 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
500 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
506 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
720 .type = cpu_to_be16(ETH_P_8021Q),
Dvlan_netlink.c67 case htons(ETH_P_8021Q): in vlan_validate()
163 proto = htons(ETH_P_8021Q); in vlan_newlink()
Dvlan.h42 case htons(ETH_P_8021Q): in vlan_proto_idx()
/Linux-v4.19/samples/bpf/
Dxdp1_kern.c60 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
69 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
Dxdp2_kern.c76 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
85 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
Dparse_varlen.c126 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress()
135 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress()
Dsockex2_kern.c112 if (proto == ETH_P_8021Q) { in flow_dissector()
149 if (proto == ETH_P_8021Q) { in flow_dissector()
Dxdp_router_ipv4_kern.c129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
/Linux-v4.19/include/net/
Derspan.h179 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header()
273 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header_v2()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dsriov.c34 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/Linux-v4.19/include/uapi/linux/
Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/Linux-v4.19/net/sched/
Dact_vlan.c163 case htons(ETH_P_8021Q): in tcf_vlan_init()
174 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
/Linux-v4.19/net/bridge/netfilter/
Debt_vlan.c95 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/Linux-v4.19/net/batman-adv/
Dsoft-interface.c227 case ETH_P_8021Q: in batadv_interface_tx()
445 case ETH_P_8021Q: in batadv_interface_rx()
667 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid()
725 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
Dmain.c386 case htons(ETH_P_8021Q): in batadv_skb_set_priority()
639 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.c117 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_arp()
238 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_ndp()
351 if (ntohs(eth->h_proto) == ETH_P_8021Q) { in gdm_lte_tx_nic_type()
634 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q); in gdm_lte_netif_rx()
/Linux-v4.19/include/linux/
Dif_vlan.h308 case htons(ETH_P_8021Q): in eth_type_vlan()
319 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
/Linux-v4.19/net/bridge/
Dbr_netfilter_hooks.c86 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
169 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()
252 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
456 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
Dbr_vlan.c702 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr()
715 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
811 if (val != ETH_P_8021Q && val != ETH_P_8021AD) in br_vlan_set_proto()
994 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c51 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); in dwmac100_core_init()

12345678