| /Linux-v5.4/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 | 27 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit() 120 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv() 121 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
|
| D | tag_lan9303.c | 76 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 106 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
|
| /Linux-v5.4/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 | 225 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device() 269 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device() 386 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 390 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 508 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event() 514 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() 161 proto = htons(ETH_P_8021Q); in vlan_newlink()
|
| D | vlan.h | 42 case htons(ETH_P_8021Q): in vlan_proto_idx()
|
| /Linux-v5.4/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.4/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 | 113 if (proto == ETH_P_8021Q) { in flow_dissector() 150 if (proto == ETH_P_8021Q) { in flow_dissector()
|
| D | xdp_router_ipv4_kern.c | 129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
|
| /Linux-v5.4/include/net/ |
| D | erspan.h | 179 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-v5.4/drivers/net/ethernet/sfc/ |
| D | sriov.c | 31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | if_ether.h | 71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
|
| /Linux-v5.4/net/batman-adv/ |
| D | soft-interface.c | 221 case ETH_P_8021Q: in batadv_interface_tx() 448 case ETH_P_8021Q: in batadv_interface_rx() 670 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid() 728 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
|
| D | main.c | 397 case htons(ETH_P_8021Q): in batadv_skb_set_priority() 650 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
|
| /Linux-v5.4/net/bridge/netfilter/ |
| D | ebt_vlan.c | 83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
|
| /Linux-v5.4/net/sched/ |
| D | act_vlan.c | 164 case htons(ETH_P_8021Q): in tcf_vlan_init() 175 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
|
| /Linux-v5.4/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.4/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_selftests.c | 136 proto[0] = htons(ETH_P_8021Q); in stmmac_test_get_udp_skb() 141 tag[1] = htons(ETH_P_8021Q); in stmmac_test_get_udp_skb() 837 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate() 911 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id); in stmmac_test_vlanfilt() 948 vlan_vid_del(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id); in stmmac_test_vlanfilt() 973 tpriv->pt.type = htons(ETH_P_8021Q); in stmmac_test_dvlanfilt() 1224 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common() 1230 tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP); in stmmac_test_vlanoff_common()
|
| /Linux-v5.4/include/linux/ |
| D | if_vlan.h | 303 case htons(ETH_P_8021Q): in eth_type_vlan() 314 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
|