| /drivers/net/wireless/marvell/mwifiex/ |
| A D | sta_rx.c | 120 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet() 123 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 124 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 241 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
|
| A D | uap_txrx.c | 137 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt() 139 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt() 140 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt() 186 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt() 290 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet() 398 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
|
| /drivers/net/ethernet/airoha/ |
| A D | airoha_ppe_debugfs.c | 63 unsigned char h_source[ETH_ALEN] = {}; in airoha_ppe_debugfs_foe_show() local 144 *((__be16 *)&h_source[4]) = in airoha_ppe_debugfs_foe_show() 152 *((__be32 *)h_source) = cpu_to_be32(l2->src_mac_hi); in airoha_ppe_debugfs_foe_show() 157 h_source, h_dest, l2->etype, data, in airoha_ppe_debugfs_foe_show()
|
| A D | airoha_ppe.c | 213 br->src_mac_hi = get_unaligned_be16(eh->h_source); in airoha_ppe_foe_set_bridge_addrs() 214 br->src_mac_lo = get_unaligned_be32(eh->h_source + 2); in airoha_ppe_foe_set_bridge_addrs() 298 l2->src_mac_hi = get_unaligned_be32(data->eth.h_source); in airoha_ppe_foe_entry_prepare() 300 get_unaligned_be16(data->eth.h_source + 4); in airoha_ppe_foe_entry_prepare() 945 memcpy(data.eth.h_source, match.key->src, ETH_ALEN); in airoha_ppe_flow_offload_replace() 997 if (!is_valid_ether_addr(data.eth.h_source) || in airoha_ppe_flow_offload_replace()
|
| /drivers/net/ethernet/mediatek/ |
| A D | mtk_ppe_debugfs.c | 87 unsigned char h_source[ETH_ALEN]; in mtk_ppe_debugfs_foe_show() local 154 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show() 155 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show() 162 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
|
| A D | mtk_ppe_offload.c | 314 memcpy(data.eth.h_source, match.key->src, ETH_ALEN); in mtk_flow_offload_replace() 377 if (!is_valid_ether_addr(data.eth.h_source) || in mtk_flow_offload_replace() 382 data.eth.h_source, data.eth.h_dest); in mtk_flow_offload_replace()
|
| /drivers/net/ethernet/freescale/ |
| A D | gianfar_ethtool.c | 994 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether() 998 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether() 999 mask->h_source[1] << 8 | in gfar_set_ether() 1000 mask->h_source[2]; in gfar_set_ether() 1001 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether() 1002 mask->h_source[4] << 8 | in gfar_set_ether() 1003 mask->h_source[5]; in gfar_set_ether() 1007 value->h_source[1] << 8 | in gfar_set_ether() 1008 value->h_source[2], in gfar_set_ether() 1012 value->h_source[4] << 8 | in gfar_set_ether() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/mei/ |
| A D | net.c | 398 memcpy(ethhdr.h_source, ieee80211_get_SA(hdr), ETH_ALEN); in iwl_mei_tx_copy_to_csme() 405 eth = skb_push(skb, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source)); in iwl_mei_tx_copy_to_csme() 406 memcpy(eth, ðhdr, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source)); in iwl_mei_tx_copy_to_csme()
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | rx.c | 120 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet() 121 sizeof(p_ethhdr->h_source)); in lbs_process_rxed_packet()
|
| /drivers/net/usb/ |
| A D | lg-vl600.c | 179 memcpy(ethhdr->h_source, in vl600_rx_fixup() 186 eth_zero_addr(ethhdr->h_source); in vl600_rx_fixup()
|
| /drivers/scsi/qedf/ |
| A D | qedf_fip.c | 36 ether_addr_copy(vlan->eth.h_source, qedf->mac); in qedf_fcoe_send_vlan_req() 193 skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op, in qedf_fip_recv()
|
| /drivers/scsi/fnic/ |
| A D | fip.c | 77 memcpy(pvlan_req->eth.h_source, iport->hwmac, ETH_ALEN); in fnic_fcoe_send_vlan_req() 219 memcpy(pdisc_sol->eth.h_source, iport->hwmac, ETH_ALEN); in fnic_fcoe_start_fcf_discovery() 410 memcpy(pflogi_req->eth.h_source, iport->hwmac, ETH_ALEN); in fnic_fcoe_start_flogi() 827 memcpy(penode_ka->eth.h_source, iport->hwmac, ETH_ALEN); in fnic_handle_enode_ka_timer() 882 memcpy(pvn_port_ka->eth.h_source, iport->fpma, ETH_ALEN); in fnic_handle_vn_ka_timer()
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | wow.c | 116 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211() 117 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211() 134 offsetof(struct ethhdr, h_source); in ath10k_wow_convert_8023_to_80211()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | ethtool_common.c | 736 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 737 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule() 1080 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule() 1081 if (!is_broadcast_ether_addr(mac_mask->h_source)) in efx_ethtool_set_class_rule() 1084 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
|
| /drivers/net/ethernet/sfc/ |
| A D | ethtool_common.c | 735 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 736 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule() 1089 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule() 1090 if (!is_broadcast_ether_addr(mac_mask->h_source)) in efx_ethtool_set_class_rule() 1093 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | ethtool.c | 883 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in ef4_ethtool_get_class_rule() 884 eth_broadcast_addr(mac_mask->h_source); in ef4_ethtool_get_class_rule() 1199 if (!is_zero_ether_addr(mac_mask->h_source)) { in ef4_ethtool_set_class_rule() 1200 if (!is_broadcast_ether_addr(mac_mask->h_source)) in ef4_ethtool_set_class_rule() 1203 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in ef4_ethtool_set_class_rule()
|
| /drivers/scsi/fcoe/ |
| A D | fcoe_ctlr.c | 398 memcpy(sol->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_solicit() 557 memcpy(kal->eth.h_source, sa, ETH_ALEN); in fcoe_ctlr_send_keep_alive() 640 memcpy(cap->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_encaps() 1346 if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { in fcoe_ctlr_recv_clr_vlink() 1348 "mismatch with FCF src=%pM\n", eh->h_source); in fcoe_ctlr_recv_clr_vlink() 1904 sa = eth_hdr(&fp->skb)->h_source; in fcoe_ctlr_recv_flogi() 2050 hton24(frame->eth.h_source, FIP_VN_FC_MAP); in fcoe_ctlr_vn_send() 2051 hton24(frame->eth.h_source + 3, fip->port_id); in fcoe_ctlr_vn_send() 2053 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_vn_send() 2921 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_vlan_send()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_selftest.c | 69 eth_zero_addr(ethh->h_source); in mlx4_en_test_loopback_xmit()
|
| /drivers/infiniband/core/ |
| A D | lag.c | 74 memcpy(eth->h_source, smac, ETH_ALEN); in rdma_build_skb()
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | wow.c | 195 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); in ath11k_wow_convert_8023_to_80211() 196 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); in ath11k_wow_convert_8023_to_80211() 213 offsetof(struct ethhdr, h_source); in ath11k_wow_convert_8023_to_80211()
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-ethtool.c | 359 if (!is_zero_ether_addr(eth_mask->h_source)) { in dpaa2_eth_prep_eth_rule() 361 ether_addr_copy(key + off, eth_value->h_source); in dpaa2_eth_prep_eth_rule() 362 ether_addr_copy(mask + off, eth_mask->h_source); in dpaa2_eth_prep_eth_rule()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | vlan.c | 79 memcpy(attr->eth.h_source, act->vlan_push_eth.src, ETH_ALEN); in parse_tc_vlan_action()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_fs_ethtool.c | 321 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); in parse_ether() 322 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether() 565 if (!is_zero_ether_addr(eth_mask->h_source)) in validate_ethter()
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac_selftests.c | 111 eth_zero_addr(ehdr->h_source); in stmmac_test_get_udp_skb() 114 ether_addr_copy(ehdr->h_source, attr->src); in stmmac_test_get_udp_skb() 275 if (!ether_addr_equal_unaligned(ehdr->h_source, ehdr->h_dest)) in stmmac_test_loopback_validate() 278 if (!ether_addr_equal_unaligned(ehdr->h_source, src)) in stmmac_test_loopback_validate() 723 if (!ether_addr_equal_unaligned(ehdr->h_source, orig_ndev->dev_addr)) in stmmac_test_flowctrl_validate()
|
| /drivers/net/ipvlan/ |
| A D | ipvlan_core.c | 628 ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2() 699 if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) { in ipvlan_external_frame()
|