Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/drivers/staging/wlan-ng/
Dp80211conv.c299 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
300 ether_addr_copy(saddr, w_hdr->a3.a2); in skb_p80211_to_ether()
303 ether_addr_copy(daddr, w_hdr->a3.a1); in skb_p80211_to_ether()
304 ether_addr_copy(saddr, w_hdr->a3.a3); in skb_p80211_to_ether()
307 ether_addr_copy(daddr, w_hdr->a3.a3); in skb_p80211_to_ether()
308 ether_addr_copy(saddr, w_hdr->a3.a2); in skb_p80211_to_ether()
316 ether_addr_copy(daddr, w_hdr->a4.a3); in skb_p80211_to_ether()
317 ether_addr_copy(saddr, w_hdr->a4.a4); in skb_p80211_to_ether()
409 ether_addr_copy(e_hdr->daddr, daddr); in skb_p80211_to_ether()
410 ether_addr_copy(e_hdr->saddr, saddr); in skb_p80211_to_ether()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c225 ether_addr_copy(pwlanhdr->addr1, bc_addr); in ConstructBeacon()
226 ether_addr_copy(pwlanhdr->addr2, myid(&(adapt->eeprompriv))); in ConstructBeacon()
227 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in ConstructBeacon()
315 ether_addr_copy(pwlanhdr->addr1, pnetwork->MacAddress); in ConstructPSPoll()
318 ether_addr_copy(pwlanhdr->addr2, myid(&(adapt->eeprompriv))); in ConstructPSPoll()
350 ether_addr_copy(pwlanhdr->addr1, pnetwork->MacAddress); in ConstructNullFunctionData()
351 ether_addr_copy(pwlanhdr->addr2, myid(&(adapt->eeprompriv))); in ConstructNullFunctionData()
352 ether_addr_copy(pwlanhdr->addr3, StaAddr); in ConstructNullFunctionData()
356 ether_addr_copy(pwlanhdr->addr1, StaAddr); in ConstructNullFunctionData()
357 ether_addr_copy(pwlanhdr->addr2, pnetwork->MacAddress); in ConstructNullFunctionData()
[all …]
/Linux-v4.19/net/sched/
Dact_skbmod.c54 ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); in tcf_skbmod_act()
56 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act()
63 ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); in tcf_skbmod_act()
64 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act()
65 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act()
174 ether_addr_copy(p->eth_dst, daddr); in tcf_skbmod_init()
176 ether_addr_copy(p->eth_src, saddr); in tcf_skbmod_init()
/Linux-v4.19/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()
241 ether_addr_copy(node_real->MacAddressB, ethhdr->h_source); in hsr_handle_sup_frame()
307 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->MacAddressB); in hsr_addr_subst_dest()
430 ether_addr_copy(addr, node->MacAddressA); in hsr_get_next_node()
436 ether_addr_copy(addr, node->MacAddressA); in hsr_get_next_node()
465 ether_addr_copy(addr_b, node->MacAddressB); in hsr_get_node_data()
Dhsr_device.c315 ether_addr_copy(hsr_sp->MacAddressA, master->dev->dev_addr); in send_hsr_supervision_frame()
453 ether_addr_copy(hsr_dev->dev_addr, slave[0]->dev_addr); in hsr_dev_finalize()
469 ether_addr_copy(hsr->sup_multicast_addr, def_multicast_addr); in hsr_dev_finalize()
/Linux-v4.19/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, xt_in(par)->dev_addr); in ebt_redirect_tg()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c541 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
542 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* 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->addr3); /* SA */ in michael_mic_hdr()
549 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
550 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
553 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
554 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
607 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure()
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()
891 ether_addr_copy(beacon_buf->header.addr1, dest); in rtllib_probe_resp()
892 ether_addr_copy(beacon_buf->header.addr2, ieee->dev->dev_addr); in rtllib_probe_resp()
893 ether_addr_copy(beacon_buf->header.addr3, ieee->current_network.bssid); in rtllib_probe_resp()
987 ether_addr_copy(assoc->header.addr1, dest); in rtllib_assoc_resp()
988 ether_addr_copy(assoc->header.addr3, ieee->dev->dev_addr); in rtllib_assoc_resp()
989 ether_addr_copy(assoc->header.addr2, ieee->dev->dev_addr); in rtllib_assoc_resp()
[all …]
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()
697 ether_addr_copy(header.addr1, in rtllib_xmit_inter()
699 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
701 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
704 ether_addr_copy(header.addr3, dest); in rtllib_xmit_inter()
709 ether_addr_copy(header.addr1, dest); in rtllib_xmit_inter()
710 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
711 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
Drtl819x_BAProc.c100 ether_addr_copy(BAReq->addr1, Dst); in rtllib_ADDBA()
101 ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr); in rtllib_ADDBA()
103 ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); in rtllib_ADDBA()
163 ether_addr_copy(Delba->addr1, dst); in rtllib_DELBA()
164 ether_addr_copy(Delba->addr2, ieee->dev->dev_addr); in rtllib_DELBA()
165 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()
972 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr()
973 ether_addr_copy(src, hdr->addr3); in rtllib_rx_extract_addr()
974 ether_addr_copy(bssid, hdr->addr2); in rtllib_rx_extract_addr()
977 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
978 ether_addr_copy(src, hdr->addr2); in rtllib_rx_extract_addr()
979 ether_addr_copy(bssid, hdr->addr1); in rtllib_rx_extract_addr()
982 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
[all …]
/Linux-v4.19/drivers/staging/vt6655/
Drxtx.c682 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
683 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
736 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
737 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
758 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
759 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
788 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
789 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
808 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
809 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
[all …]
/Linux-v4.19/net/batman-adv/
Dbridge_loop_avoidance.c276 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find()
395 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
404 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
413 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
423 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
424 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
431 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
526 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
703 ether_addr_copy(search_claim.addr, mac); in batadv_bla_add_claim()
713 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim()
[all …]
Dnetwork-coding.c882 ether_addr_copy(nc_node->addr, orig_node->orig); in batadv_nc_get_nc_node()
994 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
995 ether_addr_copy(nc_path->prev_hop, src); in batadv_nc_get_path()
1170 ether_addr_copy(coded_packet->first_source, first_source); in batadv_nc_code_packets()
1171 ether_addr_copy(coded_packet->first_orig_dest, packet1->dest); in batadv_nc_code_packets()
1176 ether_addr_copy(coded_packet->second_dest, second_dest->addr); in batadv_nc_code_packets()
1177 ether_addr_copy(coded_packet->second_source, second_source); in batadv_nc_code_packets()
1178 ether_addr_copy(coded_packet->second_orig_dest, packet2->dest); in batadv_nc_code_packets()
1403 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1404 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
[all …]
Drouting.c268 ether_addr_copy(icmph->dst, icmph->orig); in batadv_recv_my_icmp_packet()
269 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); in batadv_recv_my_icmp_packet()
336 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()
337 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded()
414 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet()
804 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
918 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
Dsend.c104 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
105 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
263 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
318 ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); in batadv_send_skb_prepare_unicast_4addr()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c348 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_beacon()
349 ether_addr_copy(pwlanhdr->addr2, myid(&(padapter->eeprompriv))); in issue_beacon()
350 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in issue_beacon()
491 ether_addr_copy(pwlanhdr->addr1, da); in issue_probersp()
492 ether_addr_copy(pwlanhdr->addr2, mac); in issue_probersp()
493 ether_addr_copy(pwlanhdr->addr3, bssid); in issue_probersp()
638 ether_addr_copy(pwlanhdr->addr1, da); in issue_probereq()
639 ether_addr_copy(pwlanhdr->addr3, da); in issue_probereq()
642 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_probereq()
643 ether_addr_copy(pwlanhdr->addr3, bc_addr); in issue_probereq()
[all …]
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_fip.c37 ether_addr_copy(vlan->eth.h_source, qedf->mac); in qedf_fcoe_send_vlan_req()
38 ether_addr_copy(vlan->eth.h_dest, my_fcoe_all_fcfs); in qedf_fcoe_send_vlan_req()
48 ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac); in qedf_fcoe_send_vlan_req()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_mac.c92 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt()
117 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt()
/Linux-v4.19/drivers/staging/vt6656/
Drxtx.c400 ether_addr_copy(rts->ra, hdr->addr1); in vnt_fill_ieee80211_rts()
401 ether_addr_copy(rts->ta, hdr->addr2); in vnt_fill_ieee80211_rts()
556 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_fb_head()
582 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_head()
751 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey()
766 ether_addr_copy(mic_hdr->addr1, hdr->addr1); in vnt_fill_txkey()
767 ether_addr_copy(mic_hdr->addr2, hdr->addr2); in vnt_fill_txkey()
768 ether_addr_copy(mic_hdr->addr3, hdr->addr3); in vnt_fill_txkey()
776 ether_addr_copy(mic_hdr->addr4, hdr->addr4); in vnt_fill_txkey()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c214 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_msg_mac_vlan_vf()
252 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_read_mac_addr_vf()
253 ether_addr_copy(hw->mac.addr, perm_addr); in fm10k_read_mac_addr_vf()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c295 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); in parse_ether()
296 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
297 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, dmac_47_16), eth_mask->h_dest); in parse_ether()
298 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
316 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, dmac_47_16), m_dest); in set_dmac()
317 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), v_dest); in set_dmac()
/Linux-v4.19/drivers/net/ethernet/sfc/
Def10_sriov.c294 ether_addr_copy(nic_data->vport_mac, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf()
481 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
533 ether_addr_copy(vf->efx->net_dev->dev_addr, mac); in efx_ef10_sriov_set_vf_mac()
536 ether_addr_copy(vf->mac, mac); in efx_ef10_sriov_set_vf_mac()
741 ether_addr_copy(ivf->mac, vf->mac); in efx_ef10_sriov_get_vf_config()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dbase.h83 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val))
85 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))

12345678910>>...13