drivers/net/bonding/bond_alb.c
920
__be16 vlan_proto, u16 vid)
drivers/net/bonding/bond_alb.c
947
__vlan_hwaccel_put_tag(skb, vlan_proto, vid);
drivers/net/bonding/bond_alb.c
991
tags[0].vlan_proto, tags[0].vlan_id);
drivers/net/bonding/bond_main.c
2963
if (!tags || tags->vlan_proto == BOND_VLAN_PROTO_NONE)
drivers/net/bonding/bond_main.c
2969
while (tags->vlan_proto != BOND_VLAN_PROTO_NONE) {
drivers/net/bonding/bond_main.c
2976
ntohs(outer_tag->vlan_proto), tags->vlan_id);
drivers/net/bonding/bond_main.c
2977
skb = vlan_insert_tag_set_proto(skb, tags->vlan_proto,
drivers/net/bonding/bond_main.c
2989
ntohs(outer_tag->vlan_proto), outer_tag->vlan_id);
drivers/net/bonding/bond_main.c
2990
__vlan_hwaccel_put_tag(skb, outer_tag->vlan_proto,
drivers/net/bonding/bond_main.c
3045
tags[level].vlan_proto = BOND_VLAN_PROTO_NONE;
drivers/net/bonding/bond_main.c
3057
tags[level].vlan_proto = vlan_dev_vlan_proto(upper);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
1482
if (skb->vlan_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
329
u32 vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
333
vlan_proto = ETH_P_8021AD;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
334
tpa_info->metadata = vlan_proto << 16 |
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
682
__be16 vlan_proto = htons(tpa_info->metadata >>
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
686
if (eth_type_vlan(vlan_proto)) {
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
687
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
729
__be16 vlan_proto;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
741
vlan_proto =
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
743
if (eth_type_vlan(vlan_proto))
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
744
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
752
vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
754
vlan_proto = htons(ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
758
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
498
__be16 vlan_proto);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
2803
__be16 vlan_proto)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
2818
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1528
u32 vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1532
vlan_proto = ETH_P_8021AD;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1533
tpa_info->metadata = vlan_proto << 16 |
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1971
__be16 vlan_proto = htons(tpa_info->metadata >>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1975
if (eth_type_vlan(vlan_proto)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1976
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2042
__be16 vlan_proto;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2054
vlan_proto = htons(meta_data >> RX_CMP_FLAGS2_METADATA_TPID_SFT);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2055
if (eth_type_vlan(vlan_proto))
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2056
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2064
vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2066
vlan_proto = htons(ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2070
__vlan_hwaccel_put_tag(skb, vlan_proto, vtag);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
538
if (skb->vlan_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
246
__be16 vlan_proto)
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
257
if (vlan_proto != htons(ETH_P_8021Q) &&
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
258
(vlan_proto != htons(ETH_P_8021AD) ||
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
282
req->tpid = vlan_proto;
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
1268
l2_info->inner_vlan_tpid = vlan->vlan_proto;
drivers/net/ethernet/cavium/liquidio/lio_main.c
2910
u16 vlan, u8 qos, __be16 vlan_proto)
drivers/net/ethernet/cavium/liquidio/lio_main.c
2921
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3380
u16 vlan, u8 qos, __be16 vlan_proto)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3389
if (vlan_proto != htons(ETH_P_8021Q) || qos != 0)
drivers/net/ethernet/emulex/benet/be_main.c
1977
__be16 vlan_proto)
drivers/net/ethernet/emulex/benet/be_main.c
1989
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
2421
__be16 vlan_proto, u16 vid)
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
2440
__be16 vlan_proto, u16 vid)
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2064
__be16 vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2067
vlan_proto = vlan_dev_vlan_proto(vdev);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2069
return dpaa2_switch_port_vlan_kill(arg, vlan_proto, vid);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2074
__be16 vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2077
vlan_proto = vlan_dev_vlan_proto(vdev);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2079
return dpaa2_switch_port_vlan_add(arg, vlan_proto, vid);
drivers/net/ethernet/fungible/funeth/funeth.h
36
__be16 vlan_proto;
drivers/net/ethernet/fungible/funeth/funeth_main.c
1229
__be16 vlan_proto)
drivers/net/ethernet/fungible/funeth/funeth_main.c
1240
if (vlan_proto && vlan_proto != htons(ETH_P_8021Q) &&
drivers/net/ethernet/fungible/funeth/funeth_main.c
1241
vlan_proto != htons(ETH_P_8021AD))
drivers/net/ethernet/fungible/funeth/funeth_main.c
1249
vlan_param.u.vlan = FUN_ADI_VLAN_INIT(be16_to_cpu(vlan_proto),
drivers/net/ethernet/fungible/funeth/funeth_main.c
1255
vi->vlan_proto = vlan_proto;
drivers/net/ethernet/fungible/funeth/funeth_main.c
1306
ivi->vlan_proto = vi->vlan_proto;
drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
197
__le16 vlan_proto;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2752
u8 qos, __be16 vlan_proto)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2759
vf, vlan, qos, ntohs(vlan_proto));
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2763
qos, vlan_proto);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10209
u16 vlan_proto;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10223
vlan_proto = vlan_info->vlan_proto;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10228
ret = hclge_set_vlan_filter_hw(hdev, htons(vlan_proto),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10346
htons(new_info->vlan_proto),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10359
ret = hclge_set_vlan_filter_hw(hdev, htons(old_info->vlan_proto),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10388
ret = hclge_set_vlan_filter_hw(hdev, htons(new_info->vlan_proto),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10504
vlan_info.vlan_proto = ntohs(proto);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12750
vlan_info.vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3540
ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1030
u16 vlan_proto; /* so far support 802.1Q only */
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
427
base_vlan.vlan_proto = cpu_to_le16(vlan_info->vlan_proto);
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
789
__be16 vlan_proto)
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
798
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/huawei/hinic/hinic_sriov.h
82
__be16 vlan_proto);
drivers/net/ethernet/intel/fm10k/fm10k.h
535
int vf_idx, u16 vid, u8 qos, __be16 vlan_proto);
drivers/net/ethernet/intel/fm10k/fm10k_iov.c
591
u8 qos, __be16 vlan_proto)
drivers/net/ethernet/intel/fm10k/fm10k_iov.c
607
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4530
u16 vlan_id, u8 qos, __be16 vlan_proto)
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4556
if (vlan_proto != htons(ETH_P_8021Q)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h
140
u16 vlan_id, u8 qos, __be16 vlan_proto);
drivers/net/ethernet/intel/ice/ice_main.c
6343
vsi->rx_rings[i]->pkt_ctx.vlan_proto = vlan_ethertype;
drivers/net/ethernet/intel/ice/ice_sriov.c
1272
ivi->vlan_proto = cpu_to_be16(ice_vf_get_port_vlan_tpid(vf));
drivers/net/ethernet/intel/ice/ice_sriov.c
1651
ice_is_supported_port_vlan_proto(struct ice_hw *hw, u16 vlan_proto)
drivers/net/ethernet/intel/ice/ice_sriov.c
1655
switch (vlan_proto) {
drivers/net/ethernet/intel/ice/ice_sriov.c
1680
__be16 vlan_proto)
drivers/net/ethernet/intel/ice/ice_sriov.c
1683
u16 local_vlan_proto = ntohs(vlan_proto);
drivers/net/ethernet/intel/ice/ice_sriov.h
41
__be16 vlan_proto);
drivers/net/ethernet/intel/ice/ice_txrx.h
217
__be16 vlan_proto;
drivers/net/ethernet/intel/ice/ice_txrx.h
317
__be16 vlan_proto;
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
257
if ((vlan_tci & VLAN_VID_MASK) && rx_ring->vlan_proto)
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
258
__vlan_hwaccel_put_tag(skb, rx_ring->vlan_proto,
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
578
static int ice_xdp_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto,
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
586
*vlan_proto = rx_ring->pkt_ctx.vlan_proto;
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
587
if (!*vlan_proto)
drivers/net/ethernet/intel/igb/igb_main.c
160
int vf, u16 vlan, u8 qos, __be16 vlan_proto);
drivers/net/ethernet/intel/igb/igb_main.c
7609
u16 vlan, u8 qos, __be16 vlan_proto)
drivers/net/ethernet/intel/igb/igb_main.c
7616
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
1654
u8 qos, __be16 vlan_proto)
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
1661
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h
25
u8 qos, __be16 vlan_proto);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1080
if (skb->vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1089
} else if (skb->vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
761
if (skb->vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
765
} else if (skb->vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx4/cmd.c
1856
vp_oper->state.vlan_proto == vp_admin->vlan_proto &&
drivers/net/ethernet/mellanox/mlx4/cmd.c
1915
vp_oper->state.vlan_proto = vp_admin->vlan_proto;
drivers/net/ethernet/mellanox/mlx4/cmd.c
1929
work->vlan_proto = vp_oper->state.vlan_proto;
drivers/net/ethernet/mellanox/mlx4/cmd.c
2011
if (vp_admin->vlan_proto != htons(ETH_P_8021AD) ||
drivers/net/ethernet/mellanox/mlx4/cmd.c
2013
vp_oper->state.vlan_proto = vp_admin->vlan_proto;
drivers/net/ethernet/mellanox/mlx4/cmd.c
2030
vp_oper->state.vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
2421
admin_vport->vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
2422
oper_vport->vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
3051
vf_admin->vlan_proto = proto;
drivers/net/ethernet/mellanox/mlx4/cmd.c
3064
vf_oper->state.vlan_proto != proto) ||
drivers/net/ethernet/mellanox/mlx4/cmd.c
3217
ivf->vlan_proto = s_info->vlan_proto;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
2567
__be16 vlan_proto)
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
2573
vlan_proto);
drivers/net/ethernet/mellanox/mlx4/en_tx.c
906
u16 vlan_proto;
drivers/net/ethernet/mellanox/mlx4/en_tx.c
909
vlan_proto = be16_to_cpu(skb->vlan_proto);
drivers/net/ethernet/mellanox/mlx4/en_tx.c
910
if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx4/en_tx.c
912
else if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx4/fw.c
283
vp_oper->state.vlan_proto = vp_admin->vlan_proto;
drivers/net/ethernet/mellanox/mlx4/fw.c
301
if ((vp_admin->vlan_proto != htons(ETH_P_8021AD)) ||
drivers/net/ethernet/mellanox/mlx4/fw.c
305
if (vp_oper->state.vlan_proto == vp_admin->vlan_proto &&
drivers/net/ethernet/mellanox/mlx4/fw.c
312
vp_admin->vlan_proto = vp_oper->state.vlan_proto;
drivers/net/ethernet/mellanox/mlx4/fw.c
446
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/mlx4.h
513
__be16 vlan_proto;
drivers/net/ethernet/mellanox/mlx4/mlx4.h
665
__be16 vlan_proto;
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
5319
else if (work->vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
5370
if (work->vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
799
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
824
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c
62
attr->vlan_proto[vlan_idx] = act->vlan.proto;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c
63
if (!attr->vlan_proto[vlan_idx])
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c
64
attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
259
static int mlx5e_xdp_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto,
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
268
*vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4859
__be16 vlan_proto)
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4864
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
111
vhdr->h_vlan_proto = skb->vlan_proto;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1025
mlx5_esw_bridge_vlan_push_create(u16 vlan_proto, struct mlx5_esw_bridge_vlan *vlan,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1031
} vlan_hdr = { htons(vlan_proto), htons(vlan->vid) };
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
109
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
111
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1124
mlx5_esw_bridge_vlan_push_pop_fhs_create(u16 vlan_proto, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1127
return mlx5_esw_bridge_vlan_mcast_init(vlan_proto, port, vlan);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1137
mlx5_esw_bridge_vlan_push_pop_create(u16 vlan_proto, u16 flags, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1143
err = mlx5_esw_bridge_vlan_push_create(vlan_proto, vlan, esw);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1157
err = mlx5_esw_bridge_vlan_push_pop_fhs_create(vlan_proto, port, vlan);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1176
mlx5_esw_bridge_vlan_create(u16 vlan_proto, u16 vid, u16 flags, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1190
err = mlx5_esw_bridge_vlan_push_pop_create(vlan_proto, flags, port, vlan, esw);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
126
vlan_proto, fg);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1272
err = mlx5_esw_bridge_vlan_push_pop_create(bridge->vlan_proto, vlan->flags, port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1277
vlan->vid, bridge->vlan_proto, port->vport_num,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1500
if (bridge->vlan_proto == proto)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1509
bridge->vlan_proto = proto;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
154
u16 vlan_proto, struct mlx5_eswitch *esw,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1707
vlan = mlx5_esw_bridge_vlan_create(port->bridge->vlan_proto, vid, flags, port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
171
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
173
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
249
mlx5_esw_bridge_egress_vlan_proto_fg_create(unsigned int from, unsigned int to, u16 vlan_proto,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
266
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
268
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
613
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
618
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
721
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
726
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
779
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
784
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
868
bridge->vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
91
mlx5_esw_bridge_ingress_vlan_proto_fg_create(unsigned int from, unsigned int to, u16 vlan_proto,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
367
mlx5_esw_bridge_mcast_vlan_proto_fg_create(unsigned int from, unsigned int to, u16 vlan_proto,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
382
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
384
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
396
vlan_proto, fg);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
572
mlx5_esw_bridge_mcast_vlan_flow_create(u16 vlan_proto, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
597
if (vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
602
} else if (vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
621
int mlx5_esw_bridge_vlan_mcast_init(u16 vlan_proto, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
629
handle = mlx5_esw_bridge_mcast_vlan_flow_create(vlan_proto, port, vlan);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
695
err = mlx5_esw_bridge_vlan_mcast_init(port->bridge->vlan_proto, port, vlan);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
94
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
99
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h
220
u16 vlan_proto;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h
229
int mlx5_esw_bridge_vlan_mcast_init(u16 vlan_proto, struct mlx5_esw_bridge_port *port,
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
550
__be16 vlan_proto[MLX5_FS_VLAN_DEPTH];
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
690
flow_act.vlan[0].ethtype = ntohs(esw_attr->vlan_proto[0]);
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
694
flow_act.vlan[1].ethtype = ntohs(esw_attr->vlan_proto[1]);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
993
u16 vlan_proto)
drivers/net/ethernet/netronome/nfp/nfd3/dp.c
226
memcpy(data, &skb->vlan_proto, sizeof(skb->vlan_proto));
drivers/net/ethernet/netronome/nfp/nfd3/dp.c
227
put_unaligned_be16(skb_vlan_tag_get(skb), data + sizeof(skb->vlan_proto));
drivers/net/ethernet/netronome/nfp/nfdk/dp.c
220
memcpy(data, &skb->vlan_proto, sizeof(skb->vlan_proto));
drivers/net/ethernet/netronome/nfp/nfdk/dp.c
221
put_unaligned_be16(skb_vlan_tag_get(skb), data + sizeof(skb->vlan_proto));
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
110
if (!eth_type_vlan(vlan_proto))
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
124
if (vlan_proto != htons(ETH_P_8021Q)) {
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
139
vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto));
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
291
ivi->vlan_proto = htons(FIELD_GET(NFP_NET_VF_CFG_VLAN_PROT, vlan_tag));
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
97
__be16 vlan_proto)
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.h
61
__be16 vlan_proto);
drivers/net/ethernet/qlogic/qede/qede_main.c
119
__be16 vlan_proto)
drivers/net/ethernet/qlogic/qede/qede_main.c
128
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1913
u16 vlan, u8 qos, __be16 vlan_proto)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1926
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/mae.c
1319
act->vlan_proto[0]);
drivers/net/ethernet/sfc/mae.c
1325
act->vlan_proto[1]);
drivers/net/ethernet/sfc/mae.c
1586
match->value.vlan_proto[0]);
drivers/net/ethernet/sfc/mae.c
1588
match->mask.vlan_proto[0]);
drivers/net/ethernet/sfc/mae.c
1594
match->value.vlan_proto[1]);
drivers/net/ethernet/sfc/mae.c
1596
match->mask.vlan_proto[1]);
drivers/net/ethernet/sfc/mae.c
2134
match->value.vlan_proto[0]);
drivers/net/ethernet/sfc/mae.c
2136
match->mask.vlan_proto[0]);
drivers/net/ethernet/sfc/mae.c
2142
match->value.vlan_proto[1]);
drivers/net/ethernet/sfc/mae.c
2144
match->mask.vlan_proto[1]);
drivers/net/ethernet/sfc/mae.c
668
CHECK(VLAN0_PROTO, vlan_proto[0]) ||
drivers/net/ethernet/sfc/mae.c
670
CHECK(VLAN1_PROTO, vlan_proto[1]) ||
drivers/net/ethernet/sfc/mae.c
763
CHECK(ENC_VLAN0_PROTO, vlan_proto[0]) ||
drivers/net/ethernet/sfc/mae.c
765
CHECK(ENC_VLAN1_PROTO, vlan_proto[1]) ||
drivers/net/ethernet/sfc/siena/sriov.h
27
u8 qos, __be16 vlan_proto)
drivers/net/ethernet/sfc/siena/sriov.h
36
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/sriov.c
22
u8 qos, __be16 vlan_proto)
drivers/net/ethernet/sfc/sriov.c
31
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/sriov.h
16
u8 qos, __be16 vlan_proto);
drivers/net/ethernet/sfc/tc.c
2412
act->vlan_proto[act->vlan_push] = fa->vlan.proto;
drivers/net/ethernet/sfc/tc.c
326
match->value.vlan_proto[0] = fm.key->vlan_tpid;
drivers/net/ethernet/sfc/tc.c
327
match->mask.vlan_proto[0] = fm.mask->vlan_tpid;
drivers/net/ethernet/sfc/tc.c
340
match->value.vlan_proto[1] = fm.key->vlan_tpid;
drivers/net/ethernet/sfc/tc.c
341
match->mask.vlan_proto[1] = fm.mask->vlan_tpid;
drivers/net/ethernet/sfc/tc.c
950
match->mask.vlan_proto[0] || match->mask.vlan_proto[1] ||
drivers/net/ethernet/sfc/tc.h
76
__be16 vlan_proto[2];
drivers/net/ethernet/sfc/tc.h
95
__be16 vlan_tci[2], vlan_proto[2];
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4915
__be16 vlan_proto = veth->h_vlan_proto;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4918
if ((vlan_proto == htons(ETH_P_8021Q) &&
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4920
(vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4926
__vlan_hwaccel_put_tag(skb, vlan_proto, vlanid);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
858
if (skb->vlan_proto != htons(proto))
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1426
if (skb->vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1564
if (skb->vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.c
282
common.port.src ^= th->dest ^ first->skb->vlan_proto;
drivers/net/netdevsim/netdev.c
225
u16 vlan, u8 qos, __be16 vlan_proto)
drivers/net/netdevsim/netdev.c
235
nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto;
drivers/net/netdevsim/netdev.c
309
ivi->vlan_proto = nsim_dev->vfconfigs[vf].vlan_proto;
drivers/net/netdevsim/netdevsim.h
300
__be16 vlan_proto;
drivers/net/tap.c
734
veth.h_vlan_proto = skb->vlan_proto;
drivers/net/tun.c
2091
veth.h_vlan_proto = skb->vlan_proto;
drivers/net/veth.c
1682
static int veth_xdp_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto,
drivers/net/veth.c
1696
*vlan_proto = skb->vlan_proto;
include/linux/if_link.h
31
__be16 vlan_proto;
include/linux/if_vlan.h
137
__be16 vlan_proto, u16 vlan_id);
include/linux/if_vlan.h
182
__be16 vlan_proto;
include/linux/if_vlan.h
247
__be16 vlan_proto, u16 vlan_id)
include/linux/if_vlan.h
355
__be16 vlan_proto, u16 vlan_tci,
include/linux/if_vlan.h
379
veth->h_vlan_proto = vlan_proto;
include/linux/if_vlan.h
405
__be16 vlan_proto, u16 vlan_tci)
include/linux/if_vlan.h
407
return __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, ETH_HLEN);
include/linux/if_vlan.h
428
__be16 vlan_proto,
include/linux/if_vlan.h
434
err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len);
include/linux/if_vlan.h
459
__be16 vlan_proto, u16 vlan_tci)
include/linux/if_vlan.h
461
return vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, ETH_HLEN);
include/linux/if_vlan.h
479
__be16 vlan_proto,
include/linux/if_vlan.h
482
skb = vlan_insert_tag(skb, vlan_proto, vlan_tci);
include/linux/if_vlan.h
484
skb->protocol = vlan_proto;
include/linux/if_vlan.h
522
skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto,
include/linux/if_vlan.h
538
__be16 vlan_proto, u16 vlan_tci)
include/linux/if_vlan.h
540
skb->vlan_proto = vlan_proto;
include/linux/if_vlan.h
682
return skb_vlan_tag_present(skb) ? skb->vlan_proto : skb->protocol;
include/linux/netdevice.h
914
__be16 vlan_proto;
include/linux/netfilter_bridge.h
12
__be16 vlan_proto;
include/linux/skbuff.h
1052
__be16 vlan_proto;
include/linux/skbuff.h
4258
int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
include/net/bonding.h
281
__be16 vlan_proto;
include/net/xdp.h
650
int (*xmo_rx_vlan_tag)(const struct xdp_md *ctx, __be16 *vlan_proto,
include/trace/events/net.h
191
__field( u16, vlan_proto )
include/trace/events/net.h
218
__entry->vlan_proto = ntohs(skb->vlan_proto);
include/trace/events/net.h
237
__entry->skbaddr, __entry->vlan_tagged, __entry->vlan_proto,
include/trace/events/net.h
25
__field( u16, vlan_proto )
include/trace/events/net.h
46
__entry->vlan_proto = ntohs(skb->vlan_proto);
include/trace/events/net.h
66
__entry->vlan_tagged, __entry->vlan_proto, __entry->vlan_tci,
include/uapi/linux/bpf.h
6345
__u32 vlan_proto;
include/uapi/linux/if_link.h
1636
__be16 vlan_proto; /* VLAN protocol either 802.1Q or 802.1ad */
lib/test_bpf.c
14754
skb->vlan_proto = htons(ETH_P_IP);
net/8021q/vlan.c
110
vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL);
net/8021q/vlan.c
124
vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id);
net/8021q/vlan.c
157
err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id);
net/8021q/vlan.c
175
err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id);
net/8021q/vlan.c
193
vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev);
net/8021q/vlan.c
209
vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id);
net/8021q/vlan.c
272
vlan->vlan_proto = htons(ETH_P_8021Q);
net/8021q/vlan.c
326
if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto))
net/8021q/vlan.c
50
__be16 vlan_proto, u16 vlan_id)
net/8021q/vlan.c
59
pidx = vlan_proto_idx(vlan_proto);
net/8021q/vlan.h
102
vlan_proto, vlan_id);
net/8021q/vlan.h
69
__be16 vlan_proto,
net/8021q/vlan.h
72
int pidx = vlan_proto_idx(vlan_proto);
net/8021q/vlan.h
81
__be16 vlan_proto, u16 vlan_id,
net/8021q/vlan.h
84
int pidx = vlan_proto_idx(vlan_proto);
net/8021q/vlan.h
96
__be16 vlan_proto, u16 vlan_id)
net/8021q/vlan_core.c
121
return vlan_dev_priv(dev)->vlan_proto;
net/8021q/vlan_core.c
13
__be16 vlan_proto = skb->vlan_proto;
net/8021q/vlan_core.c
18
vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id);
net/8021q/vlan_core.c
52
skb = *skbp = vlan_insert_inner_tag(skb, skb->vlan_proto,
net/8021q/vlan_core.c
77
__be16 vlan_proto, u16 vlan_id)
net/8021q/vlan_core.c
83
vlan_proto, vlan_id);
net/8021q/vlan_core.c
95
vlan_proto, vlan_id);
net/8021q/vlan_dev.c
114
veth->h_vlan_proto != vlan->vlan_proto) {
net/8021q/vlan_dev.c
118
__vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci);
net/8021q/vlan_dev.c
575
if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) {
net/8021q/vlan_dev.c
73
skb->protocol = vlan->vlan_proto;
net/8021q/vlan_dev.c
74
type = ntohs(vlan->vlan_proto);
net/8021q/vlan_dev.c
755
path->encap.proto = vlan->vlan_proto;
net/8021q/vlan_dev.c
762
ctx->vlan[ctx->num_vlans].proto = vlan->vlan_proto;
net/8021q/vlan_gvrp.c
32
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_gvrp.c
43
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_mvrp.c
38
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_mvrp.c
49
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_netlink.c
170
vlan->vlan_proto = proto;
net/8021q/vlan_netlink.c
176
err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id,
net/8021q/vlan_netlink.c
230
if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) ||
net/bridge/br_arp_nd_proxy.c
179
vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto,
net/bridge/br_arp_nd_proxy.c
216
skb->vlan_proto,
net/bridge/br_arp_nd_proxy.c
254
__be16 vlan_proto, u16 vlan_tci)
net/bridge/br_arp_nd_proxy.c
361
__vlan_hwaccel_put_tag(reply, vlan_proto, vlan_tci);
net/bridge/br_arp_nd_proxy.c
446
vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto,
net/bridge/br_arp_nd_proxy.c
478
skb->vlan_proto,
net/bridge/br_arp_nd_proxy.c
48
__be16 vlan_proto, u16 vlan_tci)
net/bridge/br_arp_nd_proxy.c
77
__vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci);
net/bridge/br_device.c
419
ctx->vlan[ctx->num_vlans].proto = path->bridge.vlan_proto;
net/bridge/br_multicast.c
916
u16 vlan_proto;
net/bridge/br_multicast.c
918
if (br_vlan_get_proto(brmctx->br->dev, &vlan_proto) != 0)
net/bridge/br_multicast.c
920
__vlan_hwaccel_put_tag(skb, htons(vlan_proto), vlan->vid);
net/bridge/br_netfilter_hooks.c
103
return vlan_proto(skb) == htons(ETH_P_IPV6) &&
net/bridge/br_netfilter_hooks.c
111
return vlan_proto(skb) == htons(ETH_P_ARP) && brnet->filter_vlan_tagged;
net/bridge/br_netfilter_hooks.c
147
__be16 vlan_proto;
net/bridge/br_netfilter_hooks.c
442
vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto,
net/bridge/br_netfilter_hooks.c
793
if (data->vlan_proto)
net/bridge/br_netfilter_hooks.c
794
__vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci);
net/bridge/br_netfilter_hooks.c
876
data->vlan_proto = skb->vlan_proto;
net/bridge/br_netfilter_hooks.c
878
data->vlan_proto = 0;
net/bridge/br_netfilter_hooks.c
95
return vlan_proto(skb) == htons(ETH_P_IP) && brnet->filter_vlan_tagged;
net/bridge/br_netlink.c
1333
__be16 vlan_proto = nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]);
net/bridge/br_netlink.c
1335
err = __br_vlan_set_proto(br, vlan_proto, extack);
net/bridge/br_netlink.c
1693
if (nla_put_be16(skb, IFLA_BR_VLAN_PROTOCOL, br->vlan_proto) ||
net/bridge/br_private.h
502
__be16 vlan_proto;
net/bridge/br_sysfs_br.c
863
return sysfs_emit(buf, "%#06x\n", ntohs(br->vlan_proto));
net/bridge/br_vlan.c
114
return vlan_vid_add(dev, br->vlan_proto, v->vid);
net/bridge/br_vlan.c
1237
br->vlan_proto = htons(ETH_P_8021Q);
net/bridge/br_vlan.c
1463
ctx->vlan[idx].proto == br->vlan_proto) {
net/bridge/br_vlan.c
1471
path->bridge.vlan_proto = br->vlan_proto;
net/bridge/br_vlan.c
154
vlan_vid_del(dev, br->vlan_proto, v->vid);
net/bridge/br_vlan.c
552
skb->protocol == br->vlan_proto)) {
net/bridge/br_vlan.c
560
if (skb->vlan_proto != br->vlan_proto) {
net/bridge/br_vlan.c
563
skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto,
net/bridge/br_vlan.c
596
__vlan_hwaccel_put_tag(skb, br->vlan_proto, pvid);
net/bridge/br_vlan.c
695
if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto)
net/bridge/br_vlan.c
868
br->vlan_proto == htons(ETH_P_8021Q)) {
net/bridge/br_vlan.c
882
br->vlan_proto == htons(ETH_P_8021Q))
net/bridge/br_vlan.c
934
*p_proto = ntohs(br->vlan_proto);
net/bridge/br_vlan.c
953
__be16 oldproto = br->vlan_proto;
net/bridge/br_vlan.c
955
if (br->vlan_proto == proto)
net/bridge/br_vlan.c
974
br->vlan_proto = proto;
net/bridge/br_vlan_tunnel.c
183
__vlan_hwaccel_put_tag(skb, p->br->vlan_proto, vlan->vid);
net/bridge/netfilter/nf_conntrack_bridge.c
329
data->vlan_proto = skb->vlan_proto;
net/bridge/netfilter/nf_conntrack_bridge.c
375
__vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci);
net/bridge/netfilter/nft_reject_bridge.c
38
__vlan_hwaccel_put_tag(nskb, oldskb->vlan_proto, vid);
net/core/dev.c
3926
!vlan_hw_offload_capable(features, skb->vlan_proto))
net/core/filter.c
3214
BPF_CALL_3(bpf_skb_vlan_push, struct sk_buff *, skb, __be16, vlan_proto,
net/core/filter.c
3219
if (unlikely(vlan_proto != htons(ETH_P_8021Q) &&
net/core/filter.c
3220
vlan_proto != htons(ETH_P_8021AD)))
net/core/filter.c
3221
vlan_proto = htons(ETH_P_8021Q);
net/core/filter.c
3224
ret = skb_vlan_push(skb, vlan_proto, vlan_tci);
net/core/filter.c
437
BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2);
net/core/filter.c
441
offsetof(struct sk_buff, vlan_proto));
net/core/filter.c
9781
case offsetof(struct __sk_buff, vlan_proto):
net/core/filter.c
9783
bpf_target_off(struct sk_buff, vlan_proto, 2,
net/core/flow_dissector.c
1079
skb->vlan_proto : skb->protocol;
net/core/netpoll.c
71
!vlan_hw_offload_capable(features, skb->vlan_proto)) {
net/core/rtnetlink.c
1554
ivi.vlan_proto = htons(ETH_P_8021Q);
net/core/rtnetlink.c
1580
vf_vlan_info.vlan_proto = ivi.vlan_proto;
net/core/rtnetlink.c
2840
ivvl[0]->qos, ivvl[0]->vlan_proto);
net/core/skbuff.c
1578
CHECK_SKB_FIELD(vlan_proto);
net/core/skbuff.c
6430
__be16 vlan_proto;
net/core/skbuff.c
6447
vlan_proto = skb->protocol;
net/core/skbuff.c
6452
__vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci);
net/core/skbuff.c
6460
int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci)
net/core/skbuff.c
6472
err = __vlan_insert_tag(skb, skb->vlan_proto,
net/core/skbuff.c
6477
skb->protocol = skb->vlan_proto;
net/core/skbuff.c
6482
__vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci);
net/core/xdp.c
959
__be16 *vlan_proto, u16 *vlan_tci)
net/dsa/tag.h
120
if (vid != pvid || skb->vlan_proto != htons(proto))
net/dsa/tag.h
73
if (vid == pvid && skb->vlan_proto == htons(proto))
net/dsa/tag_8021q.c
536
__be16 vlan_proto;
net/dsa/tag_8021q.c
540
vlan_proto = skb->vlan_proto;
net/dsa/tag_8021q.c
546
vlan_proto = hdr->h_vlan_proto;
net/dsa/tag_8021q.c
560
__vlan_hwaccel_put_tag(skb, vlan_proto, tci);
net/netfilter/nf_flow_table_ip.c
174
tuple->encap[i].proto = skb->vlan_proto;
net/netfilter/nf_flow_table_path.c
158
info->encap[info->num_encaps].proto = path->bridge.vlan_proto;
net/netfilter/nf_log_syslog.c
57
nf_log_buf_add(m, "VPROTO=%04x VID=%u ", ntohs(skb->vlan_proto), vid);
net/netfilter/nf_tables_trace.c
60
veth.h_vlan_proto = skb->vlan_proto;
net/netfilter/nfnetlink_log.c
434
nla_put_be16(inst->skb, NFULA_VLAN_PROTO, skb->vlan_proto))
net/netfilter/nfnetlink_queue.c
598
nla_put_be16(skb, NFQA_VLAN_PROTO, entskb->vlan_proto))
net/netfilter/nft_payload.c
34
veth->h_vlan_proto = skb->vlan_proto;
net/netfilter/nft_payload.c
819
__be16 vlan_proto;
net/netfilter/nft_payload.c
830
vlan_proto = nft_reg_load_be16(src);
net/netfilter/nft_payload.c
831
skb->vlan_proto = vlan_proto;
net/openvswitch/actions.c
705
__vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK);
net/openvswitch/actions.c
755
data->vlan_proto = skb->vlan_proto;
net/openvswitch/datapath.h
188
__be16 vlan_proto;
net/openvswitch/flow.c
496
key->eth.vlan.tpid = skb->vlan_proto;
net/packet/af_packet.c
1002
ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto);
net/packet/af_packet.c
2422
h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto);
net/packet/af_packet.c
3539
aux.tp_vlan_tpid = ntohs(skb->vlan_proto);
net/sched/act_mpls.c
91
if (__vlan_insert_inner_tag(skb, skb->vlan_proto,
net/sched/act_mpls.c
96
skb->protocol = skb->vlan_proto;
net/sched/sch_frag.c
15
__be16 vlan_proto;
net/sched/sch_frag.c
40
__vlan_hwaccel_put_tag(skb, data->vlan_proto,
net/sched/sch_frag.c
69
data->vlan_proto = skb->vlan_proto;
tools/include/uapi/linux/bpf.h
6345
__u32 vlan_proto;
tools/include/uapi/linux/if_link.h
1622
__be16 vlan_proto; /* VLAN protocol either 802.1Q or 802.1ad */
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
146
.vlan_proto = __bpf_constant_htons(ETH_P_IP),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
169
.vlan_proto = __bpf_constant_htons(ETH_P_8021Q),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
34
__u16 vlan_proto;
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
60
__u16 vlan_proto;
tools/testing/selftests/bpf/progs/verifier_cgroup_skb.c
63
__imm_const(__sk_buff_vlan_proto, offsetof(struct __sk_buff, vlan_proto)),
tools/testing/selftests/bpf/progs/xdp_hw_metadata.c
24
__be16 *vlan_proto,
tools/testing/selftests/bpf/progs/xdp_metadata.c
34
__be16 *vlan_proto,