Loading...
Defined in 3 files as a macro:
- include/uapi/linux/if_ether.h, line 71 (as a macro)
- samples/bpf/xdp_router_ipv4.bpf.c, line 13 (as a macro)
- samples/bpf/xdp_sample.bpf.h, line 14 (as a macro)
Referenced in 240 files:
- arch/powerpc/platforms/ps3/gelic_udbg.c, line 156
- drivers/infiniband/core/ud_header.c, line 353
- drivers/infiniband/hw/bnxt_re/ib_verbs.c, 2 times
- drivers/infiniband/hw/cxgb4/cm.c, line 4116
- drivers/infiniband/hw/irdma/cm.c, 3 times
- drivers/infiniband/hw/qedr/qedr_roce_cm.c, line 439
- drivers/net/bonding/bond_alb.c, line 451
- drivers/net/dsa/lan9303-core.c, 2 times
- drivers/net/dsa/sja1105/sja1105_main.c, 2 times
- drivers/net/ethernet/3com/typhoon.c, 2 times
- drivers/net/ethernet/adaptec/starfire.c, 2 times
- drivers/net/ethernet/alteon/acenic.c, line 1997
- drivers/net/ethernet/altera/altera_tse_main.c, line 347
- drivers/net/ethernet/amd/amd8111e.c, line 759
- drivers/net/ethernet/amd/xgbe/xgbe-drv.c, 2 times
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c, 3 times
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c, 2 times
- drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c, line 511
- drivers/net/ethernet/atheros/atl1c/atl1c_main.c, line 1986
- drivers/net/ethernet/atheros/atl1e/atl1e_main.c, 2 times
- drivers/net/ethernet/atheros/atlx/atl1.c, line 2012
- drivers/net/ethernet/atheros/atlx/atl2.c, line 434
- drivers/net/ethernet/broadcom/bcmsysport.c, line 184
- drivers/net/ethernet/broadcom/bnx2.c, line 3247
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c, 5 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c, 2 times
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 415
- drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c, line 259
- drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c, line 418
- drivers/net/ethernet/broadcom/cnic.c, line 1753
- drivers/net/ethernet/broadcom/tg3.c, 4 times
- drivers/net/ethernet/brocade/bna/bnad.c, line 712
- drivers/net/ethernet/cavium/liquidio/lio_core.c, line 689
- drivers/net/ethernet/cavium/liquidio/lio_main.c, line 2942
- drivers/net/ethernet/cavium/thunder/nic_main.c, 2 times
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, line 836
- drivers/net/ethernet/chelsio/cxgb/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c, line 188
- drivers/net/ethernet/chelsio/cxgb3/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, line 237
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 3399
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4/sge.c, 2 times
- drivers/net/ethernet/chelsio/cxgb4vf/sge.c, 3 times
- drivers/net/ethernet/cisco/enic/enic_main.c, line 1412
- drivers/net/ethernet/cortina/gemini.c, line 1151
- drivers/net/ethernet/emulex/benet/be_main.c, 7 times
- drivers/net/ethernet/faraday/ftgmac100.c, line 534
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, line 1481
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, 2 times
- drivers/net/ethernet/freescale/enetc/enetc.c, line 1004
- drivers/net/ethernet/freescale/enetc/enetc_pf.c, line 373
- drivers/net/ethernet/freescale/fec_main.c, line 1736
- drivers/net/ethernet/freescale/gianfar.c, line 2493
- drivers/net/ethernet/fungible/funeth/funeth_main.c, line 1248
- drivers/net/ethernet/hisilicon/hns/hns_enet.c, 2 times
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c, 5 times
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c, 16 times
- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c, 3 times
- drivers/net/ethernet/huawei/hinic/hinic_rx.c, line 415
- drivers/net/ethernet/huawei/hinic/hinic_sriov.c, line 798
- drivers/net/ethernet/ibm/ehea/ehea_main.c, line 728
- drivers/net/ethernet/ibm/ibmvnic.c, line 3409
- drivers/net/ethernet/intel/e1000/e1000_main.c, 6 times
- drivers/net/ethernet/intel/e1000e/netdev.c, 8 times
- drivers/net/ethernet/intel/fm10k/fm10k_iov.c, line 607
- drivers/net/ethernet/intel/fm10k/fm10k_main.c, 2 times
- drivers/net/ethernet/intel/fm10k/fm10k_netdev.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_ethtool.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_main.c, 2 times
- drivers/net/ethernet/intel/i40e/i40e_txrx.c, 3 times
- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c, line 4380
- drivers/net/ethernet/intel/iavf/iavf_main.c, 10 times
- drivers/net/ethernet/intel/iavf/iavf_txrx.c, line 902
- drivers/net/ethernet/intel/iavf/iavf_virtchnl.c, 7 times
- drivers/net/ethernet/intel/ice/ice_lib.c, 2 times
- drivers/net/ethernet/intel/ice/ice_main.c, line 5931
- drivers/net/ethernet/intel/ice/ice_sriov.c, line 1659
- drivers/net/ethernet/intel/ice/ice_switch.c, line 2462
- drivers/net/ethernet/intel/ice/ice_tc_lib.c, line 160
- drivers/net/ethernet/intel/ice/ice_txrx_lib.c, line 216
- drivers/net/ethernet/intel/ice/ice_virtchnl.c, 6 times
- drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c, 5 times
- drivers/net/ethernet/intel/igb/igb_main.c, 4 times
- drivers/net/ethernet/intel/igbvf/netdev.c, 2 times
- drivers/net/ethernet/intel/igc/igc_main.c, 2 times
- drivers/net/ethernet/intel/ixgb/ixgb_main.c, 2 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c, line 403
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, 5 times
- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c, line 1535
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c, 2 times
- drivers/net/ethernet/jme.c, line 1031
- drivers/net/ethernet/marvell/mv643xx_eth.c, line 681
- drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c, 4 times
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c, 2 times
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c, line 2404
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c, line 601
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c, 2 times
- drivers/net/ethernet/marvell/prestera/prestera_rxtx.c, line 261
- drivers/net/ethernet/marvell/sky2.c, line 2691
- drivers/net/ethernet/mediatek/mtk_ppe.c, 2 times
- drivers/net/ethernet/mediatek/mtk_ppe_offload.c, 3 times
- drivers/net/ethernet/mellanox/mlx4/cmd.c, 4 times
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 886
- drivers/net/ethernet/mellanox/mlx4/en_tx.c, line 923
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en_fs.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 4446
- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c, line 1506
- drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_lgcy.c, line 225
- drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_ofld.c, line 39
- drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c, 11 times
- drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c, line 889
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c, 6 times
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c, line 468
- drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c, line 1704
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, 5 times
- drivers/net/ethernet/micrel/ksz884x.c, line 4894
- drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c, line 206
- drivers/net/ethernet/mscc/ocelot.c, line 2645
- drivers/net/ethernet/mscc/ocelot_flower.c, 2 times
- drivers/net/ethernet/myricom/myri10ge/myri10ge.c, 2 times
- drivers/net/ethernet/neterion/s2io.c, line 8474
- drivers/net/ethernet/netronome/nfp/flower/offload.c, line 445
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c, 2 times
- drivers/net/ethernet/netronome/nfp/nfp_net_dp.c, 2 times
- drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c, line 124
- drivers/net/ethernet/nvidia/forcedeth.c, 2 times
- drivers/net/ethernet/pensando/ionic/ionic_lif.c, line 2416
- drivers/net/ethernet/pensando/ionic/ionic_txrx.c, line 283
- drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c, line 1618
- drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c, 2 times
- drivers/net/ethernet/qlogic/qed/qed_dev.c, line 3113
- drivers/net/ethernet/qlogic/qed/qed_iwarp.c, line 1688
- drivers/net/ethernet/qlogic/qed/qed_ll2.c, line 224
- drivers/net/ethernet/qlogic/qed/qed_sp_commands.c, line 346
- drivers/net/ethernet/qlogic/qede/qede_fp.c, line 643
- drivers/net/ethernet/qlogic/qede/qede_main.c, line 129
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c, 7 times
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c, line 4105
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c, line 1926
- drivers/net/ethernet/qualcomm/emac/emac-mac.c, line 1080
- drivers/net/ethernet/realtek/8139cp.c, line 429
- drivers/net/ethernet/realtek/r8169_main.c, line 1495
- drivers/net/ethernet/sfc/ef10.c, 2 times
- drivers/net/ethernet/sfc/siena/sriov.h, line 36
- drivers/net/ethernet/sfc/sriov.c, line 31
- drivers/net/ethernet/sfc/tx_tso.c, line 149
- drivers/net/ethernet/smsc/smsc911x.c, line 1621
- drivers/net/ethernet/smsc/smsc9420.c, line 1243
- drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c, line 33
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 4563
- drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c, 8 times
- drivers/net/ethernet/sun/niu.c, 2 times
- drivers/net/ethernet/synopsys/dwc-xlgmac-net.c, 2 times
- drivers/net/ethernet/tehuti/tehuti.c, line 1136
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 1302
- drivers/net/ethernet/ti/cpsw_priv.c, 2 times
- drivers/net/ethernet/toshiba/ps3_gelic_net.c, line 747
- drivers/net/ethernet/via/via-rhine.c, line 2024
- drivers/net/ethernet/via/via-velocity.c, line 2088
- drivers/net/hyperv/netvsc_drv.c, 3 times
- drivers/net/thunderbolt.c, line 976
- drivers/net/usb/aqc111.c, line 1160
- drivers/net/usb/cdc_mbim.c, 2 times
- drivers/net/usb/lan78xx.c, line 3557
- drivers/net/usb/r8152.c, line 2158
- drivers/net/usb/smsc95xx.c, line 1027
- drivers/net/vmxnet3/vmxnet3_drv.c, 2 times
- drivers/net/wireless/ath/wil6210/txrx.c, line 1526
- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c, line 208
- drivers/net/wireless/mediatek/mt76/mt7615/mac.c, line 618
- drivers/net/wireless/mediatek/mt76/mt7915/mac.c, line 516
- drivers/net/wireless/mediatek/mt76/mt7996/mac.c, line 814
- drivers/s390/net/qeth_core_main.c, 2 times
- drivers/s390/net/qeth_l2_main.c, line 186
- drivers/s390/net/qeth_l3_main.c, line 1653
- drivers/scsi/fcoe/fcoe.c, line 1554
- drivers/scsi/fnic/fnic_fcs.c, 3 times
- drivers/scsi/qedf/qedf_fip.c, line 145
- drivers/scsi/qedf/qedf_main.c, 2 times
- drivers/scsi/qedi/qedi_iscsi.c, line 1254
- drivers/scsi/qedi/qedi_main.c, 2 times
- drivers/staging/gdm724x/gdm_lte.c, 4 times
- drivers/staging/qlge/qlge_main.c, 6 times
- drivers/staging/r8188eu/core/rtw_xmit.c, 4 times
- include/linux/if_vlan.h, 2 times
- include/net/erspan.h, 2 times
- net/8021q/vlan.c, 6 times
- net/8021q/vlan.h, line 42
- net/8021q/vlan_core.c, 2 times
- net/8021q/vlan_gvrp.c, 2 times
- net/8021q/vlan_mvrp.c, 2 times
- net/8021q/vlan_netlink.c, 2 times
- net/batman-adv/bridge_loop_avoidance.c, 2 times
- net/batman-adv/distributed-arp-table.c, line 1121
- net/batman-adv/gateway_client.c, line 584
- net/batman-adv/main.c, 2 times
- net/batman-adv/soft-interface.c, 4 times
- net/bluetooth/bnep/core.c, line 358
- net/bridge/br_netfilter_hooks.c, 4 times
- net/bridge/br_vlan.c, 3 times
- net/bridge/netfilter/ebt_vlan.c, line 83
- net/bridge/netfilter/ebtables.c, line 139
- net/core/dev.c, line 5243
- net/core/filter.c, 2 times
- net/core/flow_dissector.c, line 1186
- net/core/pktgen.c, 4 times
- net/core/rtnetlink.c, 2 times
- net/dsa/port.c, 2 times
- net/dsa/slave.c, 2 times
- net/dsa/tag_dsa.c, 3 times
- net/dsa/tag_lan9303.c, line 74
- net/dsa/tag_mtk.c, line 39
- net/dsa/tag_ocelot.c, 2 times
- net/dsa/tag_ocelot_8021q.c, line 75
- net/dsa/tag_sja1105.c, line 503
- net/hsr/hsr_forward.c, line 589
- net/hsr/hsr_main.h, line 265
- net/mac80211/tx.c, line 4349
- net/netfilter/nf_flow_table_inet.c, line 19
- net/netfilter/nf_flow_table_ip.c, 3 times
- net/netfilter/nf_flow_table_offload.c, 4 times
- net/netfilter/nf_tables_offload.c, 2 times
- net/netfilter/nft_inner.c, 2 times
- net/netfilter/nft_payload.c, line 51
- net/packet/af_packet.c, line 1853
- net/sched/act_csum.c, line 602
- net/sched/act_vlan.c, 2 times
- samples/bpf/parse_varlen.c, 2 times
- samples/bpf/sockex2_kern.c, 2 times
- samples/bpf/sockex3_kern.c, line 276
- samples/bpf/xdp1_kern.c, 2 times
- samples/bpf/xdp2_kern.c, 2 times
- samples/bpf/xdp_redirect_cpu.bpf.c, 2 times
- samples/bpf/xdp_router_ipv4.bpf.c, line 92
- tools/testing/selftests/bpf/prog_tests/flow_dissector.c, 2 times
- tools/testing/selftests/bpf/progs/bpf_flow.c, 3 times
- tools/testing/selftests/bpf/progs/test_xdp_vlan.c, 3 times
- tools/testing/selftests/net/psock_snd.c, line 108