Home
last modified time | relevance | path

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

12345678910

/Linux-v6.1/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.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()
Dvlan_netlink.c64 case htons(ETH_P_8021Q): in vlan_validate()
165 proto = htons(ETH_P_8021Q); in vlan_newlink()
/Linux-v6.1/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.c131 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-v6.1/samples/bpf/
Dxdp1_kern.c66 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
76 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
Dxdp2_kern.c82 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
92 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()
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()
Dsockex2_kern.c114 if (proto == ETH_P_8021Q) { in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
/Linux-v6.1/net/dsa/
Dtag_dsa.c161 if (skb->protocol == htons(ETH_P_8021Q) && in dsa_xmit_ll()
295 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv_ll()
296 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv_ll()
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()
Dtag_mtk.c35 case htons(ETH_P_8021Q): in mtk_tag_xmit()
Dtag_lan9303.c72 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan()
177 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_stripping()
192 if (tpid != ETH_P_8021Q) { in ice_vsi_ena_inner_insertion()
251 if (vlan->tpid != ETH_P_8021Q) in ice_vsi_set_inner_port_vlan()
376 case ETH_P_8021Q: in tpid_to_vsi_outer_vlan_type()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan.c66 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q); in parse_tc_vlan_action()
79 (act->vlan.proto != htons(ETH_P_8021Q) || in parse_tc_vlan_action()
/Linux-v6.1/include/net/
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()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c193 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
222 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()
255 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
281 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()
350 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_egress_vlan_proto_fg_create()
374 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()
696 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_ingress_flow_with_esw_create()
789 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_ingress_filter_flow_create()
847 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_egress_flow_create()
932 bridge->vlan_proto = ETH_P_8021Q; in mlx5_esw_bridge_create()
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dsriov.h36 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/Linux-v6.1/drivers/net/ethernet/sfc/
Dsriov.c31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/Linux-v6.1/include/uapi/linux/
Dif_ether.h71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/Linux-v6.1/net/batman-adv/
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-v6.1/net/netfilter/
Dnf_flow_table_inet.c19 case htons(ETH_P_8021Q): in nf_flow_offload_inet_hook()
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c294 if (match.key->vlan_tpid != cpu_to_be16(ETH_P_8021Q)) in mtk_flow_offload_replace()
325 act->vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace()
426 if (data.vlan.proto != htons(ETH_P_8021Q)) in mtk_flow_offload_replace()

12345678910