| /Linux-v5.10/net/dsa/ |
| D | tag_dsa.c | 25 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit() 107 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv() 108 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
|
| D | tag_edsa.c | 37 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit() 153 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv() 154 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
|
| D | tag_lan9303.c | 80 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 107 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
|
| D | tag_sja1105.c | 80 if (hdr->h_vlan_proto != htons(ETH_P_8021Q) && in sja1105_can_use_vlan_as_tags() 275 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in sja1105_decode_subvlan() 293 is_tagged = (tpid == ETH_P_SJA1105 || tpid == ETH_P_8021Q || in sja1105_rcv()
|
| D | tag_ocelot.c | 253 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
|
| /Linux-v5.10/net/8021q/ |
| D | vlan_gvrp.c | 32 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join() 43 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
|
| D | vlan_mvrp.c | 38 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join() 49 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
|
| D | vlan.c | 229 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device() 273 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device() 390 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 394 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 512 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event() 518 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
|
| D | vlan_netlink.c | 64 case htons(ETH_P_8021Q): in vlan_validate() 165 proto = htons(ETH_P_8021Q); in vlan_newlink()
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | test_xdp_vlan.c | 70 if (eth_type == bpf_htons(ETH_P_8021Q) in parse_eth_frame() 83 if (eth_type == bpf_htons(ETH_P_8021Q) in parse_eth_frame() 273 bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN); in _tc_progA()
|
| D | bpf_flow.c | 130 case bpf_htons(ETH_P_8021Q): in parse_eth_proto() 399 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG() 414 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
|
| /Linux-v5.10/samples/bpf/ |
| D | xdp1_kern.c | 60 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()
|
| D | xdp2_kern.c | 76 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()
|
| D | parse_varlen.c | 126 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()
|
| D | sockex2_kern.c | 114 if (proto == ETH_P_8021Q) { in flow_dissector() 151 if (proto == ETH_P_8021Q) { in flow_dissector()
|
| /Linux-v5.10/include/net/ |
| D | erspan.h | 194 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header() 288 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header_v2()
|
| /Linux-v5.10/drivers/net/ethernet/sfc/ |
| D | sriov.c | 31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
| /Linux-v5.10/include/uapi/linux/ |
| D | if_ether.h | 71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
|
| /Linux-v5.10/net/batman-adv/ |
| D | soft-interface.c | 221 case ETH_P_8021Q: in batadv_interface_tx() 447 case ETH_P_8021Q: in batadv_interface_rx() 669 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid() 727 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
|
| /Linux-v5.10/Documentation/networking/devlink/ |
| D | sja1105.rst | 23 - Allow plain ETH_P_8021Q headers to be used as DSA tags.
|
| /Linux-v5.10/net/bridge/netfilter/ |
| D | ebt_vlan.c | 83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
|
| /Linux-v5.10/drivers/staging/gdm724x/ |
| D | gdm_lte.c | 117 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-v5.10/net/sched/ |
| D | act_vlan.c | 178 case htons(ETH_P_8021Q): in tcf_vlan_init() 189 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
|
| /Linux-v5.10/include/linux/ |
| D | if_vlan.h | 305 case htons(ETH_P_8021Q): in eth_type_vlan() 316 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
|
| /Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_selftests.c | 138 proto[0] = htons(ETH_P_8021Q); in stmmac_test_get_udp_skb() 143 tag[1] = htons(ETH_P_8021Q); in stmmac_test_get_udp_skb() 847 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate() 922 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id); in __stmmac_test_vlanfilt() 958 vlan_vid_del(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id); in __stmmac_test_vlanfilt() 1002 tpriv->pt.type = htons(ETH_P_8021Q); in __stmmac_test_dvlanfilt() 1274 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common() 1280 tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP); in stmmac_test_vlanoff_common()
|