/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_edsa.c | 37 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 D | tag_dsa.c | 25 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 D | tag_lan9303.c | 71 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 98 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
|
H A D | tag_sja1105.c | 80 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 D | vlan_mvrp.c | 38 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 D | vlan_gvrp.c | 32 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 D | vlan.c | 223 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 D | vlan_mvrp.c | 38 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 D | vlan_gvrp.c | 32 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 D | vlan.c | 226 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 D | test_xdp_vlan.c | 70 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 D | test_xdp_vlan.c | 70 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 D | xdp1_kern.c | 60 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 D | xdp2_kern.c | 76 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 D | parse_varlen.c | 126 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 D | sockex2_kern.c | 114 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 D | tag_dsa.c | 164 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 D | tag_ocelot.c | 42 *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 D | parse_varlen.c | 126 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 D | xdp_router_ipv4.bpf.c | 13 #define ETH_P_8021Q 0x8100 macro 92 if (h_proto == bpf_htons(ETH_P_8021Q) || in xdp_router_ipv4_prog()
|
H A D | net_shared.h | 10 #define ETH_P_8021Q 0x8100 macro
|
H A D | sockex2_kern.c | 114 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 D | ice_vsi_vlan_lib.c | 26 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 D | erspan.h | 194 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 D | erspan.h | 197 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()
|