Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/net/dsa/
Dtag_dsa.c25 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()
Dtag_edsa.c37 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()
Dtag_lan9303.c80 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
107 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
Dtag_sja1105.c80 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()
Dtag_ocelot.c253 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
/Linux-v5.10/net/8021q/
Dvlan_gvrp.c32 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()
Dvlan_mvrp.c38 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()
Dvlan.c229 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()
Dvlan_netlink.c64 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/
Dtest_xdp_vlan.c70 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()
Dbpf_flow.c130 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/
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.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
/Linux-v5.10/include/net/
Derspan.h194 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/
Dsriov.c31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/Linux-v5.10/include/uapi/linux/
Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/Linux-v5.10/net/batman-adv/
Dsoft-interface.c221 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/
Dsja1105.rst23 - Allow plain ETH_P_8021Q headers to be used as DSA tags.
/Linux-v5.10/net/bridge/netfilter/
Debt_vlan.c83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/Linux-v5.10/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-v5.10/net/sched/
Dact_vlan.c178 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/
Dif_vlan.h305 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/
Dstmmac_selftests.c138 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()

123456789