/linux/tools/testing/selftests/bpf/progs/ |
A 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()
|
A D | bpf_flow.c | 129 case bpf_htons(ETH_P_8021Q): in parse_eth_proto() 400 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG() 415 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
|
/linux/net/8021q/ |
A 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()
|
A 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()
|
A D | vlan.c | 226 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device() 270 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()
|
A D | vlan_netlink.c | 64 case htons(ETH_P_8021Q): in vlan_validate() 165 proto = htons(ETH_P_8021Q); in vlan_newlink()
|
/linux/net/dsa/ |
A D | tag_dsa.c | 151 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit_ll() 283 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv_ll() 284 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv_ll()
|
A D | tag_lan9303.c | 72 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 92 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
|
A D | tag_ocelot.c | 38 *tag_type = (proto != ETH_P_8021Q) ? IFH_TAG_TYPE_S : IFH_TAG_TYPE_C; in ocelot_xmit_get_vlan_info() 170 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
|
A D | tag_mtk.c | 35 case htons(ETH_P_8021Q): in mtk_tag_xmit()
|
A D | tag_ocelot_8021q.c | 50 return dsa_8021q_xmit(skb, netdev, ETH_P_8021Q, in ocelot_xmit()
|
/linux/samples/bpf/ |
A D | xdp1_kern.c | 61 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1() 71 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
|
A D | xdp2_kern.c | 77 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1() 87 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
|
A 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()
|
A D | sockex2_kern.c | 114 if (proto == ETH_P_8021Q) { in flow_dissector() 151 if (proto == ETH_P_8021Q) { in flow_dissector()
|
A D | xdp_sample.bpf.h | 14 #define ETH_P_8021Q 0x8100 macro
|
/linux/include/net/ |
A 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/net/batman-adv/ |
A D | soft-interface.c | 220 case ETH_P_8021Q: in batadv_interface_tx() 440 case ETH_P_8021Q: in batadv_interface_rx() 633 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid() 680 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
|
/linux/drivers/net/ethernet/sfc/ |
A D | sriov.c | 31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
/linux/include/uapi/linux/ |
A D | if_ether.h | 71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A 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()
|
/linux/net/bridge/netfilter/ |
A D | ebt_vlan.c | 83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
|
/linux/drivers/staging/gdm724x/ |
A 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() 636 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q); in gdm_lte_netif_rx()
|
/linux/net/sched/ |
A D | act_vlan.c | 179 case htons(ETH_P_8021Q): in tcf_vlan_init() 190 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
|
/linux/include/linux/ |
A 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()
|