Home
last modified time | relevance | path

Searched refs:ETH_P_8021Q (Results 1 - 25 of 458) sorted by relevance

12345678910>>...19

/kernel/linux/linux-5.10/net/dsa/
H A Dtag_edsa.c37 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit()
149 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv()
150 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
H A Dtag_dsa.c25 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit()
102 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv()
103 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
H A Dtag_lan9303.c71 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
98 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
H A 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()
/kernel/linux/linux-5.10/net/8021q/
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_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.c223 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device()
267 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device()
383 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
387 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
505 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
511 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
/kernel/linux/linux-6.6/net/8021q/
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_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.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()
385 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
389 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
507 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
513 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event()
/kernel/linux/linux-5.10/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()
273 bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN); in _tc_progA()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/samples/bpf/
H A 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()
H A 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()
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 Dsockex2_kern.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
/kernel/linux/linux-6.6/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_ocelot.c42 *tag_type = (proto != ETH_P_8021Q) ? IFH_TAG_TYPE_S : IFH_TAG_TYPE_C; in ocelot_xmit_get_vlan_info()
174 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
/kernel/linux/linux-6.6/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 Dnet_shared.h10 #define ETH_P_8021Q 0x8100 macro
H A Dsockex2_kern.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
/kernel/linux/linux-6.6/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()
183 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_stripping()
198 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_insertion()
276 if (vlan->tpid != ETH_P_8021Q) in ice_vsi_set_inner_port_vlan()
428 case ETH_P_8021Q: in tpid_to_vsi_outer_vlan_type()
/kernel/linux/linux-5.10/include/net/
H 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()
/kernel/linux/linux-6.6/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()

Completed in 10 milliseconds

12345678910>>...19