/drivers/net/wireless/marvell/mwifiex/ |
D | sta_rx.c | 132 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet() 135 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 136 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 253 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
|
D | uap_txrx.c | 149 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt() 151 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt() 152 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt() 198 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt() 302 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet() 410 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
|
/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_debugfs.c | 86 unsigned char h_source[ETH_ALEN]; in mtk_ppe_debugfs_foe_show() local 151 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show() 152 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show() 158 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
|
D | mtk_ppe_offload.c | 260 if (!is_valid_ether_addr(data.eth.h_source) || in mtk_flow_offload_replace() 265 data.eth.h_source, in mtk_flow_offload_replace()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 973 if (!is_broadcast_ether_addr(mask->h_source)) { in gfar_set_ether() 974 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether() 978 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether() 979 mask->h_source[1] << 8 | in gfar_set_ether() 980 mask->h_source[2]; in gfar_set_ether() 981 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether() 982 mask->h_source[4] << 8 | in gfar_set_ether() 983 mask->h_source[5]; in gfar_set_ether() 986 gfar_set_attribute(value->h_source[0] << 16 | in gfar_set_ether() 987 value->h_source[1] << 8 | in gfar_set_ether() [all …]
|
/drivers/net/wireless/marvell/libertas/ |
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/staging/ks7010/ |
D | eap_packet.h | 11 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
|
D | ks_hostif.c | 404 eth_hdr->h_source); in hostif_data_indication_wpa() 439 if (ether_addr_equal(&priv->eth_addr[0], eth_hdr->h_source)) { in hostif_data_indication() 441 netdev_err(priv->net_dev, "eth_hdrernet->h_dest=%pM\n", eth_hdr->h_source); in hostif_data_indication() 1108 if (!ether_addr_equal(&priv->eth_addr[0], eth->h_source)) { in hostif_data_request() 1111 eth->h_source); in hostif_data_request()
|
/drivers/net/usb/ |
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/ |
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/net/wireless/ath/ath10k/ |
D | wow.c | 115 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211() 116 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211() 133 offsetof(struct ethhdr, h_source); in ath10k_wow_convert_8023_to_80211()
|
/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 741 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 742 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule() 1094 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule() 1095 if (!is_broadcast_ether_addr(mac_mask->h_source)) in efx_ethtool_set_class_rule() 1098 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
|
/drivers/net/ethernet/sfc/falcon/ |
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() 1191 if (!is_zero_ether_addr(mac_mask->h_source)) { in ef4_ethtool_set_class_rule() 1192 if (!is_broadcast_ether_addr(mac_mask->h_source)) in ef4_ethtool_set_class_rule() 1195 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in ef4_ethtool_set_class_rule()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 332 if (!is_zero_ether_addr(eth_mask->h_source)) { in dpaa2_eth_prep_eth_rule() 334 ether_addr_copy(key + off, eth_value->h_source); in dpaa2_eth_prep_eth_rule() 335 ether_addr_copy(mask + off, eth_mask->h_source); in dpaa2_eth_prep_eth_rule()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 69 eth_zero_addr(ethh->h_source); in mlx4_en_test_loopback_xmit()
|
/drivers/scsi/fcoe/ |
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() 1351 if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { in fcoe_ctlr_recv_clr_vlink() 1353 "mismatch with FCF src=%pM\n", eh->h_source); in fcoe_ctlr_recv_clr_vlink() 1912 sa = eth_hdr(&fp->skb)->h_source; in fcoe_ctlr_recv_flogi() 2058 hton24(frame->eth.h_source, FIP_VN_FC_MAP); in fcoe_ctlr_vn_send() 2059 hton24(frame->eth.h_source + 3, fip->port_id); in fcoe_ctlr_vn_send() 2061 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_vn_send() 2929 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_vlan_send()
|
/drivers/infiniband/core/ |
D | lag.c | 75 memcpy(eth->h_source, smac, ETH_ALEN); in rdma_build_skb()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 308 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); in parse_ether() 309 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether() 557 if (!is_zero_ether_addr(eth_mask->h_source)) in validate_ethter()
|
D | en_selftest.c | 132 eth_zero_addr(ethh->h_source); in mlx5e_test_get_udp_skb()
|
/drivers/net/ethernet/stmicro/stmmac/ |
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/netdevsim/ |
D | psample.c | 54 eth_random_addr(eth->h_source); in nsim_dev_psample_skb_build()
|
/drivers/net/ipvlan/ |
D | ipvlan_core.c | 616 ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2() 687 if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) { in ipvlan_external_frame()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ethtool.c | 392 ether_addr_copy_swap(rfse.smac_h, eth_h->h_source); in enetc_set_cls_entry() 393 ether_addr_copy_swap(rfse.smac_m, eth_m->h_source); in enetc_set_cls_entry()
|
/drivers/net/hamradio/ |
D | bpqether.c | 202 !ether_addr_equal(eth->h_source, bpq->acpt_addr)) in bpq_rcv()
|
/drivers/net/wireless/ath/wil6210/ |
D | txrx.h | 612 return eth->h_source; in wil_skb_get_sa()
|