Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/bpf/
H A Dxdp_metadata.h12 #ifndef ETH_P_8021Q
13 #define ETH_P_8021Q 0x8100 macro
/linux/tools/testing/selftests/bpf/progs/
H A 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()
260 bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN); in _tc_progA()
H A Dxdp_hw_metadata.c43 eth->h_proto == bpf_htons(ETH_P_8021Q))) in rx()
46 if (eth + 1 < data_end && eth->h_proto == bpf_htons(ETH_P_8021Q)) in rx()
H A Dbpf_flow.c131 case bpf_htons(ETH_P_8021Q): in parse_eth_proto()
415 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
430 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()
/linux/net/8021q/
H A 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()
H A 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()
H A Dvlan.c227 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device()
271 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()
/linux/net/dsa/
H A Dtag_dsa.c164 if (skb->protocol == htons(ETH_P_8021Q) && in dsa_xmit_ll()
298 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv_ll()
299 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv_ll()
H A Dtag_vsc73xx_8021q.c31 return dsa_8021q_xmit(skb, netdev, ETH_P_8021Q, in vsc73xx_xmit()
H A Dtag_mtk.c39 case htons(ETH_P_8021Q): in mtk_tag_xmit()
H A Dtag_lan9303.c74 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
/linux/samples/bpf/
H A 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()
H A Dxdp_router_ipv4.bpf.c13 #define ETH_P_8021Q 0x8100 macro
92 if (h_proto == bpf_htons(ETH_P_8021Q) || in xdp_router_ipv4_prog()
H A Dsockex2_kern.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
H A Dnet_shared.h10 #define ETH_P_8021Q 0x8100 macro
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vsi_vlan_lib.c26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan()
184 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_stripping()
199 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_insertion()
277 if (vlan->tpid != ETH_P_8021Q) in ice_vsi_set_inner_port_vlan()
429 case ETH_P_8021Q: in tpid_to_vsi_outer_vlan_type()
/linux/include/net/
H A Derspan.h197 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header()
291 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header_v2()
/linux/drivers/net/ethernet/sfc/siena/
H A Dsriov.h36 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/linux/drivers/net/ethernet/sfc/
H A Dsriov.c31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/linux/include/uapi/linux/
H A Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/linux/net/netfilter/
H A Dnf_flow_table_inet.c19 case htons(ETH_P_8021Q): in nf_flow_offload_inet_hook()
H A Dnft_inner.c73 case htons(ETH_P_8021Q): in nft_inner_parse_l2l3()
110 if (llproto == htons(ETH_P_8021Q)) in nft_inner_parse_l2l3()
/linux/net/bridge/netfilter/
H A Debt_vlan.c83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c322 if (match.key->vlan_tpid != cpu_to_be16(ETH_P_8021Q)) in mtk_flow_offload_replace()
353 act->vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace()
454 if (data.vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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()
1273 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
1279 tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP); in stmmac_test_vlanoff_common()

123456789