Home
last modified time | relevance | path

Searched refs:ether_addr_copy (Results 1 – 179 of 179) sorted by relevance

/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211conv.c301 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
302 ether_addr_copy(saddr, w_hdr->a3.a2); in skb_p80211_to_ether()
305 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
306 ether_addr_copy(saddr, w_hdr->a3.a3); in skb_p80211_to_ether()
309 ether_addr_copy(daddr, w_hdr->a3.a3); in skb_p80211_to_ether()
310 ether_addr_copy(saddr, w_hdr->a3.a2); in skb_p80211_to_ether()
318 ether_addr_copy(daddr, w_hdr->a4.a3); in skb_p80211_to_ether()
319 ether_addr_copy(saddr, w_hdr->a4.a4); in skb_p80211_to_ether()
410 ether_addr_copy(e_hdr->daddr, daddr); in skb_p80211_to_ether()
411 ether_addr_copy(e_hdr->saddr, saddr); in skb_p80211_to_ether()
[all …]
Dprism2sta.c1559 ether_addr_copy(rec.address, inf->info.authreq.sta_addr); in prism2sta_inf_authreq_defer()
1672 ether_addr_copy( in prism2sta_inf_authreq_defer()
/linux-4.4.14/net/hsr/
Dhsr_framereg.c108 ether_addr_copy(node->MacAddressA, addr_a); in hsr_create_self_node()
109 ether_addr_copy(node->MacAddressB, addr_b); in hsr_create_self_node()
143 ether_addr_copy(node->MacAddressA, addr); in hsr_add_node()
228 ether_addr_copy(node_real->MacAddressB, eth_hdr(skb)->h_source); in hsr_handle_sup_frame()
294 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->MacAddressB); in hsr_addr_subst_dest()
419 ether_addr_copy(addr, node->MacAddressA); in hsr_get_next_node()
425 ether_addr_copy(addr, node->MacAddressA); in hsr_get_next_node()
454 ether_addr_copy(addr_b, node->MacAddressB); in hsr_get_node_data()
Dhsr_device.c309 ether_addr_copy(hsr_sp->MacAddressA, master->dev->dev_addr); in send_hsr_supervision_frame()
442 ether_addr_copy(hsr_dev->dev_addr, slave[0]->dev_addr); in hsr_dev_finalize()
462 ether_addr_copy(hsr->sup_multicast_addr, def_multicast_addr); in hsr_dev_finalize()
Dhsr_main.c65 ether_addr_copy(master->dev->dev_addr, dev->dev_addr); in hsr_netdev_notify()
Dhsr_forward.c215 ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr); in hsr_xmit()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_recv.c811 ether_addr_copy(pattrib->dst, hdr->addr1); in sta2sta_data_frame()
812 ether_addr_copy(pattrib->src, hdr->addr2); in sta2sta_data_frame()
813 ether_addr_copy(pattrib->bssid, hdr->addr3); in sta2sta_data_frame()
814 ether_addr_copy(pattrib->ra, pattrib->dst); in sta2sta_data_frame()
815 ether_addr_copy(pattrib->ta, pattrib->src); in sta2sta_data_frame()
923 ether_addr_copy(pattrib->dst, hdr->addr1); in ap2sta_data_frame()
924 ether_addr_copy(pattrib->src, hdr->addr2); in ap2sta_data_frame()
925 ether_addr_copy(pattrib->bssid, hdr->addr3); in ap2sta_data_frame()
926 ether_addr_copy(pattrib->ra, pattrib->dst); in ap2sta_data_frame()
927 ether_addr_copy(pattrib->ta, pattrib->src); in ap2sta_data_frame()
[all …]
Drtw_xmit.c429 ether_addr_copy(pattrib->dst, ehdr->h_dest); in update_attrib()
430 ether_addr_copy(pattrib->src, ehdr->h_source); in update_attrib()
436 ether_addr_copy(pattrib->ra, pattrib->dst); in update_attrib()
437 ether_addr_copy(pattrib->ta, pattrib->src); in update_attrib()
439 ether_addr_copy(pattrib->ra, get_bssid(pmlmepriv)); in update_attrib()
440 ether_addr_copy(pattrib->ta, pattrib->src); in update_attrib()
442 ether_addr_copy(pattrib->ra, pattrib->dst); in update_attrib()
443 ether_addr_copy(pattrib->ta, get_bssid(pmlmepriv)); in update_attrib()
881 ether_addr_copy(pwlanhdr->addr1, get_bssid(pmlmepriv)); in rtw_make_wlanhdr()
882 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in rtw_make_wlanhdr()
[all …]
Drtw_mlme_ext.c1087 ether_addr_copy(pstat->hwaddr, sa); in OnAuth23a()
2392 ether_addr_copy(mgmt->da, bc_addr); in issue_beacon23a()
2393 ether_addr_copy(mgmt->sa, myid(&padapter->eeprompriv)); in issue_beacon23a()
2394 ether_addr_copy(mgmt->bssid, get_my_bssid23a(cur_network)); in issue_beacon23a()
2545 ether_addr_copy(mgmt->da, da); in issue_probersp()
2546 ether_addr_copy(mgmt->sa, mac); in issue_probersp()
2547 ether_addr_copy(mgmt->bssid, bssid); in issue_probersp()
2702 ether_addr_copy(pwlanhdr->addr1, da); in _issue_probereq()
2703 ether_addr_copy(pwlanhdr->addr3, da); in _issue_probereq()
2706 ether_addr_copy(pwlanhdr->addr1, bc_addr); in _issue_probereq()
[all …]
Drtw_cmd.c517 ether_addr_copy(&pmlmepriv->assoc_bssid[0], in rtw_joinbss_cmd23a()
698 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd23a()
768 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_clearstakey_cmd23a()
806 ether_addr_copy(paddbareq_parm->addr, addr); in rtw_addbareq_cmd23a()
Drtw_sta_mgt.c134 ether_addr_copy(psta->hwaddr, hwaddr); in rtw_alloc_stainfo23a()
Drtw_mlme.c2025 ether_addr_copy(pdev_network->MacAddress, myhwaddr); in rtw_init_registrypriv_dev_network23a()
/linux-4.4.14/net/bridge/netfilter/
Debt_redirect.c28 ether_addr_copy(eth_hdr(skb)->h_dest, in ebt_redirect_tg()
31 ether_addr_copy(eth_hdr(skb)->h_dest, par->in->dev_addr); in ebt_redirect_tg()
Debt_dnat.c25 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac); in ebt_dnat_tg()
Debt_snat.c27 ether_addr_copy(eth_hdr(skb)->h_source, info->mac); in ebt_snat_tg()
Dnft_reject_bridge.c34 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); in nft_reject_br_push_etherhdr()
35 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); in nft_reject_br_push_etherhdr()
Debt_among.c31 ether_addr_copy(((char *) cmp) + 2, mac); in ebt_mac_wormhash_contains()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c533 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
534 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
537 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
538 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
541 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
542 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
545 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
546 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
599 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure()
Drtllib_tx.c611 ether_addr_copy(dest, skb->data); in rtllib_xmit_inter()
612 ether_addr_copy(src, skb->data + ETH_ALEN); in rtllib_xmit_inter()
698 ether_addr_copy(header.addr1, in rtllib_xmit_inter()
700 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
702 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
705 ether_addr_copy(header.addr3, dest); in rtllib_xmit_inter()
710 ether_addr_copy(header.addr1, dest); in rtllib_xmit_inter()
711 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
712 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
Drtllib_softmac.c359 ether_addr_copy(req->header.addr2, ieee->dev->dev_addr); in rtllib_probe_req()
798 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req()
799 ether_addr_copy(auth->header.addr2, ieee->dev->dev_addr); in rtllib_authentication_req()
800 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req()
892 ether_addr_copy(beacon_buf->header.addr1, dest); in rtllib_probe_resp()
893 ether_addr_copy(beacon_buf->header.addr2, ieee->dev->dev_addr); in rtllib_probe_resp()
894 ether_addr_copy(beacon_buf->header.addr3, ieee->current_network.bssid); in rtllib_probe_resp()
989 ether_addr_copy(assoc->header.addr1, dest); in rtllib_assoc_resp()
990 ether_addr_copy(assoc->header.addr3, ieee->dev->dev_addr); in rtllib_assoc_resp()
991 ether_addr_copy(assoc->header.addr2, ieee->dev->dev_addr); in rtllib_assoc_resp()
[all …]
Drtl819x_BAProc.c101 ether_addr_copy(BAReq->addr1, Dst); in rtllib_ADDBA()
102 ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr); in rtllib_ADDBA()
104 ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); in rtllib_ADDBA()
165 ether_addr_copy(Delba->addr1, dst); in rtllib_DELBA()
166 ether_addr_copy(Delba->addr2, ieee->dev->dev_addr); in rtllib_DELBA()
167 ether_addr_copy(Delba->addr3, ieee->current_network.bssid); in rtllib_DELBA()
Drtllib_rx.c148 ether_addr_copy(entry->src_addr, hdr->addr2); in rtllib_frag_cache_get()
149 ether_addr_copy(entry->dst_addr, hdr->addr1); in rtllib_frag_cache_get()
416 ether_addr_copy(entry->mac, mac); in is_duplicate_packet()
975 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr()
976 ether_addr_copy(src, hdr->addr3); in rtllib_rx_extract_addr()
977 ether_addr_copy(bssid, hdr->addr2); in rtllib_rx_extract_addr()
980 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
981 ether_addr_copy(src, hdr->addr2); in rtllib_rx_extract_addr()
982 ether_addr_copy(bssid, hdr->addr1); in rtllib_rx_extract_addr()
985 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
[all …]
Drtllib_softmac_wx.c163 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
180 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
Drtllib_wx.c64 ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); in rtl819x_translate_scan()
/linux-4.4.14/net/batman-adv/
Dbridge_loop_avoidance.c204 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find()
318 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
327 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
336 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
346 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
347 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
409 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
578 ether_addr_copy(search_claim.addr, mac); in batadv_bla_add_claim()
588 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim()
639 ether_addr_copy(search_claim.addr, mac); in batadv_bla_del_claim()
[all …]
Dnetwork-coding.c847 ether_addr_copy(nc_node->addr, orig_node->orig); in batadv_nc_get_nc_node()
970 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
971 ether_addr_copy(nc_path->prev_hop, src); in batadv_nc_get_path()
1143 ether_addr_copy(coded_packet->first_source, first_source); in batadv_nc_code_packets()
1144 ether_addr_copy(coded_packet->first_orig_dest, packet1->dest); in batadv_nc_code_packets()
1149 ether_addr_copy(coded_packet->second_dest, second_dest); in batadv_nc_code_packets()
1150 ether_addr_copy(coded_packet->second_source, second_source); in batadv_nc_code_packets()
1151 ether_addr_copy(coded_packet->second_orig_dest, packet2->dest); in batadv_nc_code_packets()
1376 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1377 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
[all …]
Drouting.c250 ether_addr_copy(icmph->dst, icmph->orig); in batadv_recv_my_icmp_packet()
251 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); in batadv_recv_my_icmp_packet()
304 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()
305 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded()
367 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet()
692 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
802 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
Dsend.c81 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
82 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
187 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
242 ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); in batadv_send_skb_prepare_unicast_4addr()
Dicmp_socket.c258 ether_addr_copy(icmp_packet_rr->rr[0], addr); in batadv_socket_write()
279 ether_addr_copy(icmp_header->orig, primary_if->net_dev->dev_addr); in batadv_socket_write()
Dfragmentation.c475 ether_addr_copy(frag_header.orig, primary_if->net_dev->dev_addr); in batadv_frag_send_packet()
476 ether_addr_copy(frag_header.dest, orig_node->orig); in batadv_frag_send_packet()
Dsoft-interface.c139 ether_addr_copy(old_addr, dev->dev_addr); in batadv_interface_set_mac_addr()
140 ether_addr_copy(dev->dev_addr, addr->sa_data); in batadv_interface_set_mac_addr()
329 ether_addr_copy(bcast_packet->orig, in batadv_interface_tx()
Dtranslation-table.c122 ether_addr_copy(to_search.addr, addr); in batadv_tt_hash_find()
382 ether_addr_copy(tt_change_node->change.addr, common->addr); in batadv_tt_local_event()
612 ether_addr_copy(tt_local->common.addr, addr); in batadv_tt_local_add()
1379 ether_addr_copy(common->addr, tt_addr); in batadv_tt_global_add()
2311 ether_addr_copy(tt_req_node->addr, orig_node->orig); in batadv_tt_req_node_new()
2391 ether_addr_copy(tt_change->addr, tt_common_entry->addr); in batadv_tt_tvlv_generate()
3082 ether_addr_copy(tt_roam_node->addr, client); in batadv_tt_check_roam_count()
Doriginator.c489 ether_addr_copy(neigh_node->addr, neigh_addr); in batadv_neigh_node_new()
675 ether_addr_copy(orig_node->orig, addr); in batadv_orig_node_new()
Ddistributed-arp-table.c312 ether_addr_copy(dat_entry->mac_addr, mac_addr); in batadv_dat_entry_add()
327 ether_addr_copy(dat_entry->mac_addr, mac_addr); in batadv_dat_entry_add()
Dmain.c1172 ether_addr_copy(unicast_tvlv_packet->src, src); in batadv_tvlv_unicast_send()
1173 ether_addr_copy(unicast_tvlv_packet->dst, dst); in batadv_tvlv_unicast_send()
Dbat_iv_ogm.c351 ether_addr_copy(batadv_ogm_packet->orig, in batadv_iv_ogm_iface_update_mac()
353 ether_addr_copy(batadv_ogm_packet->prev_sender, in batadv_iv_ogm_iface_update_mac()
835 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); in batadv_iv_ogm_forward()
Dmulticast.c76 ether_addr_copy(new->addr, mc_list_entry->addr); in batadv_mcast_mla_softif_get()
Dgateway_client.c764 ether_addr_copy(chaddr, skb->data + chaddr_offset); in batadv_gw_dhcp_recipient_get()
/linux-4.4.14/drivers/net/bonding/
Dbond_alb.c292 ether_addr_copy(client_info->mac_dst, arp->mac_src); in rlb_update_entry_from_arp()
601 ether_addr_copy(client_info->mac_dst, arp->mac_dst); in rlb_choose_channel()
603 ether_addr_copy(client_info->mac_src, arp->mac_src); in rlb_choose_channel()
643 ether_addr_copy(client_info->mac_dst, arp->mac_dst); in rlb_choose_channel()
644 ether_addr_copy(client_info->mac_src, arp->mac_src); in rlb_choose_channel()
693 ether_addr_copy(arp->mac_src, tx_slave->dev->dev_addr); in rlb_arp_xmit()
933 ether_addr_copy(pkt.mac_dst, mac_addr); in alb_send_lp_vid()
934 ether_addr_copy(pkt.mac_src, mac_addr); in alb_send_lp_vid()
1032 ether_addr_copy(tmp_mac_addr, slave1->dev->dev_addr); in alb_swap_mac_addr()
1227 ether_addr_copy(tmp_addr, slave->dev->dev_addr); in alb_set_mac_address()
[all …]
Dbond_3ad.c786 ether_addr_copy(lacpdu_header->hdr.h_dest, lacpdu_mcast_addr); in ad_lacpdu_send()
790 ether_addr_copy(lacpdu_header->hdr.h_source, slave->perm_hwaddr); in ad_lacpdu_send()
828 ether_addr_copy(marker_header->hdr.h_dest, lacpdu_mcast_addr); in ad_marker_send()
832 ether_addr_copy(marker_header->hdr.h_source, slave->perm_hwaddr); in ad_marker_send()
2503 ether_addr_copy(ad_info->partner_system, in __bond_3ad_get_active_agg_info()
Dbond_main.c678 ether_addr_copy(tmp_mac, new_active->dev->dev_addr); in bond_do_fail_over_mac()
679 ether_addr_copy(saddr.sa_data, in bond_do_fail_over_mac()
683 ether_addr_copy(saddr.sa_data, bond->dev->dev_addr); in bond_do_fail_over_mac()
697 ether_addr_copy(saddr.sa_data, tmp_mac); in bond_do_fail_over_mac()
1197 ether_addr_copy(eth_hdr(skb)->h_dest, bond->dev->dev_addr); in bond_handle_frame()
1453 ether_addr_copy(new_slave->perm_hwaddr, slave_dev->dev_addr); in bond_enslave()
1739 ether_addr_copy(addr.sa_data, new_slave->perm_hwaddr); in bond_enslave()
1917 ether_addr_copy(addr.sa_data, slave->perm_hwaddr); in __bond_release_one()
Dbond_options.c1420 ether_addr_copy(bond->params.ad_actor_system, mac); in bond_option_ad_actor_system_set()
/linux-4.4.14/drivers/staging/vt6655/
Drxtx.c694 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
695 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
748 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
749 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
770 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
771 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
800 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
801 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
820 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
821 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
[all …]
/linux-4.4.14/net/netfilter/ipset/
Dip_set_hash_mac.c95 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt()
119 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt()
Dip_set_bitmap_ipmac.c160 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
169 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
174 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
/linux-4.4.14/net/openvswitch/
Dflow.c414 ether_addr_copy(key->ipv6.nd.sll, in parse_icmpv6()
420 ether_addr_copy(key->ipv6.nd.tll, in parse_icmpv6()
475 ether_addr_copy(key->eth.src, eth->h_source); in key_extract()
476 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract()
594 ether_addr_copy(key->ipv4.arp.sha, arp->ar_sha); in key_extract()
595 ether_addr_copy(key->ipv4.arp.tha, arp->ar_tha); in key_extract()
Dflow_netlink.c1463 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
1464 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()
1536 ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha); in __ovs_nla_put_key()
1537 ether_addr_copy(arp_key->arp_tha, output->ipv4.arp.tha); in __ovs_nla_put_key()
1614 ether_addr_copy(nd_key->nd_sll, output->ipv6.nd.sll); in __ovs_nla_put_key()
1615 ether_addr_copy(nd_key->nd_tll, output->ipv6.nd.tll); in __ovs_nla_put_key()
Dactions.c283 ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); in set_eth_addr()
284 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr()
/linux-4.4.14/drivers/staging/vt6656/
Drxtx.c402 ether_addr_copy(rts->ra, hdr->addr1); in vnt_fill_ieee80211_rts()
403 ether_addr_copy(rts->ta, hdr->addr2); in vnt_fill_ieee80211_rts()
558 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_fb_head()
584 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_head()
753 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey()
764 ether_addr_copy(mic_hdr->addr1, hdr->addr1); in vnt_fill_txkey()
765 ether_addr_copy(mic_hdr->addr2, hdr->addr2); in vnt_fill_txkey()
766 ether_addr_copy(mic_hdr->addr3, hdr->addr3); in vnt_fill_txkey()
774 ether_addr_copy(mic_hdr->addr4, hdr->addr4); in vnt_fill_txkey()
Dmac.c131 ether_addr_copy(set_key.u.write.addr, addr); in vnt_mac_set_keyentry()
Dmain_usb.c323 ether_addr_copy(priv->current_net_addr, priv->permanent_net_addr); in vnt_init_registers()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dbase.h81 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val))
83 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dvf.c120 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf()
222 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf()
243 ether_addr_copy(msg_addr, addr); in ixgbevf_set_uc_addr_vf()
399 ether_addr_copy(msg_addr, addr); in ixgbevf_set_rar_vf()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c201 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_msg_mac_vlan_vf()
239 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_read_mac_addr_vf()
240 ether_addr_copy(hw->mac.addr, perm_addr); in fm10k_read_mac_addr_vf()
Dfm10k_iov.c440 ether_addr_copy(vf_info->mac, mac); in fm10k_ndo_set_vf_mac()
520 ether_addr_copy(ivi->mac, vf_info->mac); in fm10k_ndo_get_vf_config()
Dfm10k_netdev.c931 ether_addr_copy(dev->dev_addr, addr->sa_data); in fm10k_set_mac()
932 ether_addr_copy(hw->mac.addr, addr->sa_data); in fm10k_set_mac()
Dfm10k_pci.c176 ether_addr_copy(hw->mac.addr, hw->mac.perm_addr); in fm10k_reinit()
177 ether_addr_copy(netdev->perm_addr, hw->mac.perm_addr); in fm10k_reinit()
178 ether_addr_copy(netdev->dev_addr, hw->mac.perm_addr); in fm10k_reinit()
/linux-4.4.14/net/caif/
Dcaif_usb.c108 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], braddr); in cfusbl_create()
109 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create()
/linux-4.4.14/drivers/net/ethernet/sfc/
Def10_sriov.c264 ether_addr_copy(nic_data->vport_mac, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf()
453 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
505 ether_addr_copy(vf->efx->net_dev->dev_addr, mac); in efx_ef10_sriov_set_vf_mac()
508 ether_addr_copy(vf->mac, mac); in efx_ef10_sriov_set_vf_mac()
713 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config()
Dfilter.h246 ether_addr_copy(spec->loc_mac, addr); in efx_filter_set_eth_local()
Dethtool.c843 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
847 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
851 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule()
1024 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
1030 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
Dsiena_sriov.c1121 ether_addr_copy(peer->mac_addr, local_addr->addr); in efx_siena_sriov_peer_work()
1335 ether_addr_copy(vfdi_status->peers[0].mac_addr, net_dev->dev_addr); in efx_siena_sriov_init()
1486 ether_addr_copy(vfdi_status->peers[0].mac_addr, in efx_siena_sriov_mac_address_changed()
1606 ether_addr_copy(vf->addr.mac_addr, mac); in efx_siena_sriov_set_vf_mac()
1669 ether_addr_copy(ivi->mac, vf->addr.mac_addr); in efx_siena_sriov_get_vf_config()
Def10.c228 ether_addr_copy(mac_address, in efx_ef10_get_mac_address_pf()
255 ether_addr_copy(mac_address, in efx_ef10_get_mac_address_vf()
429 ether_addr_copy(nic_data->port_id, efx->net_dev->perm_addr); in efx_ef10_probe()
731 ether_addr_copy(MCDI_PTR(inbuf, VPORT_ADD_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_add_mac()
743 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_mac()
3896 ether_addr_copy(table->dev_uc_list[0].addr, net_dev->dev_addr); in efx_ef10_filter_uc_addr_list()
3903 ether_addr_copy(table->dev_uc_list[i].addr, uc->addr); in efx_ef10_filter_uc_addr_list()
3928 ether_addr_copy(table->dev_mc_list[i].addr, mc->addr); in efx_ef10_filter_mc_addr_list()
4114 ether_addr_copy(mac_old, nic_data->vport_mac); in efx_ef10_vport_set_mac_address()
4123 ether_addr_copy(nic_data->vport_mac, efx->net_dev->dev_addr); in efx_ef10_vport_set_mac_address()
[all …]
Dselftest.c377 ether_addr_copy((u8 *)&payload->header.h_dest, net_dev->dev_addr); in efx_iterate_state()
378 ether_addr_copy((u8 *)&payload->header.h_source, payload_source); in efx_iterate_state()
Defx.c1049 ether_addr_copy(efx->net_dev->dev_addr, efx->net_dev->perm_addr); in efx_probe_port()
2263 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address()
2264 ether_addr_copy(net_dev->dev_addr, new_addr); in efx_set_mac_address()
2268 ether_addr_copy(net_dev->dev_addr, old_addr); in efx_set_mac_address()
Dmcdi.c1326 ether_addr_copy(mac_address, in efx_mcdi_get_board_cfg()
1683 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set()
Dmcdi_port.c869 ether_addr_copy(MCDI_PTR(cmdbytes, SET_MAC_IN_ADDR), in efx_mcdi_set_mac()
Dfalcon.c2203 ether_addr_copy(efx->net_dev->perm_addr, nvconfig->mac_address[0]); in falcon_probe_nvconfig()
/linux-4.4.14/net/tipc/
Deth_media.c68 ether_addr_copy(addr->value, msg); in tipc_eth_raw2addr()
/linux-4.4.14/include/linux/
Detherdevice.h271 static inline void ether_addr_copy(u8 *dst, const u8 *src) in ether_addr_copy() function
298 ether_addr_copy(dst->dev_addr, src->dev_addr); in eth_hw_addr_inherit()
/linux-4.4.14/net/appletalk/
Daarp.c138 ether_addr_copy(eah->hw_src, dev->dev_addr); in __aarp_send_query()
185 ether_addr_copy(eah->hw_src, dev->dev_addr); in aarp_send_reply()
194 ether_addr_copy(eah->hw_dst, sha); in aarp_send_reply()
236 ether_addr_copy(eah->hw_src, dev->dev_addr); in aarp_send_probe()
794 ether_addr_copy(a->hwaddr, ea->hw_src); in aarp_rcv()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_lte.c630 ether_addr_copy(nic->dest_mac_addr, addr); in gdm_lte_netif_rx()
643 ether_addr_copy(mac_header_data, nic->dest_mac_addr); in gdm_lte_netif_rx()
846 ether_addr_copy(dev_addr, gdm_lte_macaddr); in form_mac_address()
848 ether_addr_copy(dev_addr, mac_address); in form_mac_address()
862 ether_addr_copy(nic_dest, dev_addr); in form_mac_address()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Ddynack.c206 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_dest, hdr->addr1); in ath_dynack_sample_tx_ts()
207 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_src, hdr->addr2); in ath_dynack_sample_tx_ts()
Dmain.c980 ether_addr_copy(common->curbssid, avp->bssid); in ath9k_update_bssid_mask()
1020 ether_addr_copy(common->curbssid, avp->bssid); in ath9k_set_assoc_state()
/linux-4.4.14/drivers/staging/rtl8712/
Drecv_linux.c99 ether_addr_copy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0]); in r8712_handle_tkip_mic_err()
Dusb_intf.c465 ether_addr_copy(mac, &pdata[0x12]); in r871xu_drv_init()
583 ether_addr_copy(pnetdev->dev_addr, mac); in r871xu_drv_init()
Drtl871x_cmd.c523 ether_addr_copy(&pmlmepriv->assoc_bssid[0], in r8712_joinbss_cmd()
676 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in r8712_setstakey_cmd()
778 ether_addr_copy(psetMacAddr_para->MacAddr, mac_addr); in r8712_setMacAddr_cmd()
807 ether_addr_copy(psetassocsta_para->addr, mac_addr); in r8712_setassocsta_cmd()
Dos_intfs.c181 ether_addr_copy(pnetdev->dev_addr, addr->sa_data); in r871x_net_set_mac_address()
Drtl871x_ioctl_linux.c163 ether_addr_copy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress); in translate_scan()
1099 ether_addr_copy(wrqu->ap_addr.sa_data, pcur_bss->MacAddress); in r8711_wx_get_wap()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Drecv_linux.c66 ether_addr_copy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0]); in rtw_handle_tkip_mic_err23a()
Dioctl_cfg80211.c412 ether_addr_copy(psetstakey_para->addr, psta->hwaddr); in set_pairwise_key()
921 ether_addr_copy(sta_addr, mac_addr); in cfg80211_rtw_add_key()
2271 ether_addr_copy( in cfg80211_rtw_set_pmksa()
2408 ether_addr_copy(mgmt.da, myid(&padapter->eeprompriv)); in rtw_cfg80211_indicate_sta_disassoc()
2409 ether_addr_copy(mgmt.sa, da); in rtw_cfg80211_indicate_sta_disassoc()
2410 ether_addr_copy(mgmt.bssid, get_my_bssid23a(&pmlmeinfo->network)); in rtw_cfg80211_indicate_sta_disassoc()
2495 ether_addr_copy(pdata, dst_mac_addr); in rtw_cfg80211_monitor_if_xmit_entry()
2496 ether_addr_copy(pdata + ETH_ALEN, src_mac_addr); in rtw_cfg80211_monitor_if_xmit_entry()
Dos_intfs.c244 ether_addr_copy(padapter->eeprompriv.mac_addr, addr->sa_data); in rtw_net_set_mac_address()
587 ether_addr_copy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr); in _rtw_drv_register_netdev()
/linux-4.4.14/arch/mips/ath25/
Dboard.c174 ether_addr_copy(mac_addr, ath25_board.config->wlan0_mac); in ath25_find_config()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dmain.c683 ether_addr_copy(ndev->perm_addr, mac); in wil_get_bl_info()
685 ether_addr_copy(ndev->dev_addr, mac); in wil_get_bl_info()
762 ether_addr_copy(ndev->perm_addr, mac); in wil_reset()
763 ether_addr_copy(ndev->dev_addr, ndev->perm_addr); in wil_reset()
Dwmi.c497 ether_addr_copy(wil->sta[evt->cid].addr, evt->bssid); in wmi_evt_connect()
555 ether_addr_copy(eth->h_dest, ndev->dev_addr); in wmi_evt_eapol_rx()
556 ether_addr_copy(eth->h_source, evt->src_mac); in wmi_evt_eapol_rx()
859 ether_addr_copy(cmd.mac, addr); in wmi_set_mac_address()
1195 ether_addr_copy(cmd.dst_mac, mac); in wmi_disconnect_sta()
Dcfg80211.c221 ether_addr_copy(mac, wil->sta[cid].addr); in wil_cfg80211_dump_station()
508 ether_addr_copy(conn.bssid, bss->bssid); in wil_cfg80211_connect()
509 ether_addr_copy(conn.dst_mac, bss->bssid); in wil_cfg80211_connect()
Dtxrx.c998 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1119 ether_addr_copy(da, ieee80211_get_DA(hdr)); in ath10k_htt_rx_h_undecap_nwifi()
1120 ether_addr_copy(sa, ieee80211_get_SA(hdr)); in ath10k_htt_rx_h_undecap_nwifi()
1132 ether_addr_copy(ieee80211_get_DA(hdr), da); in ath10k_htt_rx_h_undecap_nwifi()
1133 ether_addr_copy(ieee80211_get_SA(hdr), sa); in ath10k_htt_rx_h_undecap_nwifi()
1195 ether_addr_copy(da, eth->h_dest); in ath10k_htt_rx_h_undecap_eth()
1196 ether_addr_copy(sa, eth->h_source); in ath10k_htt_rx_h_undecap_eth()
1212 ether_addr_copy(ieee80211_get_DA(hdr), da); in ath10k_htt_rx_h_undecap_eth()
1213 ether_addr_copy(ieee80211_get_SA(hdr), sa); in ath10k_htt_rx_h_undecap_eth()
Dwmi-tlv.c1509 ether_addr_copy(addrs[i].addr, arg->bssids[i].bssid); in ath10k_wmi_tlv_op_gen_start_scan()
1586 ether_addr_copy(cmd->vdev_macaddr.addr, mac_addr); in ath10k_wmi_tlv_op_gen_vdev_create()
1731 ether_addr_copy(cmd->vdev_bssid.addr, bssid); in ath10k_wmi_tlv_op_gen_vdev_up()
1817 ether_addr_copy(cmd->peer_macaddr.addr, arg->macaddr); in ath10k_wmi_tlv_op_gen_vdev_install_key()
1889 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_tlv_op_gen_vdev_sta_uapsd()
1990 ether_addr_copy(arp->dest_mac_addr.addr, arg->dest_mac_addr); in ath10k_wmi_tlv_op_gen_sta_keepalive()
2016 ether_addr_copy(cmd->peer_addr.addr, peer_addr); in ath10k_wmi_tlv_op_gen_peer_create()
2039 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_tlv_op_gen_peer_delete()
2063 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_tlv_op_gen_peer_flush()
2090 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_tlv_op_gen_peer_set_param()
[all …]
Dtxrx.c197 ether_addr_copy(peer->addr, ev->addr); in ath10k_peer_map_event()
Dwmi.c1794 ether_addr_copy(cmd->hdr.peer_macaddr.addr, ieee80211_get_DA(hdr)); in ath10k_wmi_op_gen_mgmt_tx()
2556 ether_addr_copy(dst->peer_macaddr, src->peer_macaddr.addr); in ath10k_wmi_pull_peer_stats()
2901 ether_addr_copy(dst->peer_macaddr, src->peer_macaddr.addr); in ath10k_wmi_10_4_op_pull_fw_stats()
4621 ether_addr_copy(ar->mac_addr, arg.mac_addr); in ath10k_wmi_event_ready()
5807 ether_addr_copy(cmd->vdev_macaddr.addr, macaddr); in ath10k_wmi_op_gen_vdev_create()
5918 ether_addr_copy(cmd->vdev_bssid.addr, bssid); in ath10k_wmi_op_gen_vdev_up()
5999 ether_addr_copy(cmd->peer_macaddr.addr, arg->macaddr); in ath10k_wmi_op_gen_vdev_install_key()
6077 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_op_gen_peer_create()
6098 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_op_gen_peer_delete()
6120 ether_addr_copy(cmd->peer_macaddr.addr, peer_addr); in ath10k_wmi_op_gen_peer_flush()
[all …]
Dmac.c412 ether_addr_copy(addr, peer->addr); in ath10k_clear_vdev_key()
778 ether_addr_copy(arg.addr, sta->addr); in ath10k_mac_tdls_peer_update()
1593 ether_addr_copy(arvif->bssid, info->bssid); in ath10k_control_beaconing()
1960 ether_addr_copy(arg->addr, sta->addr); in ath10k_peer_assoc_h_basic()
2655 ether_addr_copy(arvif->bssid, bss_conf->bssid); in ath10k_bss_assoc()
3246 ether_addr_copy(da, ieee80211_get_DA(hdr)); in ath10k_tx_h_8023()
3247 ether_addr_copy(sa, ieee80211_get_SA(hdr)); in ath10k_tx_h_8023()
3254 ether_addr_copy(eth->h_dest, da); in ath10k_tx_h_8023()
3255 ether_addr_copy(eth->h_source, sa); in ath10k_tx_h_8023()
4783 ether_addr_copy(arvif->bssid, info->bssid); in ath10k_bss_info_changed()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_virtchnl.c429 ether_addr_copy(veal->list[i].addr, f->macaddr); in i40evf_add_ether_addrs()
487 ether_addr_copy(veal->list[i].addr, f->macaddr); in i40evf_del_ether_addrs()
756 ether_addr_copy(adapter->hw.mac.addr, netdev->dev_addr); in i40evf_virtchnl_completion()
Di40evf_main.c838 ether_addr_copy(f->macaddr, macaddr); in i40evf_add_filter()
880 ether_addr_copy(hw->mac.addr, addr->sa_data); in i40evf_set_mac()
881 ether_addr_copy(netdev->dev_addr, adapter->hw.mac.addr); in i40evf_set_mac()
2291 ether_addr_copy(adapter->hw.mac.addr, netdev->dev_addr); in i40evf_init_task()
2294 ether_addr_copy(netdev->dev_addr, adapter->hw.mac.addr); in i40evf_init_task()
2295 ether_addr_copy(netdev->perm_addr, adapter->hw.mac.addr); in i40evf_init_task()
Di40e_common.c976 ether_addr_copy(hw->mac.perm_addr, in i40e_vf_parse_hw_config()
978 ether_addr_copy(hw->mac.addr, in i40e_vf_parse_hw_config()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723a_cmd.c201 ether_addr_copy(mgmt->da, bc_addr); in ConstructBeacon()
202 ether_addr_copy(mgmt->sa, myid(&padapter->eeprompriv)); in ConstructBeacon()
203 ether_addr_copy(mgmt->bssid, get_my_bssid23a(cur_network)); in ConstructBeacon()
/linux-4.4.14/drivers/staging/most/aim-network/
Dnetworking.c467 ether_addr_copy(skb_put(skb, ETH_ALEN), dev->dev_addr); in aim_rx_data()
554 ether_addr_copy(dev->dev_addr, mac_addr); in most_deliver_netinfo()
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c126 ether_addr_copy(priv->dev->dev_addr, mac); in sxgbe_platform_probe()
/linux-4.4.14/net/bridge/
Dbr_netfilter_ipv6.c196 ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); in br_nf_pre_routing_finish_ipv6()
Dbr_device.c392 ether_addr_copy(br->group_addr, eth_reserved_addr_base); in br_dev_setup()
Dbr_netfilter_hooks.c398 ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); in br_nf_pre_routing_finish()
Dbr_multicast.c381 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip4_multicast_alloc_query()
451 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip6_multicast_alloc_query()
Dbr_fdb.c144 ether_addr_copy(fdb.addr, f->addr.addr); in fdb_del_external_learn()
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1054 ether_addr_copy(filter_cmd.filter.ucast.mac, mac); in qede_set_ucast_rx_mac()
1259 ether_addr_copy(edev->ndev->dev_addr, edev->dev_info.common.hw_mac); in qede_init_ndev()
2217 ether_addr_copy(filter_cmd.filter.mcast.mac[i], mac); in qede_set_mcast_rx_mac()
2314 ether_addr_copy(edev->primary_mac, edev->ndev->dev_addr); in qede_load()
2423 ether_addr_copy(ndev->dev_addr, addr->sa_data); in qede_set_mac_addr()
2437 ether_addr_copy(edev->primary_mac, ndev->dev_addr); in qede_set_mac_addr()
2475 ether_addr_copy(temp, ha->addr); in qede_configure_mcast_filtering()
2538 ether_addr_copy(temp, ha->addr); in qede_config_rx_mode()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dtdls.c1163 ether_addr_copy(peer->peer_addr, sta_ptr->mac_addr); in mwifiex_get_tdls_list()
1216 ether_addr_copy(mac, skb->data); in mwifiex_tdls_check_tx()
1289 ether_addr_copy(tdls_peer->mac_addr, mac); in mwifiex_add_auto_tdls_peer()
1474 ether_addr_copy(stop_tdls_cs_params.peer_mac, peer_mac); in mwifiex_stop_tdls_cs()
1486 ether_addr_copy(start_tdls_cs_params.peer_mac, peer_mac); in mwifiex_start_tdls_cs()
Duap_txrx.c292 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
Dcfg80211.c1379 ether_addr_copy(mac, priv->cfg_bssid); in mwifiex_cfg80211_dump_station()
1392 ether_addr_copy(mac, node->mac_addr); in mwifiex_cfg80211_dump_station()
1718 ether_addr_copy(deauth_mac, params->mac); in mwifiex_cfg80211_del_station()
2007 ether_addr_copy(priv->cfg_bssid, bss_info.bssid); in mwifiex_cfg80211_inform_ibss_bss()
3805 ether_addr_copy(wiphy->perm_addr, adapter->perm_addr); in mwifiex_register_cfg80211()
Dmain.c1244 ether_addr_copy(priv->curr_addr, priv->adapter->perm_addr); in mwifiex_init_priv_params()
Dcmdevt.c1632 ether_addr_copy(priv->adapter->perm_addr, hw_spec->permanent_addr); in mwifiex_ret_get_hw_spec()
/linux-4.4.14/drivers/net/ethernet/ezchip/
Dnps_enet.c409 ether_addr_copy(ndev->dev_addr, addr->sa_data); in nps_enet_set_mac_address()
583 ether_addr_copy(ndev->dev_addr, mac_addr); in nps_enet_probe()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_flow_table.c91 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_eth_addr_to_hash()
274 ether_addr_copy(dmac, ai->addr); in __mlx5e_add_eth_addr_rule()
755 ether_addr_copy(priv->eth_addr.broadcast.addr, priv->netdev->broadcast); in mlx5e_init_eth_addr()
Dvport.c82 ether_addr_copy(addr, &out_addr[2]); in mlx5_query_nic_vport_mac_address()
Den_main.c1851 ether_addr_copy(netdev->dev_addr, saddr->sa_data); in mlx5e_set_mac()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c1715 ether_addr_copy(macaddr, rocker_tlv_data(attr)); in rocker_cmd_get_port_settings_macaddr_proc()
2583 ether_addr_copy(entry->key.term_mac.eth_dst, eth_dst); in rocker_flow_tbl_term_mac()
2584 ether_addr_copy(entry->key.term_mac.eth_dst_mask, eth_dst_mask); in rocker_flow_tbl_term_mac()
2613 ether_addr_copy(entry->key.bridge.eth_dst, eth_dst); in rocker_flow_tbl_bridge()
2617 ether_addr_copy(entry->key.bridge.eth_dst_mask, eth_dst_mask); in rocker_flow_tbl_bridge()
2703 ether_addr_copy(entry->key.acl.eth_src, eth_src); in rocker_flow_tbl_acl()
2705 ether_addr_copy(entry->key.acl.eth_src_mask, eth_src_mask); in rocker_flow_tbl_acl()
2707 ether_addr_copy(entry->key.acl.eth_dst, eth_dst); in rocker_flow_tbl_acl()
2709 ether_addr_copy(entry->key.acl.eth_dst_mask, eth_dst_mask); in rocker_flow_tbl_acl()
2892 ether_addr_copy(entry->l3_unicast.eth_src, src_mac); in rocker_group_l3_unicast()
[all …]
/linux-4.4.14/net/core/
Dnetpoll.c472 ether_addr_copy(eth->h_source, np->dev->dev_addr); in netpoll_send_udp()
473 ether_addr_copy(eth->h_dest, np->remote_mac); in netpoll_send_udp()
Dpktgen.c1521 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write()
1538 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); in pktgen_if_write()
2141 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr); in pktgen_setup_inject()
2144 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1254 ether_addr_copy(info->port_mac, in qed_fill_eth_dev_info()
1600 ether_addr_copy(ucast.mac, params->mac); in qed_configure_filter_ucast()
1604 ether_addr_copy(ucast.mac, params->mac); in qed_configure_filter_ucast()
1637 ether_addr_copy(mcast.mac[i], params->mac[i]); in qed_configure_filter_mcast()
Dqed_main.c194 ether_addr_copy(dev_info->hw_mac, cdev->hwfns[0].hw_info.hw_mac_addr); in qed_fill_dev_info()
Dqed_dev.c1269 ether_addr_copy(p_hwfn->hw_info.hw_mac_addr, in qed_get_hw_info()
/linux-4.4.14/net/8021q/
Dvlan_dev.c274 ether_addr_copy(vlan->real_dev_addr, real_dev->dev_addr); in vlan_dev_open()
338 ether_addr_copy(dev->dev_addr, addr->sa_data); in vlan_dev_set_mac_address()
Dvlan.c306 ether_addr_copy(vlan->real_dev_addr, dev->dev_addr); in vlan_sync_address()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c195 ether_addr_copy(req->mac_addr, mac->addr); in bna_bfi_ucast_req()
211 ether_addr_copy(req->mac_addr, mac->addr); in bna_bfi_mcast_add_req()
743 ether_addr_copy(rxf->ucast_pending_mac->addr, ucmac); in bna_rx_ucast_set()
771 ether_addr_copy(mac->addr, addr); in bna_rx_mcast_add()
804 ether_addr_copy(del_mac->addr, mac->addr); in bna_rx_ucast_listset()
816 ether_addr_copy(mac->addr, mcaddr); in bna_rx_ucast_listset()
862 ether_addr_copy(del_mac->addr, mac->addr); in bna_rx_mcast_listset()
875 ether_addr_copy(mac->addr, mcaddr); in bna_rx_mcast_listset()
978 ether_addr_copy(rxf->ucast_active_mac.addr, in bna_rxf_ucast_cfg_apply()
Dbnad.c891 ether_addr_copy(netdev->perm_addr, bnad->perm_addr); in bnad_set_netdev_perm_addr()
893 ether_addr_copy(netdev->dev_addr, bnad->perm_addr); in bnad_set_netdev_perm_addr()
1868 ether_addr_copy(&mc_list[i * ETH_ALEN], &mc_addr->addr[0]); in bnad_netdev_mc_list_get()
3162 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3202 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
3277 ether_addr_copy(netdev->dev_addr, sa->sa_data); in bnad_set_mac_address()
Dbfa_ioc.c2932 ether_addr_copy(mac, ioc->attr->mac); in bfa_nw_ioc_get_mac()
/linux-4.4.14/drivers/net/ethernet/agere/
Det131x.c3007 ether_addr_copy(adapter->rom_addr, adapter->addr); in et131x_hwaddr_init()
3013 ether_addr_copy(adapter->addr, adapter->rom_addr); in et131x_hwaddr_init()
3084 ether_addr_copy(adapter->addr, adapter->rom_addr); in et131x_pci_init()
3316 ether_addr_copy(adapter->addr, default_mac); in et131x_adapter_init()
3798 ether_addr_copy(adapter->multicast_list[i++], ha->addr); in et131x_multicast()
3921 ether_addr_copy(netdev->dev_addr, adapter->addr); in et131x_change_mtu()
4023 ether_addr_copy(netdev->dev_addr, adapter->addr); in et131x_pci_setup()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Deeprom.c142 ether_addr_copy(dev->macaddr, src); in mt7601u_set_macaddr()
Dphy.c1101 ether_addr_copy(dev->ap_bssid, info->bssid); in mt7601u_phy_con_cal_onoff()
/linux-4.4.14/net/switchdev/
Dswitchdev.c983 ether_addr_copy(fdb.addr, addr); in switchdev_port_fdb_add()
1008 ether_addr_copy(fdb.addr, addr); in switchdev_port_fdb_del()
/linux-4.4.14/net/mac80211/
Dscan.c303 ether_addr_copy(local->hw_scan_req->req.mac_addr, req->mac_addr); in ieee80211_prep_hw_scan()
304 ether_addr_copy(local->hw_scan_req->req.mac_addr_mask, in ieee80211_prep_hw_scan()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c185 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac()
992 ether_addr_copy(bgx->lmac[lmac].mac, mac); in bgx_init_of_phy()
Dnicvf_main.c202 ether_addr_copy(nic->netdev->dev_addr, in nicvf_handle_mbx_intr()
277 ether_addr_copy(mbx.mac.mac_addr, netdev->dev_addr); in nicvf_hw_set_mac_addr()
Dnic_main.c158 ether_addr_copy((u8 *)&mbx.nic_cfg.mac_addr, mac); in nic_mbx_send_ready()
/linux-4.4.14/net/atm/
Dlec.c526 ether_addr_copy(mesg->content.normal.mac_addr, mac_addr); in send_to_lecd()
1567 ether_addr_copy(to_return->mac_addr, mac_addr); in make_entry()
1889 ether_addr_copy(entry->mac_addr, in lec_arp_update()
2266 ether_addr_copy(entry->mac_addr, src); in lec_arp_check_empties()
Dmpc.c481 ether_addr_copy(mpc->mps_macs, router_mac); in copy_macs()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h933 ether_addr_copy(adapter->port[port_idx]->dev_addr, hw_addr); in t4_set_hw_addr()
934 ether_addr_copy(adapter->port[port_idx]->perm_addr, hw_addr); in t4_set_hw_addr()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1527 ether_addr_copy(netdev->dev_addr, hw->mac.san_addr); in i40e_fcoe_config_netdev()
1528 ether_addr_copy(netdev->perm_addr, hw->mac.san_addr); in i40e_fcoe_config_netdev()
Di40e_main.c1338 ether_addr_copy(element.mac_addr, macaddr); in i40e_rm_default_mac_filter()
1377 ether_addr_copy(f->macaddr, macaddr); in i40e_add_filter()
1524 ether_addr_copy(element.mac_addr, netdev->dev_addr); in i40e_set_mac()
1538 ether_addr_copy(element.mac_addr, hw->mac.addr); in i40e_set_mac()
1551 ether_addr_copy(netdev->dev_addr, addr->sa_data); in i40e_set_mac()
1958 ether_addr_copy(del_list[num_del].mac_addr, f->macaddr); in i40e_sync_vsi_filters()
2031 ether_addr_copy(add_list[num_add].mac_addr, f->macaddr); in i40e_sync_vsi_filters()
8664 ether_addr_copy(mac_addr, hw->mac.perm_addr); in i40e_config_netdev()
8691 ether_addr_copy(netdev->dev_addr, mac_addr); in i40e_config_netdev()
8692 ether_addr_copy(netdev->perm_addr, mac_addr); in i40e_config_netdev()
[all …]
Di40e_virtchnl_pf.c1226 ether_addr_copy(vfres->vsi_res[i].default_mac_addr, in i40e_vc_get_vf_resources_msg()
2107 ether_addr_copy(vf->default_lan_addr.addr, mac); in i40e_ndo_set_vf_mac()
2354 ether_addr_copy(ivi->mac, vf->default_lan_addr.addr); in i40e_ndo_get_vf_config()
Di40e_common.c1027 ether_addr_copy(mac_addr, addrs.pf_lan_mac); in i40e_get_mac_addr()
1050 ether_addr_copy(mac_addr, addrs.port_mac); in i40e_get_port_mac_addr()
1108 ether_addr_copy(mac_addr, addrs.pf_san_mac); in i40e_get_san_mac_addr()
3799 ether_addr_copy(cmd->mac, mac_addr); in i40e_aq_add_rem_control_packet_filter()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_cmd.c638 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_setstakey_cmd()
699 ether_addr_copy(psetstakey_para->addr, sta->hwaddr); in rtw_clearstakey_cmd()
Drtw_ap.c912 ether_addr_copy(pbss_network->MacAddress, myid(&(padapter->eeprompriv))); in rtw_check_beacon_data()
1188 ether_addr_copy(paclnode->addr, addr); in rtw_acl_add_sta()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_core.c1347 ether_addr_copy(naddr->addr, addr); in netcp_addr_add()
1922 ether_addr_copy(ndev->dev_addr, efuse_mac_addr); in netcp_create_interface()
1931 ether_addr_copy(ndev->dev_addr, mac_addr); in netcp_create_interface()
Ddavinci_emac.c1844 ether_addr_copy(pdata->mac_addr, mac_addr); in davinci_emac_of_get_pdata()
2032 ether_addr_copy(ndev->dev_addr, priv->mac_addr); in davinci_emac_probe()
/linux-4.4.14/drivers/staging/octeon/
Dethernet.c440 ether_addr_copy(dev->dev_addr, mac); in cvm_oct_common_init()
/linux-4.4.14/drivers/net/
Dmacvlan.c139 ether_addr_copy(entry->addr, addr); in macvlan_hash_add_source()
669 ether_addr_copy(dev->dev_addr, addr); in macvlan_sync_address()
Dvxlan.c1472 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in vxlan_na_create()
1473 ether_addr_copy(eth_hdr(reply)->h_source, n->ha); in vxlan_na_create()
1504 ether_addr_copy(&na->opt[2], n->ha); in vxlan_na_create()
/linux-4.4.14/drivers/net/ethernet/aurora/
Dnb8800.c715 ether_addr_copy(dev->dev_addr, sock->sa_data); in nb8800_set_mac_address()
1489 ether_addr_copy(dev->dev_addr, mac); in nb8800_probe()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c681 ether_addr_copy(fdb->addr, mac); in mlxsw_sp_port_fdb_dump()
Dspectrum.c232 ether_addr_copy(addr, mlxsw_sp->base_mac); in mlxsw_sp_port_dev_addr_init()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
Dqca_spi.c919 ether_addr_copy(qca->net_dev->dev_addr, mac); in qca_spi_probe()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1083 ether_addr_copy(hw->wiphy->addr_mask, addr_mask); in rsi_mac80211_attach()
Drsi_91x_mgmt.c486 ether_addr_copy(peer_notify->mac_addr, bssid); in rsi_hal_send_sta_notify_frame()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c320 ether_addr_copy(pstatus->psaddr, psaddr); in translate_rx_signal_stuff()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c257 ether_addr_copy(pstatus->psaddr, psaddr); in _rtl92ee_translate_rx_signal_stuff()
/linux-4.4.14/arch/mips/bcm47xx/
Dsprom.c557 ether_addr_copy(sprom->il0mac, mac); in bcm47xx_fill_sprom_ethernet()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6xxx.c1709 ether_addr_copy(entry.mac, addr); in _mv88e6xxx_port_fdb_load()
1859 ether_addr_copy(fdb->addr, addr.mac); in mv88e6xxx_port_fdb_dump()
Dbcm_sf2.c789 ether_addr_copy(fdb->addr, ent->mac); in bcm_sf2_sw_fdb_copy()
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhix5hd2_gmac.c983 ether_addr_copy(ndev->dev_addr, mac_addr); in hix5hd2_dev_probe()
/linux-4.4.14/net/dsa/
Dslave.c198 ether_addr_copy(dev->dev_addr, addr->sa_data); in dsa_slave_set_mac_address()
/linux-4.4.14/drivers/net/ethernet/altera/
Daltera_tse_main.c1479 ether_addr_copy(ndev->dev_addr, macaddr); in altera_tse_probe()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dpxa168_eth.c1475 ether_addr_copy(dev->dev_addr, mac_addr); in pxa168_eth_probe()
Dmvpp2.c3140 ether_addr_copy(dev->dev_addr, da); in mvpp2_prs_update_mac_da()
6197 ether_addr_copy(dev->dev_addr, dt_mac_addr); in mvpp2_port_probe()
6202 ether_addr_copy(dev->dev_addr, hw_mac_addr); in mvpp2_port_probe()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c1784 ether_addr_copy(priv->mac_addr, priv->efuse_wifi.efuse8723.mac_addr); in rtl8723au_parse_efuse()
1830 ether_addr_copy(priv->mac_addr, priv->efuse_wifi.efuse8192.mac_addr); in rtl8192cu_parse_efuse()
5340 ether_addr_copy(mac_addr, sta->addr); in rtl8xxxu_set_key()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3121 ether_addr_copy(dev->dev_addr, addr->sa_data); in bcmgenet_set_mac_addr()
3379 ether_addr_copy(dev->dev_addr, macaddr); in bcmgenet_probe()
/linux-4.4.14/drivers/net/usb/
Dlan78xx.c1368 ether_addr_copy(dev->net->dev_addr, addr); in lan78xx_init_mac_address()
1676 ether_addr_copy(netdev->dev_addr, addr->sa_data); in lan78xx_set_mac_addr()
Dr8152.c1046 ether_addr_copy(sa.sa_data, dev->dev_addr); in set_ethernet_addr()
1052 ether_addr_copy(dev->dev_addr, sa.sa_data); in set_ethernet_addr()
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.c1460 ether_addr_copy(dev->dev_addr, addr->sa_data); in ibmveth_set_mac_addr()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c315 ether_addr_copy(netdev->dev_addr, addr->sa_data); in be_mac_addr_set()
1602 ether_addr_copy(vf_cfg->mac_addr, mac); in be_set_vf_mac()
3638 ether_addr_copy(mac, adapter->netdev->dev_addr); in be_setup_wol()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c2225 ether_addr_copy(dev->dev_addr, mac); in tile_net_dev_init()
/linux-4.4.14/drivers/net/xen-netback/
Dnetback.c1230 ether_addr_copy(mcast->addr, addr); in xenvif_mcast_add()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.c1815 ether_addr_copy(dev->dev_addr, macaddr); in bcm_sysport_probe()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c114 ether_addr_copy(ndev->dev_addr, mac); in ravb_read_mac_address()
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c379 ether_addr_copy(dev->dev_addr, bMac_Tmp_Addr); in _rtl92e_read_eeprom_info()
Drtl_core.c2271 ether_addr_copy(dev->dev_addr, addr->sa_data); in _rtl92e_set_mac_adr()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c4127 ether_addr_copy(adapter->mac_table[i].addr, addr); in ixgbe_add_mac_filter()
8572 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbe_get_platform_mac_addr()
8578 ether_addr_copy(hw->mac.perm_addr, idprom->id_ethaddr); in ixgbe_get_platform_mac_addr()
/linux-4.4.14/drivers/staging/slicoss/
Dslicoss.c1817 ether_addr_copy(mcaddr->address, address); in slic_mcast_add_list()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3309 ether_addr_copy(netdev->dev_addr, mac); in setup_nic_devices()
/linux-4.4.14/drivers/net/ethernet/synopsys/
Ddwc_eth_qos.c1866 ether_addr_copy(ndev->dev_addr, mac_address); in dwceqos_probe_config_dt()
/linux-4.4.14/drivers/staging/rtl8192u/
Dr8192U_core.c3687 ether_addr_copy(dev->dev_addr, addr->sa_data); in r8192_set_mac_adr()