Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/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.c27 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()
Dtag_lan9303.c76 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/
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.c225 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()
Dvlan_netlink.c64 case htons(ETH_P_8021Q): in vlan_validate()
161 proto = htons(ETH_P_8021Q); in vlan_newlink()
Dvlan.h42 case htons(ETH_P_8021Q): in vlan_proto_idx()
/Linux-v5.4/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.4/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.c113 if (proto == ETH_P_8021Q) { in flow_dissector()
150 if (proto == ETH_P_8021Q) { in flow_dissector()
Dxdp_router_ipv4_kern.c129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
/Linux-v5.4/include/net/
Derspan.h179 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/
Dsriov.c31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/Linux-v5.4/include/uapi/linux/
Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/Linux-v5.4/net/batman-adv/
Dsoft-interface.c221 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()
Dmain.c397 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/
Debt_vlan.c83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
/Linux-v5.4/net/sched/
Dact_vlan.c164 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/
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.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c136 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/
Dif_vlan.h303 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()

12345678