/linux-6.6.21/net/8021q/ |
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()
|
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()
|
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()
|
D | vlan_netlink.c | 64 case htons(ETH_P_8021Q): in vlan_validate() 169 proto = htons(ETH_P_8021Q); in vlan_newlink()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
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()
|
D | bpf_flow.c | 131 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-6.6.21/net/dsa/ |
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()
|
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()
|
D | tag_mtk.c | 39 case htons(ETH_P_8021Q): in mtk_tag_xmit()
|
D | tag_lan9303.c | 74 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
|
/linux-6.6.21/samples/bpf/ |
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()
|
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()
|
D | net_shared.h | 10 #define ETH_P_8021Q 0x8100 macro
|
D | sockex2_kern.c | 114 if (proto == ETH_P_8021Q) { in flow_dissector() 151 if (proto == ETH_P_8021Q) { in flow_dissector()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
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()
|
/linux-6.6.21/include/net/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | sriov.h | 36 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | sriov.c | 31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
/linux-6.6.21/include/uapi/linux/ |
D | if_ether.h | 71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.c | 108 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 137 return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, ingress_ft); in mlx5_esw_bridge_ingress_vlan_fg_create() 170 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 196 return mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create(from, to, ETH_P_8021Q, esw, in mlx5_esw_bridge_ingress_vlan_filter_fg_create() 265 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_egress_vlan_proto_fg_create() 289 return mlx5_esw_bridge_egress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, egress_ft); in mlx5_esw_bridge_egress_vlan_fg_create() 611 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_ingress_flow_with_esw_create() 717 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_ingress_filter_flow_create() 775 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_egress_flow_create() 864 bridge->vlan_proto = ETH_P_8021Q; in mlx5_esw_bridge_create() [all …]
|
/linux-6.6.21/net/batman-adv/ |
D | soft-interface.c | 221 case ETH_P_8021Q: in batadv_interface_tx() 441 case ETH_P_8021Q: in batadv_interface_rx() 634 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid() 681 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
|
/linux-6.6.21/net/netfilter/ |
D | nf_flow_table_inet.c | 19 case htons(ETH_P_8021Q): in nf_flow_offload_inet_hook()
|
D | nft_inner.c | 73 case htons(ETH_P_8021Q): in nft_inner_parse_l2l3() 110 if (llproto == htons(ETH_P_8021Q)) in nft_inner_parse_l2l3()
|
/linux-6.6.21/net/bridge/netfilter/ |
D | ebt_vlan.c | 83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 1080 ETH_P_8021Q | ETH_P_8021AD << 16); in wx_configure_port() 1081 wx->tpid[0] = ETH_P_8021Q; in wx_configure_port() 1085 ETH_P_8021Q | ETH_P_8021Q << 16); in wx_configure_port() 1087 wx->tpid[i] = ETH_P_8021Q; in wx_configure_port() 1427 wx_vlan_rx_add_vid(wx->netdev, htons(ETH_P_8021Q), 0); in wx_restore_vlan() 1430 wx_vlan_rx_add_vid(wx->netdev, htons(ETH_P_8021Q), vid); in wx_restore_vlan()
|