eth_hdr 2810 drivers/infiniband/hw/bnxt_re/ib_verbs.c struct ethhdr *eth_hdr; eth_hdr 2823 drivers/infiniband/hw/bnxt_re/ib_verbs.c eth_hdr = (struct ethhdr *)tmp_buf; eth_hdr 2824 drivers/infiniband/hw/bnxt_re/ib_verbs.c eth_type = ntohs(eth_hdr->h_proto); eth_hdr 126 drivers/infiniband/hw/ocrdma/ocrdma_ah.c memcpy(&ah->av->eth_hdr, ð, eth_sz); eth_hdr 235 drivers/infiniband/hw/ocrdma/ocrdma_ah.c rdma_ah_set_sl(attr, be16_to_cpu(av->eth_hdr.vlan_tag) >> 13); eth_hdr 1919 drivers/infiniband/hw/ocrdma/ocrdma_sli.h struct ocrdma_eth_vlan eth_hdr; eth_hdr 136 drivers/media/dvb-core/dvb_net.c eth = eth_hdr(skb); eth_hdr 2662 drivers/net/bonding/bond_3ad.c if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) eth_hdr 1306 drivers/net/bonding/bond_alb.c struct ethhdr *eth_data = eth_hdr(skb); eth_hdr 1345 drivers/net/bonding/bond_alb.c eth_data = eth_hdr(skb); eth_hdr 1388 drivers/net/bonding/bond_alb.c eth_data = eth_hdr(skb); eth_hdr 1469 drivers/net/bonding/bond_alb.c eth_data = eth_hdr(skb); eth_hdr 1213 drivers/net/bonding/bond_main.c if (is_link_local_ether_addr(eth_hdr(skb)->h_dest)) eth_hdr 1229 drivers/net/bonding/bond_main.c bond_hw_addr_copy(eth_hdr(skb)->h_dest, bond->dev->dev_addr, eth_hdr 1766 drivers/net/dsa/sja1105/sja1105_main.c hdr = eth_hdr(skb); eth_hdr 355 drivers/net/ethernet/altera/altera_tse_main.c struct ethhdr *eth_hdr; eth_hdr 359 drivers/net/ethernet/altera/altera_tse_main.c eth_hdr = (struct ethhdr *)skb->data; eth_hdr 360 drivers/net/ethernet/altera/altera_tse_main.c memmove(skb->data + VLAN_HLEN, eth_hdr, ETH_ALEN * 2); eth_hdr 661 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (ntohs(eth_hdr(skb)->h_proto) < 46) eth_hdr 1943 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct ethhdr *eth_hdr = (struct ethhdr *)skb->data; eth_hdr 1948 drivers/net/ethernet/hisilicon/hns/hns_enet.c is_multicast_ether_addr(eth_hdr->h_dest)) eth_hdr 690 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct ethhdr *eth_hdr; eth_hdr 709 drivers/net/ethernet/intel/fm10k/fm10k_main.c eth_hdr = fm10k_port_is_vxlan(skb); eth_hdr 712 drivers/net/ethernet/intel/fm10k/fm10k_main.c eth_hdr = fm10k_gre_is_nvgre(skb); eth_hdr 718 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!eth_hdr) eth_hdr 721 drivers/net/ethernet/intel/fm10k/fm10k_main.c switch (eth_hdr->h_proto) { eth_hdr 750 drivers/net/ethernet/intel/fm10k/fm10k_main.c return eth_hdr->h_proto; eth_hdr 722 drivers/net/ethernet/intel/ice/ice_switch.c u8 *eth_hdr; eth_hdr 736 drivers/net/ethernet/intel/ice/ice_switch.c eth_hdr = s_rule->pdata.lkup_tx_rx.hdr; eth_hdr 739 drivers/net/ethernet/intel/ice/ice_switch.c memcpy(eth_hdr, dummy_eth_header, eth_hdr_sz); eth_hdr 802 drivers/net/ethernet/intel/ice/ice_switch.c off = (__force __be16 *)(eth_hdr + ICE_ETH_ETHTYPE_OFFSET); eth_hdr 829 drivers/net/ethernet/intel/ice/ice_switch.c ether_addr_copy(eth_hdr + ICE_ETH_DA_OFFSET, daddr); eth_hdr 832 drivers/net/ethernet/intel/ice/ice_switch.c off = (__force __be16 *)(eth_hdr + ICE_ETH_VLAN_TCI_OFFSET); eth_hdr 402 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) eth_hdr 1213 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c eth_hdr(skb)->h_source)) { eth_hdr 150 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM_BUF(emad, eth_hdr, dmac, 0x00, 6); eth_hdr 156 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM_BUF(emad, eth_hdr, smac, 0x06, 6); eth_hdr 162 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM32(emad, eth_hdr, ethertype, 0x0C, 16, 16); eth_hdr 168 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM32(emad, eth_hdr, mlx_proto, 0x0C, 8, 8); eth_hdr 174 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM32(emad, eth_hdr, ver, 0x0C, 4, 4); eth_hdr 321 drivers/net/ethernet/mellanox/mlxsw/core.c char *eth_hdr = skb_push(skb, MLXSW_EMAD_ETH_HDR_LEN); eth_hdr 323 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_eth_hdr_dmac_memcpy_to(eth_hdr, MLXSW_EMAD_EH_DMAC); eth_hdr 324 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_eth_hdr_smac_memcpy_to(eth_hdr, MLXSW_EMAD_EH_SMAC); eth_hdr 325 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_eth_hdr_ethertype_set(eth_hdr, MLXSW_EMAD_EH_ETHERTYPE); eth_hdr 326 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_eth_hdr_mlx_proto_set(eth_hdr, MLXSW_EMAD_EH_MLX_PROTO); eth_hdr 327 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_eth_hdr_ver_set(eth_hdr, MLXSW_EMAD_EH_PROTO_VERSION); eth_hdr 219 drivers/net/ethernet/qlogic/qed/qed_ll2.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 1172 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c struct ethhdr *eth_hdr; eth_hdr 1175 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c eth_hdr = (struct ethhdr *)skb->data; eth_hdr 1176 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c memmove(skb->data + VLAN_HLEN, eth_hdr, ETH_ALEN * 2); eth_hdr 474 drivers/net/ethernet/sgi/ioc3-eth.c struct ethhdr *eh = eth_hdr(skb); eth_hdr 452 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(is_multicast_ether_addr(eth_hdr(skb)->h_dest))) eth_hdr 252 drivers/net/geneve.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 258 drivers/net/geneve.c if (ether_addr_equal(eth_hdr(skb)->h_source, geneve->dev->dev_addr)) { eth_hdr 912 drivers/net/geneve.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 178 drivers/net/hamradio/bpqether.c eth = eth_hdr(skb); eth_hdr 248 drivers/net/ipvlan/ipvlan_core.c ethh = eth_hdr(skb); eth_hdr 499 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *ethh = eth_hdr(skb); eth_hdr 593 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 663 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 706 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 561 drivers/net/macsec.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 698 drivers/net/macsec.c eth = eth_hdr(skb); eth_hdr 262 drivers/net/macvlan.c const struct ethhdr *eth = eth_hdr(skb); eth_hdr 416 drivers/net/macvlan.c if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, dev->dev_addr)) eth_hdr 442 drivers/net/macvlan.c const struct ethhdr *eth = eth_hdr(skb); eth_hdr 458 drivers/net/macvlan.c eth = eth_hdr(skb); eth_hdr 575 drivers/net/phy/dp83640.c struct ethhdr *h = eth_hdr(skb); eth_hdr 544 drivers/net/plip/plip.c eth = eth_hdr(skb); eth_hdr 449 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); eth_hdr 506 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); eth_hdr 706 drivers/net/tap.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 1172 drivers/net/tap.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 22 drivers/net/team/team_mode_loadbalance.c const unsigned char *dest = eth_hdr(skb)->h_dest; eth_hdr 476 drivers/net/usb/cdc_ether.c ether_addr_copy(eth_hdr(skb)->h_dest, dev->net->dev_addr); eth_hdr 248 drivers/net/usb/cdc_mbim.c is_ip = is_ip_proto(eth_hdr(skb)->h_proto); eth_hdr 395 drivers/net/usb/cdc_mbim.c eth_hdr(skb)->h_proto = proto; eth_hdr 396 drivers/net/usb/cdc_mbim.c eth_zero_addr(eth_hdr(skb)->h_source); eth_hdr 397 drivers/net/usb/cdc_mbim.c memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); eth_hdr 589 drivers/net/usb/qmi_wwan.c eth_hdr(skb)->h_proto = proto; eth_hdr 590 drivers/net/usb/qmi_wwan.c eth_zero_addr(eth_hdr(skb)->h_source); eth_hdr 592 drivers/net/usb/qmi_wwan.c memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); eth_hdr 228 drivers/net/usb/sierra_net.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 842 drivers/net/usb/sierra_net.c if (eth_hdr(skb)->h_proto != cpu_to_be16(ETH_P_IPV6)) eth_hdr 843 drivers/net/usb/sierra_net.c eth_hdr(skb)->h_proto = cpu_to_be16(ETH_P_IP); eth_hdr 844 drivers/net/usb/sierra_net.c eth_zero_addr(eth_hdr(skb)->h_source); eth_hdr 845 drivers/net/usb/sierra_net.c memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); eth_hdr 1247 drivers/net/vmxnet3/vmxnet3_drv.c hdr.eth = eth_hdr(skb); eth_hdr 1601 drivers/net/vxlan.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 1604 drivers/net/vxlan.c if (ether_addr_equal(eth_hdr(skb)->h_source, vxlan->dev->dev_addr)) eth_hdr 1619 drivers/net/vxlan.c vxlan_snoop(skb->dev, &saddr, eth_hdr(skb)->h_source, ifindex, vni)) eth_hdr 1923 drivers/net/vxlan.c daddr = eth_hdr(request)->h_source; eth_hdr 1938 drivers/net/vxlan.c ether_addr_copy(eth_hdr(reply)->h_dest, daddr); eth_hdr 1939 drivers/net/vxlan.c ether_addr_copy(eth_hdr(reply)->h_source, n->ha); eth_hdr 1940 drivers/net/vxlan.c eth_hdr(reply)->h_proto = htons(ETH_P_IPV6); eth_hdr 2055 drivers/net/vxlan.c if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) eth_hdr 2059 drivers/net/vxlan.c switch (ntohs(eth_hdr(skb)->h_proto)) { eth_hdr 2109 drivers/net/vxlan.c diff = !ether_addr_equal(eth_hdr(skb)->h_dest, n->ha); eth_hdr 2111 drivers/net/vxlan.c memcpy(eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, eth_hdr 2113 drivers/net/vxlan.c memcpy(eth_hdr(skb)->h_dest, n->ha, dev->addr_len); eth_hdr 2360 drivers/net/vxlan.c vxlan_snoop(dev, &loopback, eth_hdr(skb)->h_source, 0, vni); eth_hdr 2535 drivers/net/vxlan.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 2657 drivers/net/vxlan.c eth = eth_hdr(skb); eth_hdr 2674 drivers/net/vxlan.c eth = eth_hdr(skb); eth_hdr 408 drivers/net/wimax/i2400m/netdev.c struct ethhdr *eth_hdr = _eth_hdr; eth_hdr 410 drivers/net/wimax/i2400m/netdev.c memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); eth_hdr 411 drivers/net/wimax/i2400m/netdev.c memcpy(eth_hdr->h_source, i2400m->src_mac_addr, eth_hdr 412 drivers/net/wimax/i2400m/netdev.c sizeof(eth_hdr->h_source)); eth_hdr 413 drivers/net/wimax/i2400m/netdev.c eth_hdr->h_proto = protocol; eth_hdr 46 drivers/net/wireless/ath/ath6kl/txrx.c struct ethhdr *eth_hdr; eth_hdr 52 drivers/net/wireless/ath/ath6kl/txrx.c eth_hdr = (struct ethhdr *) (datap + sizeof(struct wmi_data_hdr)); eth_hdr 54 drivers/net/wireless/ath/ath6kl/txrx.c if (is_multicast_ether_addr(eth_hdr->h_dest)) eth_hdr 58 drivers/net/wireless/ath/ath6kl/txrx.c if (memcmp(eth_hdr->h_dest, ar->node_map[i].mac_addr, eth_hdr 76 drivers/net/wireless/ath/ath6kl/txrx.c memcpy(ar->node_map[ep_map].mac_addr, eth_hdr->h_dest, ETH_ALEN); eth_hdr 163 drivers/net/wireless/ath/ath6kl/wmi.c struct ethhdr *eth_hdr; eth_hdr 176 drivers/net/wireless/ath/ath6kl/wmi.c eth_hdr = (struct ethhdr *) skb->data; eth_hdr 177 drivers/net/wireless/ath/ath6kl/wmi.c type = eth_hdr->h_proto; eth_hdr 185 drivers/net/wireless/ath/ath6kl/wmi.c new_len = skb->len - sizeof(*eth_hdr) + sizeof(*llc_hdr); eth_hdr 190 drivers/net/wireless/ath/ath6kl/wmi.c eth_hdr->h_proto = cpu_to_be16(new_len); eth_hdr 192 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(datap, eth_hdr, sizeof(*eth_hdr)); eth_hdr 194 drivers/net/wireless/ath/ath6kl/wmi.c llc_hdr = (struct ath6kl_llc_snap_hdr *)(datap + sizeof(*eth_hdr)); eth_hdr 392 drivers/net/wireless/ath/ath6kl/wmi.c struct ethhdr eth_hdr; eth_hdr 419 drivers/net/wireless/ath/ath6kl/wmi.c memset(ð_hdr, 0, sizeof(eth_hdr)); eth_hdr 420 drivers/net/wireless/ath/ath6kl/wmi.c eth_hdr.h_proto = llc_hdr->eth_type; eth_hdr 425 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_dest, wh.addr3, ETH_ALEN); eth_hdr 426 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); eth_hdr 429 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); eth_hdr 430 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); eth_hdr 435 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); eth_hdr 436 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); eth_hdr 441 drivers/net/wireless/ath/ath6kl/wmi.c skb_push(skb, sizeof(eth_hdr)); eth_hdr 445 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(datap, ð_hdr, sizeof(eth_hdr)); eth_hdr 457 drivers/net/wireless/ath/ath6kl/wmi.c struct ethhdr eth_hdr; eth_hdr 465 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(ð_hdr, datap, sizeof(eth_hdr)); eth_hdr 467 drivers/net/wireless/ath/ath6kl/wmi.c llc_hdr = (struct ath6kl_llc_snap_hdr *) (datap + sizeof(eth_hdr)); eth_hdr 468 drivers/net/wireless/ath/ath6kl/wmi.c eth_hdr.h_proto = llc_hdr->eth_type; eth_hdr 473 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(datap, ð_hdr, sizeof(eth_hdr)); eth_hdr 270 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c !is_multicast_ether_addr(eth_hdr(skb)->h_dest)) eth_hdr 770 drivers/net/wireless/marvell/mwifiex/main.c struct ethhdr *eth_hdr = (struct ethhdr *)skb->data; eth_hdr 772 drivers/net/wireless/marvell/mwifiex/main.c if (ntohs(eth_hdr->h_proto) == ETH_P_PAE || eth_hdr 776 drivers/net/wireless/marvell/mwifiex/main.c (ntohs(eth_hdr->h_proto) == ETH_P_TDLS))) { eth_hdr 779 drivers/net/wireless/marvell/mwifiex/main.c ntohs(eth_hdr->h_proto), eth_hdr 818 drivers/net/wireless/marvell/mwifiex/wmm.c struct ethhdr *eth_hdr = (struct ethhdr *)skb->data; eth_hdr 821 drivers/net/wireless/marvell/mwifiex/wmm.c memcpy(ra, eth_hdr->h_dest, ETH_ALEN); eth_hdr 825 drivers/net/wireless/marvell/mwifiex/wmm.c if (ntohs(eth_hdr->h_proto) == ETH_P_TDLS) eth_hdr 927 drivers/s390/net/qeth_core.h u8 *addr = eth_hdr(skb)->h_dest; eth_hdr 3722 drivers/s390/net/qeth_core_main.c return ether_addr_equal(eth_hdr(prev_skb)->h_dest, eth_hdr 3723 drivers/s390/net/qeth_core_main.c eth_hdr(curr_skb)->h_dest) && eth_hdr 371 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eh = eth_hdr(skb); eth_hdr 451 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (unlikely(eth_hdr(skb)->h_proto != htons(ETH_P_FCOE))) { eth_hdr 534 drivers/scsi/bnx2fc/bnx2fc_fcoe.c mac = eth_hdr(skb)->h_source; eth_hdr 535 drivers/scsi/bnx2fc/bnx2fc_fcoe.c dest_mac = eth_hdr(skb)->h_dest; eth_hdr 1107 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct ethhdr *eth_hdr; eth_hdr 1112 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eth_hdr = (struct ethhdr *)skb_mac_header(skb); eth_hdr 1118 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eth_hdr->h_source, eth_hdr->h_dest); eth_hdr 1369 drivers/scsi/fcoe/fcoe.c eh = eth_hdr(skb); eth_hdr 1563 drivers/scsi/fcoe/fcoe.c eh = eth_hdr(skb); eth_hdr 1327 drivers/scsi/fcoe/fcoe_ctlr.c struct ethhdr *eh = eth_hdr(skb); eth_hdr 1548 drivers/scsi/fcoe/fcoe_ctlr.c eh = eth_hdr(skb); eth_hdr 1909 drivers/scsi/fcoe/fcoe_ctlr.c sa = eth_hdr(&fp->skb)->h_source; eth_hdr 1033 drivers/scsi/fnic/fnic_fcs.c struct ethhdr *eth_hdr; eth_hdr 1038 drivers/scsi/fnic/fnic_fcs.c eth_hdr = (struct ethhdr *)skb_mac_header(skb); eth_hdr 1039 drivers/scsi/fnic/fnic_fcs.c vlan_hdr = skb_push(skb, sizeof(*vlan_hdr) - sizeof(*eth_hdr)); eth_hdr 1040 drivers/scsi/fnic/fnic_fcs.c memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); eth_hdr 1042 drivers/scsi/fnic/fnic_fcs.c vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; eth_hdr 1045 drivers/scsi/fnic/fnic_fcs.c FNIC_FC_SEND|0x80, (char *)eth_hdr, skb->len)) != 0) { eth_hdr 1087 drivers/scsi/fnic/fnic_fcs.c struct ethhdr *eth_hdr; eth_hdr 1105 drivers/scsi/fnic/fnic_fcs.c eth_hdr = (struct ethhdr *)vlan_hdr; eth_hdr 1111 drivers/scsi/fnic/fnic_fcs.c eth_hdr_len = sizeof(*eth_hdr) + sizeof(*fcoe_hdr); eth_hdr 1112 drivers/scsi/fnic/fnic_fcs.c eth_hdr = skb_push(skb, eth_hdr_len); eth_hdr 1113 drivers/scsi/fnic/fnic_fcs.c eth_hdr->h_proto = htons(ETH_P_FCOE); eth_hdr 1114 drivers/scsi/fnic/fnic_fcs.c fcoe_hdr = (struct fcoe_hdr *)(eth_hdr + 1); eth_hdr 1118 drivers/scsi/fnic/fnic_fcs.c fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); eth_hdr 1120 drivers/scsi/fnic/fnic_fcs.c memcpy(eth_hdr->h_dest, fnic->ctlr.dest_addr, ETH_ALEN); eth_hdr 1121 drivers/scsi/fnic/fnic_fcs.c memcpy(eth_hdr->h_source, fnic->data_src_addr, ETH_ALEN); eth_hdr 1131 drivers/scsi/fnic/fnic_fcs.c pa = dma_map_single(&fnic->pdev->dev, eth_hdr, tot_len, DMA_TO_DEVICE); eth_hdr 1139 drivers/scsi/fnic/fnic_fcs.c (char *)eth_hdr, tot_len)) != 0) { eth_hdr 124 drivers/scsi/qedf/qedf_fip.c struct ethhdr *eth_hdr; eth_hdr 137 drivers/scsi/qedf/qedf_fip.c eth_hdr = (struct ethhdr *)skb_mac_header(skb); eth_hdr 151 drivers/scsi/qedf/qedf_fip.c "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub, eth_hdr 170 drivers/scsi/qedf/qedf_fip.c struct ethhdr *eth_hdr; eth_hdr 186 drivers/scsi/qedf/qedf_fip.c eth_hdr = (struct ethhdr *)skb_mac_header(skb); eth_hdr 193 drivers/scsi/qedf/qedf_fip.c skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op, eth_hdr 199 drivers/scsi/qedf/qedf_fip.c if (!ether_addr_equal(eth_hdr->h_dest, qedf->mac) && eth_hdr 200 drivers/scsi/qedf/qedf_fip.c !ether_addr_equal(eth_hdr->h_dest, fcoe_all_enode) && eth_hdr 201 drivers/scsi/qedf/qedf_fip.c !ether_addr_equal(eth_hdr->h_dest, qedf->data_src_addr)) { eth_hdr 204 drivers/scsi/qedf/qedf_fip.c op, eth_hdr->h_dest, qedf->mac, eth_hdr 1132 drivers/scsi/qedf/qedf_main.c eh = eth_hdr(skb); eth_hdr 2353 drivers/scsi/qedf/qedf_main.c mac = eth_hdr(skb)->h_source; eth_hdr 2354 drivers/scsi/qedf/qedf_main.c dest_mac = eth_hdr(skb)->h_dest; eth_hdr 338 drivers/staging/ks7010/ks_hostif.c struct ether_hdr *eth_hdr; eth_hdr 349 drivers/staging/ks7010/ks_hostif.c eth_hdr = (struct ether_hdr *)(priv->rxp); eth_hdr 350 drivers/staging/ks7010/ks_hostif.c eth_proto = ntohs(eth_hdr->h_proto); eth_hdr 352 drivers/staging/ks7010/ks_hostif.c if (eth_hdr->h_dest_snap != eth_hdr->h_source_snap) { eth_hdr 404 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_dest[0] & 0x01 ? "broad" : "uni", eth_hdr 405 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source); eth_hdr 423 drivers/staging/ks7010/ks_hostif.c struct ether_hdr *eth_hdr; eth_hdr 437 drivers/staging/ks7010/ks_hostif.c eth_hdr = (struct ether_hdr *)(priv->rxp); eth_hdr 440 drivers/staging/ks7010/ks_hostif.c if (ether_addr_equal(&priv->eth_addr[0], eth_hdr->h_source)) { eth_hdr 444 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[0], eth_hdr->h_source[1], eth_hdr 445 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[2], eth_hdr->h_source[3], eth_hdr 446 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[4], eth_hdr->h_source[5]); eth_hdr 481 drivers/staging/ks7010/ks_hostif.c skb_put_data(skb, ð_hdr->h_proto, size); eth_hdr 1071 drivers/staging/ks7010/ks_hostif.c struct ether_hdr *eth_hdr; eth_hdr 1156 drivers/staging/ks7010/ks_hostif.c eth_hdr = (struct ether_hdr *)&pp->data[0]; eth_hdr 1157 drivers/staging/ks7010/ks_hostif.c eth_proto = ntohs(eth_hdr->h_proto); eth_hdr 1162 drivers/staging/ks7010/ks_hostif.c aa1x_hdr = (struct ieee802_1x_hdr *)(eth_hdr + 1); eth_hdr 1326 drivers/staging/unisys/visornic/visornic_main.c eth = eth_hdr(skb); eth_hdr 499 drivers/staging/wlan-ng/p80211conv.c orinoco_spy_gather(wlandev, eth_hdr(skb)->h_source, eth_hdr 254 include/net/llc_pdu.h memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN); eth_hdr 267 include/net/llc_pdu.h memcpy(da, eth_hdr(skb)->h_dest, ETH_ALEN); eth_hdr 344 include/net/llc_pdu.h dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3; eth_hdr 84 include/net/netfilter/nf_queue.h switch (eth_hdr(skb)->h_proto) { eth_hdr 33 net/802/stp.c const struct ethhdr *eh = eth_hdr(skb); eth_hdr 36 net/8021q/vlan_core.c if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) eth_hdr 1342 net/batman-adv/bat_iv_ogm.c ethhdr = eth_hdr(skb_priv); eth_hdr 1574 net/batman-adv/bat_iv_ogm.c ethhdr = eth_hdr(skb); eth_hdr 869 net/batman-adv/bat_v_ogm.c ethhdr = eth_hdr(skb); eth_hdr 991 net/batman-adv/bat_v_ogm.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 1087 net/batman-adv/bridge_loop_avoidance.c ethhdr = eth_hdr(skb); eth_hdr 1121 net/batman-adv/bridge_loop_avoidance.c ethhdr = eth_hdr(skb); eth_hdr 1774 net/batman-adv/bridge_loop_avoidance.c ethhdr = eth_hdr(skb); eth_hdr 1833 net/batman-adv/bridge_loop_avoidance.c ethhdr = eth_hdr(skb); eth_hdr 1956 net/batman-adv/bridge_loop_avoidance.c ethhdr = eth_hdr(skb); eth_hdr 1788 net/batman-adv/distributed-arp-table.c batadv_dat_put_dhcp(bat_priv, chaddr, yiaddr, eth_hdr(skb)->h_source, eth_hdr 638 net/batman-adv/gateway_client.c ethhdr = eth_hdr(skb); eth_hdr 1102 net/batman-adv/multicast.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 1398 net/batman-adv/multicast.c ethhdr = eth_hdr(skb); eth_hdr 1460 net/batman-adv/multicast.c const u8 *addr = eth_hdr(skb)->h_dest; eth_hdr 1579 net/batman-adv/multicast.c switch (ntohs(eth_hdr(skb)->h_proto)) { eth_hdr 1684 net/batman-adv/multicast.c switch (ntohs(eth_hdr(skb)->h_proto)) { eth_hdr 1383 net/batman-adv/network-coding.c ethhdr = eth_hdr(skb); eth_hdr 1507 net/batman-adv/network-coding.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 1560 net/batman-adv/network-coding.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 1619 net/batman-adv/network-coding.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 1670 net/batman-adv/network-coding.c ethhdr = eth_hdr(skb); eth_hdr 1817 net/batman-adv/network-coding.c ethhdr = eth_hdr(skb); eth_hdr 190 net/batman-adv/routing.c ethhdr = eth_hdr(skb); eth_hdr 369 net/batman-adv/routing.c ethhdr = eth_hdr(skb); eth_hdr 396 net/batman-adv/routing.c ethhdr = eth_hdr(skb); eth_hdr 467 net/batman-adv/routing.c ethhdr = eth_hdr(skb); eth_hdr 681 net/batman-adv/routing.c struct ethhdr *ethhdr = eth_hdr(skb); eth_hdr 994 net/batman-adv/routing.c orig_addr_gw = eth_hdr(skb)->h_source; eth_hdr 1199 net/batman-adv/routing.c ethhdr = eth_hdr(skb); eth_hdr 91 net/batman-adv/send.c ethhdr = eth_hdr(skb); eth_hdr 367 net/batman-adv/send.c ethhdr = eth_hdr(skb); eth_hdr 895 net/batman-adv/send.c neigh_addr = eth_hdr(forw_packet->skb)->h_source; eth_hdr 216 net/batman-adv/soft-interface.c ethhdr = eth_hdr(skb); eth_hdr 244 net/batman-adv/soft-interface.c ethhdr = eth_hdr(skb); eth_hdr 284 net/batman-adv/soft-interface.c ethhdr = eth_hdr(skb); eth_hdr 445 net/batman-adv/soft-interface.c ethhdr = eth_hdr(skb); eth_hdr 465 net/batman-adv/soft-interface.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 273 net/bridge/br_arp_nd_proxy.c daddr = eth_hdr(request)->h_source; eth_hdr 290 net/bridge/br_arp_nd_proxy.c ether_addr_copy(eth_hdr(reply)->h_dest, daddr); eth_hdr 291 net/bridge/br_arp_nd_proxy.c ether_addr_copy(eth_hdr(reply)->h_source, n->ha); eth_hdr 292 net/bridge/br_arp_nd_proxy.c eth_hdr(reply)->h_proto = htons(ETH_P_IPV6); eth_hdr 56 net/bridge/br_device.c eth = eth_hdr(skb); eth_hdr 80 net/bridge/br_device.c dest = eth_hdr(skb)->h_dest; eth_hdr 95 net/bridge/br_device.c br_multicast_querier_exists(br, eth_hdr(skb))) eth_hdr 247 net/bridge/br_forward.c const unsigned char *src = eth_hdr(skb)->h_source; eth_hdr 263 net/bridge/br_forward.c memcpy(eth_hdr(skb)->h_dest, addr, ETH_ALEN); eth_hdr 91 net/bridge/br_input.c br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, false); eth_hdr 94 net/bridge/br_input.c if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) { eth_hdr 96 net/bridge/br_input.c if (is_broadcast_ether_addr(eth_hdr(skb)->h_dest)) { eth_hdr 133 net/bridge/br_input.c br_multicast_querier_exists(br, eth_hdr(skb))) { eth_hdr 146 net/bridge/br_input.c dst = br_fdb_find_rcu(br, eth_hdr(skb)->h_dest, vid); eth_hdr 187 net/bridge/br_input.c br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, false); eth_hdr 260 net/bridge/br_input.c const unsigned char *dest = eth_hdr(skb)->h_dest; eth_hdr 265 net/bridge/br_input.c if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) eth_hdr 238 net/bridge/br_multicast.c eth = eth_hdr(skb); eth_hdr 335 net/bridge/br_multicast.c eth = eth_hdr(skb); eth_hdr 964 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; eth_hdr 1041 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; eth_hdr 1623 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; eth_hdr 1706 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; eth_hdr 1718 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; eth_hdr 407 net/bridge/br_netfilter_hooks.c ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); eth_hdr 192 net/bridge/br_netfilter_ipv6.c ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); eth_hdr 174 net/bridge/br_stp_bpdu.c if (!ether_addr_equal(eth_hdr(skb)->h_dest, br->group_addr)) eth_hdr 230 net/bridge/br_stp_bpdu.c eth_hdr(skb)->h_source, eth_hdr 73 net/bridge/netfilter/ebt_among.c if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { eth_hdr 81 net/bridge/netfilter/ebt_among.c } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) { eth_hdr 104 net/bridge/netfilter/ebt_among.c if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { eth_hdr 112 net/bridge/netfilter/ebt_among.c } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) { eth_hdr 144 net/bridge/netfilter/ebt_among.c smac = eth_hdr(skb)->h_source; eth_hdr 159 net/bridge/netfilter/ebt_among.c dmac = eth_hdr(skb)->h_dest; eth_hdr 27 net/bridge/netfilter/ebt_dnat.c ether_addr_copy(eth_hdr(skb)->h_dest, info->mac); eth_hdr 89 net/bridge/netfilter/ebt_log.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, eth_hdr 90 net/bridge/netfilter/ebt_log.c ntohs(eth_hdr(skb)->h_proto)); eth_hdr 97 net/bridge/netfilter/ebt_log.c if ((bitmask & EBT_LOG_IP) && eth_hdr(skb)->h_proto == eth_hdr 114 net/bridge/netfilter/ebt_log.c if ((bitmask & EBT_LOG_IP6) && eth_hdr(skb)->h_proto == eth_hdr 139 net/bridge/netfilter/ebt_log.c ((eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) || eth_hdr 140 net/bridge/netfilter/ebt_log.c (eth_hdr(skb)->h_proto == htons(ETH_P_RARP)))) { eth_hdr 29 net/bridge/netfilter/ebt_redirect.c ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr 32 net/bridge/netfilter/ebt_redirect.c ether_addr_copy(eth_hdr(skb)->h_dest, xt_in(par)->dev_addr); eth_hdr 28 net/bridge/netfilter/ebt_snat.c ether_addr_copy(eth_hdr(skb)->h_source, info->mac); eth_hdr 30 net/bridge/netfilter/ebt_snat.c eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) { eth_hdr 86 net/bridge/netfilter/ebtable_broute.c dest = eth_hdr(skb)->h_dest; eth_hdr 121 net/bridge/netfilter/ebtables.c const struct ethhdr *h = eth_hdr(skb); eth_hdr 24 net/bridge/netfilter/nf_log_bridge.c nf_log_l2packet(net, pf, eth_hdr(skb)->h_proto, hooknum, skb, eth_hdr 30 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); eth_hdr 31 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); eth_hdr 32 net/bridge/netfilter/nft_reject_bridge.c eth->h_proto = eth_hdr(oldskb)->h_proto; eth_hdr 302 net/bridge/netfilter/nft_reject_bridge.c const unsigned char *dest = eth_hdr(pkt->skb)->h_dest; eth_hdr 308 net/bridge/netfilter/nft_reject_bridge.c switch (eth_hdr(pkt->skb)->h_proto) { eth_hdr 1849 net/core/dev.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 993 net/core/flow_dissector.c struct ethhdr *eth = eth_hdr(skb); eth_hdr 5519 net/core/skbuff.c skb_mod_eth_type(skb, eth_hdr(skb), mpls_proto); eth_hdr 407 net/decnet/dn_neigh.c memcpy(neigh->ha, ð_hdr(skb)->h_source, ETH_ALEN); eth_hdr 466 net/decnet/dn_neigh.c memcpy(neigh->ha, ð_hdr(skb)->h_source, ETH_ALEN); eth_hdr 26 net/dsa/tag_mtk.c unsigned char *dest = eth_hdr(skb)->h_dest; eth_hdr 72 net/dsa/tag_mtk.c unsigned char *dest = eth_hdr(skb)->h_dest; eth_hdr 13 net/dsa/tag_sja1105.c const struct ethhdr *hdr = eth_hdr(skb); eth_hdr 59 net/dsa/tag_sja1105.c const struct ethhdr *hdr = eth_hdr(skb); eth_hdr 117 net/dsa/tag_sja1105.c struct ethhdr *hdr = eth_hdr(skb); eth_hdr 247 net/dsa/tag_sja1105.c hdr = eth_hdr(skb); eth_hdr 219 net/ethernet/eth.c const struct ethhdr *eth = eth_hdr(skb); eth_hdr 280 net/ethernet/eth.c const struct ethhdr *eth = eth_hdr(skb); eth_hdr 47 net/hsr/hsr_forward.c struct ethhdr *eth_hdr; eth_hdr 52 net/hsr/hsr_forward.c eth_hdr = (struct ethhdr *)skb_mac_header(skb); eth_hdr 55 net/hsr/hsr_forward.c if (!ether_addr_equal(eth_hdr->h_dest, eth_hdr 60 net/hsr/hsr_forward.c if (!(eth_hdr->h_proto == htons(ETH_P_PRP) || eth_hdr 61 net/hsr/hsr_forward.c eth_hdr->h_proto == htons(ETH_P_HSR))) eth_hdr 65 net/hsr/hsr_forward.c if (eth_hdr->h_proto == htons(ETH_P_HSR)) { /* Okay HSRv1. */ eth_hdr 111 net/hsr/hsr_forward.c skb->protocol = eth_hdr(skb)->h_proto; eth_hdr 226 net/hsr/hsr_forward.c ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr); eth_hdr 292 net/hsr/hsr_forward.c if (hsr_addr_is_self(hsr, eth_hdr(skb)->h_dest)) { eth_hdr 293 net/hsr/hsr_framereg.c memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); eth_hdr 315 net/hsr/hsr_framereg.c if (!is_unicast_ether_addr(eth_hdr(skb)->h_dest)) eth_hdr 319 net/hsr/hsr_framereg.c eth_hdr(skb)->h_dest); eth_hdr 327 net/hsr/hsr_framereg.c ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); eth_hdr 33 net/hsr/hsr_slave.c if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) { eth_hdr 39 net/hsr/hsr_slave.c protocol = eth_hdr(skb)->h_proto; eth_hdr 413 net/ipv4/ip_tunnel.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 288 net/ipv4/netfilter/nf_log_ipv4.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, eth_hdr 289 net/ipv4/netfilter/nf_log_ipv4.c ntohs(eth_hdr(skb)->h_proto)); eth_hdr 150 net/ipv4/netfilter/nf_reject_ipv4.c struct ethhdr *oeth = eth_hdr(oldskb); eth_hdr 2079 net/ipv6/addrconf.c ifp->idev->dev->name, &ifp->addr, eth_hdr(skb)->h_source); eth_hdr 814 net/ipv6/ip6_tunnel.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 1020 net/ipv6/ndisc.c eth_hdr(skb)->h_source, &ifp->addr, ifp->idev->dev->name); eth_hdr 33 net/ipv6/netfilter/ip6t_eui64.c if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) { eth_hdr 35 net/ipv6/netfilter/ip6t_eui64.c memcpy(eui64, eth_hdr(skb)->h_source, 3); eth_hdr 36 net/ipv6/netfilter/ip6t_eui64.c memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3); eth_hdr 301 net/ipv6/netfilter/nf_log_ipv6.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, eth_hdr 302 net/ipv6/netfilter/nf_log_ipv6.c ntohs(eth_hdr(skb)->h_proto)); eth_hdr 200 net/ipv6/netfilter/nf_reject_ipv6.c struct ethhdr *oeth = eth_hdr(oldskb); eth_hdr 130 net/llc/llc_input.c __be16 pdulen = eth_hdr(skb)->h_proto; eth_hdr 161 net/llc/llc_s_ac.c data_size = ntohs(eth_hdr(skb)->h_proto) - 3; eth_hdr 81 net/llc/llc_station.c data_size = ntohs(eth_hdr(skb)->h_proto) - 3; eth_hdr 230 net/netfilter/ipset/ip_set_bitmap_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); eth_hdr 232 net/netfilter/ipset/ip_set_bitmap_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); eth_hdr 97 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); eth_hdr 99 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); eth_hdr 213 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); eth_hdr 215 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); eth_hdr 85 net/netfilter/ipset/ip_set_hash_mac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); eth_hdr 87 net/netfilter/ipset/ip_set_hash_mac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); eth_hdr 206 net/netfilter/nft_chain_filter.c switch (eth_hdr(skb)->h_proto) { eth_hdr 81 net/netfilter/nft_log.c switch (eth_hdr(skb)->h_proto) { eth_hdr 82 net/netfilter/xt_AUDIT.c switch (eth_hdr(skb)->h_proto) { eth_hdr 36 net/netfilter/xt_mac.c ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); eth_hdr 258 net/openvswitch/actions.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_ALEN * 2); eth_hdr 260 net/openvswitch/actions.c ether_addr_copy_masked(eth_hdr(skb)->h_source, key->eth_src, eth_hdr 262 net/openvswitch/actions.c ether_addr_copy_masked(eth_hdr(skb)->h_dest, key->eth_dst, eth_hdr 265 net/openvswitch/actions.c skb_postpush_rcsum(skb, eth_hdr(skb), ETH_ALEN * 2); eth_hdr 267 net/openvswitch/actions.c ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); eth_hdr 268 net/openvswitch/actions.c ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); eth_hdr 300 net/openvswitch/actions.c hdr = eth_hdr(skb); eth_hdr 774 net/openvswitch/flow.c eth = eth_hdr(skb); eth_hdr 242 net/openvswitch/vport-internal_dev.c skb_postpull_rcsum(skb, eth_hdr(skb), ETH_HLEN); eth_hdr 1786 net/packet/af_packet.c return likely(eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)); eth_hdr 51 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); eth_hdr 53 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); eth_hdr 55 net/sched/act_skbmod.c eth_hdr(skb)->h_proto = p->eth_type; eth_hdr 60 net/sched/act_skbmod.c ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); eth_hdr 61 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); eth_hdr 62 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); eth_hdr 15910 net/wireless/nl80211.c struct ethhdr *ehdr = eth_hdr(skb); eth_hdr 2850 net/wireless/trace.h MAC_ASSIGN(from, eth_hdr(skb)->h_source); eth_hdr 247 net/xfrm/xfrm_input.c eth_hdr(skb)->h_proto = skb->protocol; eth_hdr 285 net/xfrm/xfrm_input.c eth_hdr(skb)->h_proto = skb->protocol; eth_hdr 30 samples/bpf/parse_simple.c struct eth_hdr *eth = data; eth_hdr 63 samples/bpf/tc_l2_redirect_kern.c struct eth_hdr *eth = data; eth_hdr 114 samples/bpf/tc_l2_redirect_kern.c struct eth_hdr *eth = data; eth_hdr 155 samples/bpf/tc_l2_redirect_kern.c struct eth_hdr *eth = data; eth_hdr 210 samples/bpf/tc_l2_redirect_kern.c struct eth_hdr *eth = data; eth_hdr 45 samples/bpf/test_cgrp2_tc_kern.c struct eth_hdr *eth = data; eth_hdr 329 tools/testing/selftests/bpf/progs/test_l4lb.c struct eth_hdr *eth = pkt_start; eth_hdr 458 tools/testing/selftests/bpf/progs/test_l4lb.c struct eth_hdr *eth = data; eth_hdr 462 tools/testing/selftests/bpf/progs/test_l4lb.c nh_off = sizeof(struct eth_hdr); eth_hdr 329 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c struct eth_hdr *eth = pkt_start; eth_hdr 458 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c struct eth_hdr *eth = data; eth_hdr 462 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c nh_off = sizeof(struct eth_hdr); eth_hdr 218 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u64 off = sizeof(struct eth_hdr); eth_hdr 282 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *new_eth; eth_hdr 283 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *old_eth; eth_hdr 294 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h = data + sizeof(struct eth_hdr); eth_hdr 327 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *new_eth; eth_hdr 328 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *old_eth; eth_hdr 342 tools/testing/selftests/bpf/progs/test_xdp_noinline.c iph = data + sizeof(struct eth_hdr); eth_hdr 377 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *new_eth; eth_hdr 378 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *old_eth; eth_hdr 398 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *new_eth; eth_hdr 399 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *old_eth; eth_hdr 417 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *eth; eth_hdr 437 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (data + sizeof(struct eth_hdr) eth_hdr 440 tools/testing/selftests/bpf/progs/test_xdp_noinline.c off += sizeof(struct eth_hdr); eth_hdr 467 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (data + sizeof(struct eth_hdr) eth_hdr 470 tools/testing/selftests/bpf/progs/test_xdp_noinline.c off += sizeof(struct eth_hdr); eth_hdr 699 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *eth = data; eth_hdr 805 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct eth_hdr *eth = data; eth_hdr 809 tools/testing/selftests/bpf/progs/test_xdp_noinline.c nh_off = sizeof(struct eth_hdr);