Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/bpf/progs/
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()
273 bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN); in _tc_progA()
A Dbpf_flow.c129 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 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()
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()
A Dvlan.c226 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 Dvlan_netlink.c64 case htons(ETH_P_8021Q): in vlan_validate()
165 proto = htons(ETH_P_8021Q); in vlan_newlink()
/linux/net/dsa/
A Dtag_dsa.c151 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 Dtag_lan9303.c72 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
92 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
A Dtag_ocelot.c38 *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 Dtag_mtk.c35 case htons(ETH_P_8021Q): in mtk_tag_xmit()
A Dtag_ocelot_8021q.c50 return dsa_8021q_xmit(skb, netdev, ETH_P_8021Q, in ocelot_xmit()
/linux/samples/bpf/
A Dxdp1_kern.c61 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 Dxdp2_kern.c77 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 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()
A Dsockex2_kern.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
A Dxdp_sample.bpf.h14 #define ETH_P_8021Q 0x8100 macro
/linux/include/net/
A 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/net/batman-adv/
A Dsoft-interface.c220 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 Dsriov.c31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/linux/include/uapi/linux/
A Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/linux/drivers/net/ethernet/stmicro/stmmac/
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()
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 Debt_vlan.c83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/linux/drivers/staging/gdm724x/
A 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()
636 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q); in gdm_lte_netif_rx()
/linux/net/sched/
A Dact_vlan.c179 case htons(ETH_P_8021Q): in tcf_vlan_init()
190 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
/linux/include/linux/
A 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()

Completed in 40 milliseconds

123456789