h_source 147 arch/powerpc/platforms/ps3/gelic_udbg.c memcpy(&h_eth->h_source, &mac, ETH_ALEN); h_source 435 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_source, cm_node->loc_mac); h_source 465 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_source, cm_node->loc_mac); h_source 736 drivers/media/dvb-core/dvb_net.c eth_zero_addr(h->ethh->h_source); h_source 856 drivers/net/bonding/bond_3ad.c ether_addr_copy(lacpdu_header->hdr.h_source, slave->perm_hwaddr); h_source 909 drivers/net/bonding/bond_3ad.c ether_addr_copy(marker_header->hdr.h_source, slave->perm_hwaddr); h_source 1317 drivers/net/bonding/bond_alb.c ether_addr_copy(eth_data->h_source, h_source 3248 drivers/net/bonding/bond_main.c return ep->h_dest[5] ^ ep->h_source[5] ^ ep->h_proto; h_source 1599 drivers/net/dsa/mv88e6xxx/chip.c is_zero_ether_addr(mac_mask->h_source)) { h_source 1603 drivers/net/dsa/mv88e6xxx/chip.c !is_zero_ether_addr(mac_mask->h_source)) { h_source 1605 drivers/net/dsa/mv88e6xxx/chip.c addr = mac_entry->h_source; h_source 893 drivers/net/ethernet/amd/sunlance.c sbus_writeb(dev->dev_addr[i], ð->h_source[i]); h_source 905 drivers/net/ethernet/amd/sunlance.c eth->h_source[i] = dev->dev_addr[i]; h_source 2988 drivers/net/ethernet/amd/xgbe/xgbe-drv.c netdev_dbg(netdev, "Src MAC addr: %pM\n", eth->h_source); h_source 3986 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c eth->h_source); h_source 4006 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c eth->h_source); h_source 11089 drivers/net/ethernet/broadcom/bnxt/bnxt.c memcpy(new_fltr->src_mac_addr, eth->h_source, ETH_ALEN); h_source 286 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (!is_zero_ether_addr(eth_mask->h_source)) { h_source 288 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c ether_addr_copy(key + off, eth_value->h_source); h_source 289 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c ether_addr_copy(mask + off, eth_mask->h_source); h_source 363 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.smac_h, eth_h->h_source); h_source 364 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.smac_m, eth_m->h_source); h_source 1002 drivers/net/ethernet/freescale/gianfar_ethtool.c if (!is_broadcast_ether_addr(mask->h_source)) { h_source 1003 drivers/net/ethernet/freescale/gianfar_ethtool.c if (is_zero_ether_addr(mask->h_source)) { h_source 1007 drivers/net/ethernet/freescale/gianfar_ethtool.c upper_temp_mask = mask->h_source[0] << 16 | h_source 1008 drivers/net/ethernet/freescale/gianfar_ethtool.c mask->h_source[1] << 8 | h_source 1009 drivers/net/ethernet/freescale/gianfar_ethtool.c mask->h_source[2]; h_source 1010 drivers/net/ethernet/freescale/gianfar_ethtool.c lower_temp_mask = mask->h_source[3] << 16 | h_source 1011 drivers/net/ethernet/freescale/gianfar_ethtool.c mask->h_source[4] << 8 | h_source 1012 drivers/net/ethernet/freescale/gianfar_ethtool.c mask->h_source[5]; h_source 1015 drivers/net/ethernet/freescale/gianfar_ethtool.c gfar_set_attribute(value->h_source[0] << 16 | h_source 1016 drivers/net/ethernet/freescale/gianfar_ethtool.c value->h_source[1] << 8 | h_source 1017 drivers/net/ethernet/freescale/gianfar_ethtool.c value->h_source[2], h_source 1020 drivers/net/ethernet/freescale/gianfar_ethtool.c gfar_set_attribute(value->h_source[3] << 16 | h_source 1021 drivers/net/ethernet/freescale/gianfar_ethtool.c value->h_source[4] << 8 | h_source 1022 drivers/net/ethernet/freescale/gianfar_ethtool.c value->h_source[5], h_source 164 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_zero_addr(ethh->h_source); h_source 5259 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (is_zero_ether_addr(ether_spec->h_source)) h_source 5469 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->h_u.ether_spec.h_source); h_source 5471 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->m_u.ether_spec.h_source); h_source 5911 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ether_addr_copy(fs->h_u.ether_spec.h_source, h_source 5914 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c eth_zero_addr(fs->m_u.ether_spec.h_source); h_source 5916 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ether_addr_copy(fs->m_u.ether_spec.h_source, h_source 2489 drivers/net/ethernet/intel/igb/igb_ethtool.c ether_addr_copy(fsp->h_u.ether_spec.h_source, h_source 2494 drivers/net/ethernet/intel/igb/igb_ethtool.c eth_broadcast_addr(fsp->m_u.ether_spec.h_source); h_source 2953 drivers/net/ethernet/intel/igb/igb_ethtool.c if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { h_source 2956 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->h_u.ether_spec.h_source); h_source 916 drivers/net/ethernet/intel/igc/igc_ethtool.c ether_addr_copy(fsp->h_u.ether_spec.h_source, h_source 921 drivers/net/ethernet/intel/igc/igc_ethtool.c eth_broadcast_addr(fsp->m_u.ether_spec.h_source); h_source 1388 drivers/net/ethernet/intel/igc/igc_ethtool.c if (is_broadcast_ether_addr(fsp->m_u.ether_spec.h_source)) { h_source 1391 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->h_u.ether_spec.h_source); h_source 1213 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c eth_hdr(skb)->h_source)) { h_source 1359 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!is_zero_ether_addr(eth_mask->h_source)) h_source 745 drivers/net/ethernet/mellanox/mlx4/en_rx.c mac_hash = ethh->h_source[MLX4_EN_MAC_HASH_IDX]; h_source 749 drivers/net/ethernet/mellanox/mlx4/en_rx.c ethh->h_source)) h_source 69 drivers/net/ethernet/mellanox/mlx4/en_selftest.c eth_zero_addr(ethh->h_source); h_source 192 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ether_addr_copy(eth->h_source, dev->dev_addr); h_source 297 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); h_source 298 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); h_source 506 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!is_zero_ether_addr(eth_mask->h_source)) h_source 630 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c ether_addr_copy(eth->h_source, e->route_dev->dev_addr); h_source 133 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c eth_zero_addr(ethh->h_source); h_source 2293 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SMAC_47_16, 4, eth.h_source[0], 0, smac_47_16), h_source 2294 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SMAC_15_0, 2, eth.h_source[4], 0, smac_15_0), h_source 1708 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ether_addr_copy(remote_mac_addr, ethh->h_source); h_source 1712 drivers/net/ethernet/qlogic/qed/qed_iwarp.c eth_type, ethh->h_source); h_source 205 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c memcpy(&src_addr, phdr->h_source, ETH_ALEN); h_source 316 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (ether_addr_equal(phdr->h_source, adapter->mac_addr)) h_source 328 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c memcpy(&src_addr, phdr->h_source, ETH_ALEN); h_source 670 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (!ether_addr_equal(phdr->h_source, adapter->mac_addr)) h_source 905 drivers/net/ethernet/sfc/ethtool.c ether_addr_copy(mac_entry->h_source, spec.rem_mac); h_source 906 drivers/net/ethernet/sfc/ethtool.c eth_broadcast_addr(mac_mask->h_source); h_source 1255 drivers/net/ethernet/sfc/ethtool.c if (!is_zero_ether_addr(mac_mask->h_source)) { h_source 1256 drivers/net/ethernet/sfc/ethtool.c if (!is_broadcast_ether_addr(mac_mask->h_source)) h_source 1259 drivers/net/ethernet/sfc/ethtool.c ether_addr_copy(spec.rem_mac, mac_entry->h_source); h_source 882 drivers/net/ethernet/sfc/falcon/ethtool.c ether_addr_copy(mac_entry->h_source, spec.rem_mac); h_source 883 drivers/net/ethernet/sfc/falcon/ethtool.c eth_broadcast_addr(mac_mask->h_source); h_source 1190 drivers/net/ethernet/sfc/falcon/ethtool.c if (!is_zero_ether_addr(mac_mask->h_source)) { h_source 1191 drivers/net/ethernet/sfc/falcon/ethtool.c if (!is_broadcast_ether_addr(mac_mask->h_source)) h_source 1194 drivers/net/ethernet/sfc/falcon/ethtool.c ether_addr_copy(spec.rem_mac, mac_entry->h_source); h_source 383 drivers/net/ethernet/sfc/falcon/selftest.c ether_addr_copy((u8 *)&payload->header.h_source, payload_source); h_source 383 drivers/net/ethernet/sfc/selftest.c ether_addr_copy((u8 *)&payload->header.h_source, payload_source); h_source 109 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c eth_zero_addr(ehdr->h_source); h_source 112 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ether_addr_copy(ehdr->h_source, attr->src); h_source 270 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!ether_addr_equal_unaligned(ehdr->h_source, ehdr->h_dest)) h_source 273 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!ether_addr_equal_unaligned(ehdr->h_source, src)) h_source 719 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (!ether_addr_equal_unaligned(ehdr->h_source, orig_ndev->dev_addr)) h_source 345 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c netdev_dbg(netdev, "Src MAC addr: %pM\n", eth->h_source); h_source 258 drivers/net/geneve.c if (ether_addr_equal(eth_hdr(skb)->h_source, geneve->dev->dev_addr)) { h_source 181 drivers/net/hamradio/bpqether.c !ether_addr_equal(eth->h_source, bpq->acpt_addr)) h_source 599 drivers/net/ipvlan/ipvlan_core.c ether_addr_equal(eth->h_dest, eth->h_source)) { h_source 668 drivers/net/ipvlan/ipvlan_core.c if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) { h_source 426 drivers/net/macsec.c sci = make_sci(hdr->eth.h_source, MACSEC_PORT_ES); h_source 459 drivers/net/macvlan.c macvlan_forward_source(skb, port, eth->h_source); h_source 460 drivers/net/macvlan.c src = macvlan_hash_lookup(port, eth->h_source); h_source 478 drivers/net/macvlan.c macvlan_forward_source(skb, port, eth->h_source); h_source 380 drivers/net/netdevsim/dev.c eth_random_addr(eth->h_source); h_source 578 drivers/net/phy/dp83640.c !memcmp(h->h_source, status_frame_src, sizeof(status_frame_src))) h_source 1013 drivers/net/plip/plip.c memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); h_source 449 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); h_source 506 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); h_source 396 drivers/net/usb/cdc_mbim.c eth_zero_addr(eth_hdr(skb)->h_source); h_source 179 drivers/net/usb/lg-vl600.c memcpy(ethhdr->h_source, h_source 186 drivers/net/usb/lg-vl600.c eth_zero_addr(ethhdr->h_source); h_source 590 drivers/net/usb/qmi_wwan.c eth_zero_addr(eth_hdr(skb)->h_source); h_source 844 drivers/net/usb/sierra_net.c eth_zero_addr(eth_hdr(skb)->h_source); h_source 344 drivers/net/vrf.c ether_addr_copy(eth->h_source, vrf_dev->dev_addr); h_source 1604 drivers/net/vxlan.c if (ether_addr_equal(eth_hdr(skb)->h_source, vxlan->dev->dev_addr)) h_source 1619 drivers/net/vxlan.c vxlan_snoop(skb->dev, &saddr, eth_hdr(skb)->h_source, ifindex, vni)) h_source 1923 drivers/net/vxlan.c daddr = eth_hdr(request)->h_source; h_source 1939 drivers/net/vxlan.c ether_addr_copy(eth_hdr(reply)->h_source, n->ha); h_source 2111 drivers/net/vxlan.c memcpy(eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, h_source 2360 drivers/net/vxlan.c vxlan_snoop(dev, &loopback, eth_hdr(skb)->h_source, 0, vni); h_source 411 drivers/net/wimax/i2400m/netdev.c memcpy(eth_hdr->h_source, i2400m->src_mac_addr, h_source 412 drivers/net/wimax/i2400m/netdev.c sizeof(eth_hdr->h_source)); h_source 1583 drivers/net/wireless/ath/ath10k/htt_rx.c ether_addr_copy(sa, eth->h_source); h_source 3549 drivers/net/wireless/ath/ath10k/mac.c ether_addr_copy(eth->h_source, sa); h_source 115 drivers/net/wireless/ath/ath10k/wow.c memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); h_source 116 drivers/net/wireless/ath/ath10k/wow.c memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); h_source 133 drivers/net/wireless/ath/ath10k/wow.c offsetof(struct ethhdr, h_source); h_source 1427 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_source); h_source 1603 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_source); h_source 426 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); h_source 430 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); h_source 436 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); h_source 621 drivers/net/wireless/ath/wil6210/txrx.h return eth->h_source; h_source 1208 drivers/net/wireless/ath/wil6210/wmi.c ether_addr_copy(eth->h_source, evt->src_mac); h_source 681 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(create->sa, eh->h_source, ETH_ALEN); h_source 416 drivers/net/wireless/intersil/orinoco/main.c eh->h_dest, eh->h_source, 0 /* priority */, h_source 1040 drivers/net/wireless/intersil/orinoco/main.c memcpy(hdr->h_source, desc->addr3, ETH_ALEN); h_source 1042 drivers/net/wireless/intersil/orinoco/main.c memcpy(hdr->h_source, desc->addr2, ETH_ALEN); h_source 123 drivers/net/wireless/marvell/libertas/rx.c memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, h_source 124 drivers/net/wireless/marvell/libertas/rx.c sizeof(p_ethhdr->h_source)); h_source 121 drivers/net/wireless/marvell/mwifiex/sta_rx.c - sizeof(rx_pkt_hdr->eth803_hdr.h_source) h_source 124 drivers/net/wireless/marvell/mwifiex/sta_rx.c memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, h_source 125 drivers/net/wireless/marvell/mwifiex/sta_rx.c sizeof(eth->h_source)); h_source 241 drivers/net/wireless/marvell/mwifiex/sta_rx.c memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); h_source 139 drivers/net/wireless/marvell/mwifiex/uap_txrx.c - sizeof(rx_pkt_hdr->eth803_hdr.h_source) h_source 141 drivers/net/wireless/marvell/mwifiex/uap_txrx.c memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, h_source 142 drivers/net/wireless/marvell/mwifiex/uap_txrx.c sizeof(p_ethhdr->h_source)); h_source 188 drivers/net/wireless/marvell/mwifiex/uap_txrx.c src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); h_source 284 drivers/net/wireless/marvell/mwifiex/uap_txrx.c src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); h_source 386 drivers/net/wireless/marvell/mwifiex/uap_txrx.c ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); h_source 457 drivers/net/wireless/marvell/mwifiex/util.c src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); h_source 995 drivers/net/wireless/ray_cs.c ((struct ethhdr *)data)->h_source, ADDRLEN); h_source 1001 drivers/net/wireless/ray_cs.c ((struct ethhdr *)data)->h_source, ADDRLEN); h_source 2340 drivers/net/wireless/ray_cs.c memcpy(peth->h_source, srcaddr, ADDRLEN); h_source 380 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); h_source 382 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); h_source 534 drivers/scsi/bnx2fc/bnx2fc_fcoe.c mac = eth_hdr(skb)->h_source; h_source 1118 drivers/scsi/bnx2fc/bnx2fc_fcoe.c eth_hdr->h_source, eth_hdr->h_dest); h_source 1372 drivers/scsi/fcoe/fcoe.c !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { h_source 1374 drivers/scsi/fcoe/fcoe.c eh->h_source); h_source 1570 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); h_source 1572 drivers/scsi/fcoe/fcoe.c memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); h_source 397 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(sol->eth.h_source, fip->ctl_src_addr, ETH_ALEN); h_source 556 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(kal->eth.h_source, sa, ETH_ALEN); h_source 638 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(cap->eth.h_source, fip->ctl_src_addr, ETH_ALEN); h_source 1349 drivers/scsi/fcoe/fcoe_ctlr.c if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { h_source 1351 drivers/scsi/fcoe/fcoe_ctlr.c "mismatch with FCF src=%pM\n", eh->h_source); h_source 1909 drivers/scsi/fcoe/fcoe_ctlr.c sa = eth_hdr(&fp->skb)->h_source; h_source 2055 drivers/scsi/fcoe/fcoe_ctlr.c hton24(frame->eth.h_source, FIP_VN_FC_MAP); h_source 2056 drivers/scsi/fcoe/fcoe_ctlr.c hton24(frame->eth.h_source + 3, fip->port_id); h_source 2058 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); h_source 2927 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); h_source 399 drivers/scsi/fnic/fnic_fcs.c memcpy(vlan->eth.h_source, fip->ctl_src_addr, ETH_ALEN); h_source 1121 drivers/scsi/fnic/fnic_fcs.c memcpy(eth_hdr->h_source, fnic->data_src_addr, ETH_ALEN); h_source 36 drivers/scsi/qedf/qedf_fip.c ether_addr_copy(vlan->eth.h_source, qedf->mac); h_source 193 drivers/scsi/qedf/qedf_fip.c skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op, h_source 1141 drivers/scsi/qedf/qedf_main.c ether_addr_copy(eh->h_source, qedf->data_src_addr); h_source 2353 drivers/scsi/qedf/qedf_main.c mac = eth_hdr(skb)->h_source; h_source 11 drivers/staging/ks7010/eap_packet.h unsigned char h_source[ETH_ALEN]; /* source ether addr */ h_source 405 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source); h_source 440 drivers/staging/ks7010/ks_hostif.c if (ether_addr_equal(&priv->eth_addr[0], eth_hdr->h_source)) { h_source 444 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[0], eth_hdr->h_source[1], h_source 445 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[2], eth_hdr->h_source[3], h_source 446 drivers/staging/ks7010/ks_hostif.c eth_hdr->h_source[4], eth_hdr->h_source[5]); h_source 1117 drivers/staging/ks7010/ks_hostif.c if (!ether_addr_equal(&priv->eth_addr[0], eth->h_source)) { h_source 1120 drivers/staging/ks7010/ks_hostif.c eth->h_source); h_source 410 drivers/staging/rtl8188eu/core/rtw_xmit.c memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); h_source 212 drivers/staging/rtl8712/rtl871x_xmit.c memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); h_source 698 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pattrib->src, ðerhdr.h_source, ETH_ALEN); h_source 499 drivers/staging/wlan-ng/p80211conv.c orinoco_spy_gather(wlandev, eth_hdr(skb)->h_source, h_source 48 include/linux/if_vlan.h unsigned char h_source[ETH_ALEN]; h_source 254 include/net/llc_pdu.h memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN); h_source 165 include/uapi/linux/if_ether.h unsigned char h_source[ETH_ALEN]; /* source ether addr */ h_source 638 net/atm/lec.c src = ((struct lecdatahdr_8023 *)skb->data)->h_source; h_source 2246 net/atm/lec.c unsigned char *src = hdr->h_source; h_source 20 net/atm/lec.h unsigned char h_source[ETH_ALEN]; h_source 29 net/atm/lec.h unsigned char h_source[ETH_ALEN]; h_source 713 net/batman-adv/bat_iv_ogm.c ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); h_source 941 net/batman-adv/bat_iv_ogm.c if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && h_source 973 net/batman-adv/bat_iv_ogm.c orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source); h_source 978 net/batman-adv/bat_iv_ogm.c ethhdr->h_source, h_source 1264 net/batman-adv/bat_iv_ogm.c if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && h_source 1347 net/batman-adv/bat_iv_ogm.c if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig)) h_source 1353 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1365 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1378 net/batman-adv/bat_iv_ogm.c (batadv_compare_eth(router->addr, ethhdr->h_source))) h_source 1389 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1403 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1601 net/batman-adv/bat_iv_ogm.c ethhdr->h_source, if_incoming->net_dev->name, h_source 1615 net/batman-adv/bat_iv_ogm.c if (batadv_compare_eth(ethhdr->h_source, h_source 1632 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1638 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1654 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 1661 net/batman-adv/bat_iv_ogm.c ethhdr->h_source); h_source 525 net/batman-adv/bat_v_elp.c if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) h_source 538 net/batman-adv/bat_v_elp.c ethhdr->h_source, ntohl(elp_packet->seqno), h_source 545 net/batman-adv/bat_v_elp.c batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, h_source 705 net/batman-adv/bat_v_ogm.c orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source); h_source 876 net/batman-adv/bat_v_ogm.c ethhdr->h_source, if_incoming->net_dev->name, h_source 891 net/batman-adv/bat_v_ogm.c hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source); h_source 903 net/batman-adv/bat_v_ogm.c ethhdr->h_source); h_source 1005 net/batman-adv/bat_v_ogm.c if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) h_source 382 net/batman-adv/bridge_loop_avoidance.c ether_addr_copy(ethhdr->h_source, mac); h_source 403 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, batadv_print_vid(vid)); h_source 414 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, ethhdr->h_dest, h_source 418 net/batman-adv/bridge_loop_avoidance.c ether_addr_copy(ethhdr->h_source, mac); h_source 421 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source, ethhdr->h_dest, h_source 906 net/batman-adv/bridge_loop_avoidance.c __func__, batadv_print_vid(vid), ethhdr->h_source); h_source 1026 net/batman-adv/bridge_loop_avoidance.c backbone_addr = ethhdr->h_source; h_source 1163 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source, batadv_print_vid(vid), h_source 1176 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, vid)) h_source 1181 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, hw_src, vid)) h_source 1186 net/batman-adv/bridge_loop_avoidance.c if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, h_source 1199 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, h_source 1779 net/batman-adv/bridge_loop_avoidance.c if (!batadv_compare_eth(ethhdr->h_source, h_source 1850 net/batman-adv/bridge_loop_avoidance.c ether_addr_copy(search_claim.addr, ethhdr->h_source); h_source 1861 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source, h_source 1863 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, vid) ? h_source 1867 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, vid); h_source 1899 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, vid); h_source 1963 net/batman-adv/bridge_loop_avoidance.c ether_addr_copy(search_claim.addr, ethhdr->h_source); h_source 1988 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source); h_source 1991 net/batman-adv/bridge_loop_avoidance.c ethhdr->h_source, vid); h_source 1995 net/batman-adv/bridge_loop_avoidance.c __func__, ethhdr->h_source); h_source 1788 net/batman-adv/distributed-arp-table.c batadv_dat_put_dhcp(bat_priv, chaddr, yiaddr, eth_hdr(skb)->h_source, h_source 1825 net/batman-adv/distributed-arp-table.c hw_src = ethhdr->h_source; h_source 759 net/batman-adv/gateway_client.c orig_dst_node = batadv_transtable_search(bat_priv, ethhdr->h_source, h_source 1105 net/batman-adv/network-coding.c second_source = ethhdr->h_source; h_source 1114 net/batman-adv/network-coding.c first_source = ethhdr->h_source; h_source 1384 net/batman-adv/network-coding.c ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); h_source 1427 net/batman-adv/network-coding.c ethhdr->h_source, nc_node); h_source 1528 net/batman-adv/network-coding.c ethhdr->h_source, h_source 1577 net/batman-adv/network-coding.c ethhdr->h_source, h_source 1749 net/batman-adv/network-coding.c dest = ethhdr->h_source; h_source 197 net/batman-adv/routing.c if (!is_valid_ether_addr(ethhdr->h_source)) h_source 376 net/batman-adv/routing.c if (is_multicast_ether_addr(ethhdr->h_source)) h_source 474 net/batman-adv/routing.c if (is_multicast_ether_addr(ethhdr->h_source)) h_source 690 net/batman-adv/routing.c ethhdr->h_source, unicast_packet->dest); h_source 994 net/batman-adv/routing.c orig_addr_gw = eth_hdr(skb)->h_source; h_source 1206 net/batman-adv/routing.c if (is_multicast_ether_addr(ethhdr->h_source)) h_source 1210 net/batman-adv/routing.c if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) h_source 92 net/batman-adv/send.c ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); h_source 415 net/batman-adv/send.c src = ethhdr->h_source; h_source 895 net/batman-adv/send.c neigh_addr = eth_hdr(forw_packet->skb)->h_source; h_source 247 net/batman-adv/soft-interface.c if (!is_multicast_ether_addr(ethhdr->h_source) && h_source 248 net/batman-adv/soft-interface.c !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { h_source 249 net/batman-adv/soft-interface.c client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, h_source 479 net/batman-adv/soft-interface.c ethhdr->h_source, vid); h_source 486 net/batman-adv/soft-interface.c batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, h_source 494 net/batman-adv/soft-interface.c } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, h_source 55 net/bluetooth/bnep/core.c if (ether_addr_equal(dst, s->eh.h_source)) h_source 388 net/bluetooth/bnep/core.c __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); h_source 437 net/bluetooth/bnep/core.c if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) h_source 440 net/bluetooth/bnep/core.c if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) h_source 449 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; h_source 596 net/bluetooth/bnep/core.c memcpy(s->eh.h_source, &dst, ETH_ALEN); h_source 679 net/bluetooth/bnep/core.c memcpy(ci->dst, s->eh.h_source, ETH_ALEN); h_source 273 net/bridge/br_arp_nd_proxy.c daddr = eth_hdr(request)->h_source; h_source 291 net/bridge/br_arp_nd_proxy.c ether_addr_copy(eth_hdr(reply)->h_source, n->ha); h_source 247 net/bridge/br_forward.c const unsigned char *src = eth_hdr(skb)->h_source; h_source 91 net/bridge/br_input.c br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, false); h_source 187 net/bridge/br_input.c br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, false); h_source 265 net/bridge/br_input.c if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) h_source 240 net/bridge/br_multicast.c ether_addr_copy(eth->h_source, br->dev->dev_addr); h_source 337 net/bridge/br_multicast.c ether_addr_copy(eth->h_source, br->dev->dev_addr); h_source 964 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; h_source 1041 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; h_source 1623 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; h_source 1706 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; h_source 1718 net/bridge/br_multicast.c src = eth_hdr(skb)->h_source; h_source 230 net/bridge/br_stp_bpdu.c eth_hdr(skb)->h_source, h_source 144 net/bridge/netfilter/ebt_among.c smac = eth_hdr(skb)->h_source; h_source 89 net/bridge/netfilter/ebt_log.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, h_source 28 net/bridge/netfilter/ebt_snat.c ether_addr_copy(eth_hdr(skb)->h_source, info->mac); h_source 153 net/bridge/netfilter/ebtables.c !ether_addr_equal_masked(h->h_source, e->sourcemac, h_source 30 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); h_source 31 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); h_source 2900 net/core/ethtool.c if (!is_zero_ether_addr(ether_m_spec->h_source)) { h_source 2902 net/core/ethtool.c ether_spec->h_source); h_source 2904 net/core/ethtool.c ether_m_spec->h_source); h_source 456 net/core/netpoll.c ether_addr_copy(eth->h_source, np->dev->dev_addr); h_source 407 net/decnet/dn_neigh.c memcpy(neigh->ha, ð_hdr(skb)->h_source, ETH_ALEN); h_source 466 net/decnet/dn_neigh.c memcpy(neigh->ha, ð_hdr(skb)->h_source, ETH_ALEN); h_source 60 net/dsa/tag_sja1105.c u64 smac = ether_addr_to_u64(hdr->h_source); h_source 96 net/ethernet/eth.c memcpy(eth->h_source, saddr, ETH_ALEN); h_source 220 net/ethernet/eth.c memcpy(haddr, eth->h_source, ETH_ALEN); h_source 245 net/ethernet/eth.c memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); h_source 226 net/hsr/hsr_forward.c ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr); h_source 191 net/hsr/hsr_framereg.c if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) h_source 193 net/hsr/hsr_framereg.c if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) h_source 214 net/hsr/hsr_framereg.c return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out); h_source 258 net/hsr/hsr_framereg.c ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); h_source 293 net/hsr/hsr_framereg.c memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); h_source 33 net/hsr/hsr_slave.c if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) { h_source 288 net/ipv4/netfilter/nf_log_ipv4.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, h_source 156 net/ipv4/netfilter/nf_reject_ipv4.c oeth->h_source, oeth->h_dest, nskb->len) < 0) h_source 2079 net/ipv6/addrconf.c ifp->idev->dev->name, &ifp->addr, eth_hdr(skb)->h_source); h_source 1020 net/ipv6/ndisc.c eth_hdr(skb)->h_source, &ifp->addr, ifp->idev->dev->name); h_source 35 net/ipv6/netfilter/ip6t_eui64.c memcpy(eui64, eth_hdr(skb)->h_source, 3); h_source 36 net/ipv6/netfilter/ip6t_eui64.c memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3); h_source 301 net/ipv6/netfilter/nf_log_ipv6.c eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, h_source 206 net/ipv6/netfilter/nf_reject_ipv6.c oeth->h_source, oeth->h_dest, nskb->len) < 0) { h_source 2506 net/mac80211/rx.c !ether_addr_equal(ehdr->h_dest, ehdr->h_source)) { h_source 2575 net/mac80211/rx.c const u8 *check_da = ethhdr.h_dest, *check_sa = ethhdr.h_source; h_source 3193 net/mac80211/tx.c ether_addr_copy(amsdu_hdr->h_source, h_80211_src); h_source 3494 net/mac80211/tx.c memcpy(skb->data + fast_tx->sa_offs, eth.h_source, ETH_ALEN); h_source 4006 net/mac80211/tx.c if (unlikely(ether_addr_equal(eth->h_source, sta->sta.addr))) h_source 5117 net/mac80211/tx.c memcpy(ehdr->h_source, sdata->vif.addr, ETH_ALEN); h_source 372 net/ncsi/ncsi-cmd.c eth_broadcast_addr(eh->h_source); h_source 230 net/netfilter/ipset/ip_set_bitmap_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); h_source 97 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); h_source 213 net/netfilter/ipset/ip_set_hash_ipmac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); h_source 85 net/netfilter/ipset/ip_set_hash_mac.c ether_addr_copy(e.ether, eth_hdr(skb)->h_source); h_source 164 net/netfilter/nft_payload.c case offsetof(struct ethhdr, h_source): h_source 36 net/netfilter/xt_mac.c ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); h_source 260 net/openvswitch/actions.c ether_addr_copy_masked(eth_hdr(skb)->h_source, key->eth_src, h_source 267 net/openvswitch/actions.c ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); h_source 301 net/openvswitch/actions.c ether_addr_copy(hdr->h_source, ethh->addresses.eth_src); h_source 775 net/openvswitch/flow.c ether_addr_copy(key->eth.src, eth->h_source); h_source 831 net/sched/act_ife.c ether_addr_copy(oethh->h_source, p->eth_src); h_source 53 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); h_source 61 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); h_source 62 net/sched/act_skbmod.c ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); h_source 15911 net/wireless/nl80211.c const u8 *addr = ehdr->h_source; h_source 2850 net/wireless/trace.h MAC_ASSIGN(from, eth_hdr(skb)->h_source); h_source 480 net/wireless/util.c memcpy(tmp.h_source, ieee80211_get_SA(hdr), ETH_ALEN); h_source 517 net/wireless/util.c ether_addr_equal(tmp.h_source, addr))) h_source 525 net/wireless/util.c tmp.h_source, ETH_ALEN); h_source 689 net/wireless/util.c (check_sa && !ether_addr_equal(check_sa, eth.h_source))) { h_source 22 samples/bpf/parse_simple.c unsigned char h_source[ETH_ALEN]; h_source 36 samples/bpf/tc_l2_redirect_kern.c unsigned char h_source[ETH_ALEN]; h_source 18 samples/bpf/test_cgrp2_tc_kern.c unsigned char h_source[ETH_ALEN]; h_source 180 samples/bpf/test_lwt_bpf.c memcpy(&ehdr.h_source, &smac, 6); h_source 50 samples/bpf/xdp_adjust_tail_kern.c memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); h_source 51 samples/bpf/xdp_adjust_tail_kern.c memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); h_source 139 samples/bpf/xdp_fwd_kern.c memcpy(eth->h_source, fib_params.smac, ETH_ALEN); h_source 72 samples/bpf/xdp_tx_iptunnel_kern.c memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); h_source 75 tools/testing/selftests/bpf/progs/test_xdp.c memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); h_source 71 tools/testing/selftests/bpf/progs/test_xdp_loop.c memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); h_source 503 tools/testing/selftests/net/msg_zerocopy.c memset(eth.h_source, 0x02, ETH_ALEN);