Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.4/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-v5.4/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c223 ether_addr_copy(pwlanhdr->addr1, bc_addr); in ConstructBeacon()
224 ether_addr_copy(pwlanhdr->addr2, myid(&adapt->eeprompriv)); in ConstructBeacon()
225 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in ConstructBeacon()
313 ether_addr_copy(pwlanhdr->addr1, pnetwork->MacAddress); in ConstructPSPoll()
316 ether_addr_copy(pwlanhdr->addr2, myid(&adapt->eeprompriv)); in ConstructPSPoll()
348 ether_addr_copy(pwlanhdr->addr1, pnetwork->MacAddress); in ConstructNullFunctionData()
349 ether_addr_copy(pwlanhdr->addr2, myid(&adapt->eeprompriv)); in ConstructNullFunctionData()
350 ether_addr_copy(pwlanhdr->addr3, StaAddr); in ConstructNullFunctionData()
354 ether_addr_copy(pwlanhdr->addr1, StaAddr); in ConstructNullFunctionData()
355 ether_addr_copy(pwlanhdr->addr2, pnetwork->MacAddress); in ConstructNullFunctionData()
[all …]
/Linux-v5.4/net/sched/
Dact_skbmod.c51 ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); in tcf_skbmod_act()
53 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act()
60 ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); in tcf_skbmod_act()
61 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act()
62 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act()
178 ether_addr_copy(p->eth_dst, daddr); in tcf_skbmod_init()
180 ether_addr_copy(p->eth_src, saddr); in tcf_skbmod_init()
/Linux-v5.4/net/hsr/
Dhsr_framereg.c88 ether_addr_copy(node->macaddress_A, addr_a); in hsr_create_self_node()
89 ether_addr_copy(node->macaddress_B, addr_b); in hsr_create_self_node()
144 ether_addr_copy(node->macaddress_A, addr); in hsr_add_node()
242 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
309 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest()
440 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
446 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
473 ether_addr_copy(addr_b, node->macaddress_B); in hsr_get_node_data()
/Linux-v5.4/net/netfilter/ipset/
Dip_set_hash_mac.c85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt()
87 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_mac4_kadt()
113 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt()
Dip_set_hash_ipmac.c97 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_ipmac4_kadt()
99 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_ipmac4_kadt()
213 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_ipmac6_kadt()
215 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_ipmac6_kadt()
Dip_set_bitmap_ipmac.c157 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
166 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
171 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
230 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in bitmap_ipmac_kadt()
232 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in bitmap_ipmac_kadt()
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c534 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
535 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
538 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
539 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
542 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
543 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
546 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
547 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
600 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure()
Drtllib_softmac.c356 ether_addr_copy(req->header.addr2, ieee->dev->dev_addr); in rtllib_probe_req()
795 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req()
796 ether_addr_copy(auth->header.addr2, ieee->dev->dev_addr); in rtllib_authentication_req()
797 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req()
888 ether_addr_copy(beacon_buf->header.addr1, dest); in rtllib_probe_resp()
889 ether_addr_copy(beacon_buf->header.addr2, ieee->dev->dev_addr); in rtllib_probe_resp()
890 ether_addr_copy(beacon_buf->header.addr3, ieee->current_network.bssid); in rtllib_probe_resp()
984 ether_addr_copy(assoc->header.addr1, dest); in rtllib_assoc_resp()
985 ether_addr_copy(assoc->header.addr3, ieee->dev->dev_addr); in rtllib_assoc_resp()
986 ether_addr_copy(assoc->header.addr2, ieee->dev->dev_addr); in rtllib_assoc_resp()
[all …]
Drtllib_tx.c595 ether_addr_copy(dest, skb->data); in rtllib_xmit_inter()
596 ether_addr_copy(src, skb->data + ETH_ALEN); in rtllib_xmit_inter()
681 ether_addr_copy(header.addr1, in rtllib_xmit_inter()
683 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
685 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
688 ether_addr_copy(header.addr3, dest); in rtllib_xmit_inter()
693 ether_addr_copy(header.addr1, dest); in rtllib_xmit_inter()
694 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter()
695 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
Drtl819x_BAProc.c92 ether_addr_copy(BAReq->addr1, Dst); in rtllib_ADDBA()
93 ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr); in rtllib_ADDBA()
95 ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); in rtllib_ADDBA()
155 ether_addr_copy(Delba->addr1, dst); in rtllib_DELBA()
156 ether_addr_copy(Delba->addr2, ieee->dev->dev_addr); in rtllib_DELBA()
157 ether_addr_copy(Delba->addr3, ieee->current_network.bssid); in rtllib_DELBA()
Drtllib_rx.c140 ether_addr_copy(entry->src_addr, hdr->addr2); in rtllib_frag_cache_get()
141 ether_addr_copy(entry->dst_addr, hdr->addr1); in rtllib_frag_cache_get()
408 ether_addr_copy(entry->mac, mac); in is_duplicate_packet()
964 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr()
965 ether_addr_copy(src, hdr->addr3); in rtllib_rx_extract_addr()
966 ether_addr_copy(bssid, hdr->addr2); in rtllib_rx_extract_addr()
969 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
970 ether_addr_copy(src, hdr->addr2); in rtllib_rx_extract_addr()
971 ether_addr_copy(bssid, hdr->addr1); in rtllib_rx_extract_addr()
974 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr()
[all …]
/Linux-v5.4/net/bridge/netfilter/
Debt_redirect.c29 ether_addr_copy(eth_hdr(skb)->h_dest, in ebt_redirect_tg()
32 ether_addr_copy(eth_hdr(skb)->h_dest, xt_in(par)->dev_addr); in ebt_redirect_tg()
/Linux-v5.4/drivers/staging/vt6655/
Drxtx.c683 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
684 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
737 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
738 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
759 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
760 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
789 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
790 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
809 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead()
810 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead()
[all …]
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_flower.c88 ether_addr_copy(ocelot_rule->frame.etype.dmac.value, in ocelot_flower_parse()
90 ether_addr_copy(ocelot_rule->frame.etype.smac.value, in ocelot_flower_parse()
92 ether_addr_copy(ocelot_rule->frame.etype.dmac.mask, in ocelot_flower_parse()
94 ether_addr_copy(ocelot_rule->frame.etype.smac.mask, in ocelot_flower_parse()
/Linux-v5.4/net/batman-adv/
Dbridge_loop_avoidance.c263 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find()
382 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
391 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
400 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
410 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
411 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
418 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
513 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
690 ether_addr_copy(search_claim.addr, mac); in batadv_bla_add_claim()
700 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim()
[all …]
Dnetwork-coding.c870 ether_addr_copy(nc_node->addr, orig_node->orig); in batadv_nc_get_nc_node()
982 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
983 ether_addr_copy(nc_path->prev_hop, src); in batadv_nc_get_path()
1158 ether_addr_copy(coded_packet->first_source, first_source); in batadv_nc_code_packets()
1159 ether_addr_copy(coded_packet->first_orig_dest, packet1->dest); in batadv_nc_code_packets()
1164 ether_addr_copy(coded_packet->second_dest, second_dest->addr); in batadv_nc_code_packets()
1165 ether_addr_copy(coded_packet->second_source, second_source); in batadv_nc_code_packets()
1166 ether_addr_copy(coded_packet->second_orig_dest, packet2->dest); in batadv_nc_code_packets()
1391 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1392 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
[all …]
Drouting.c256 ether_addr_copy(icmph->dst, icmph->orig); in batadv_recv_my_icmp_packet()
257 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); in batadv_recv_my_icmp_packet()
324 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()
325 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded()
402 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet()
792 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
906 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c347 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_beacon()
348 ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); in issue_beacon()
349 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in issue_beacon()
490 ether_addr_copy(pwlanhdr->addr1, da); in issue_probersp()
491 ether_addr_copy(pwlanhdr->addr2, mac); in issue_probersp()
492 ether_addr_copy(pwlanhdr->addr3, bssid); in issue_probersp()
637 ether_addr_copy(pwlanhdr->addr1, da); in issue_probereq()
638 ether_addr_copy(pwlanhdr->addr3, da); in issue_probereq()
641 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_probereq()
642 ether_addr_copy(pwlanhdr->addr3, bc_addr); in issue_probereq()
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c288 ether_addr_copy(key + off, eth_value->h_source); in prep_eth_rule()
289 ether_addr_copy(mask + off, eth_mask->h_source); in prep_eth_rule()
295 ether_addr_copy(key + off, eth_value->h_dest); in prep_eth_rule()
296 ether_addr_copy(mask + off, eth_mask->h_dest); in prep_eth_rule()
436 ether_addr_copy(key + off, ext_value->h_dest); in prep_mac_ext_rule()
437 ether_addr_copy(mask + off, ext_mask->h_dest); in prep_mac_ext_rule()
/Linux-v5.4/drivers/scsi/qedf/
Dqedf_fip.c36 ether_addr_copy(vlan->eth.h_source, qedf->mac); in qedf_fcoe_send_vlan_req()
37 ether_addr_copy(vlan->eth.h_dest, my_fcoe_all_fcfs); in qedf_fcoe_send_vlan_req()
47 ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac); in qedf_fcoe_send_vlan_req()
/Linux-v5.4/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-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dbase.h52 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val))
54 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))
/Linux-v5.4/net/caif/
Dcaif_usb.c107 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], braddr); in cfusbl_create()
108 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmac80211.c159 ether_addr_copy(rtwvif->mac_addr, vif->addr); in rtw_ops_add_interface()
280 ether_addr_copy(rtwvif->bssid, conf->bssid); in rtw_ops_bss_info_changed()
471 ether_addr_copy(rtwvif->mac_addr, mac_addr); in rtw_ops_sw_scan_start()
495 ether_addr_copy(rtwvif->mac_addr, vif->addr); in rtw_ops_sw_scan_complete()

12345678910>>...15