/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | p80211conv.c | 278 ether_addr_copy(daddr, w_hdr->address1); in skb_p80211_to_ether() 279 ether_addr_copy(saddr, w_hdr->address2); in skb_p80211_to_ether() 282 ether_addr_copy(daddr, w_hdr->address1); in skb_p80211_to_ether() 283 ether_addr_copy(saddr, w_hdr->address3); in skb_p80211_to_ether() 286 ether_addr_copy(daddr, w_hdr->address3); in skb_p80211_to_ether() 388 ether_addr_copy(e_hdr->daddr, daddr); in skb_p80211_to_ether() 389 ether_addr_copy(e_hdr->saddr, saddr); in skb_p80211_to_ether() 430 ether_addr_copy(e_hdr->daddr, daddr); in skb_p80211_to_ether() 431 ether_addr_copy(e_hdr->saddr, saddr); in skb_p80211_to_ether() 456 ether_addr_copy(e_hdr->daddr, daddr); in skb_p80211_to_ether() [all …]
|
/openbmc/linux/net/sched/ |
H A D | act_skbmod.c | 70 ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); in tcf_skbmod_act() 72 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act() 79 ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); in tcf_skbmod_act() 80 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act() 81 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act() 204 ether_addr_copy(p->eth_dst, daddr); in tcf_skbmod_init() 206 ether_addr_copy(p->eth_src, saddr); in tcf_skbmod_init()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_mrp.c | 68 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_redirect_add_vcap() 69 ether_addr_copy(filter->key.etype.dmac.mask, mrp_test_mask); in ocelot_mrp_redirect_add_vcap() 87 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_populate_mrp_trap_key() 88 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_populate_mrp_trap_key()
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_redirect.c | 29 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()
|
/openbmc/linux/net/hsr/ |
H A D | hsr_framereg.c | 87 ether_addr_copy(sn->macaddress_A, addr_a); in hsr_create_self_node() 88 ether_addr_copy(sn->macaddress_B, addr_b); in hsr_create_self_node() 152 ether_addr_copy(new_node->macaddress_A, addr); in hsr_add_node() 353 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame() 430 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest() 573 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node() 579 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node() 603 ether_addr_copy(addr_b, node->macaddress_B); in hsr_get_node_data()
|
/openbmc/linux/net/dsa/ |
H A D | trace.h | 45 ether_addr_copy(__entry->addr, addr); 104 ether_addr_copy(__entry->addr, addr); 163 ether_addr_copy(__entry->addr, addr); 203 ether_addr_copy(__entry->addr, addr); 231 ether_addr_copy(__entry->addr, addr); 259 ether_addr_copy(__entry->addr, addr); 287 ether_addr_copy(__entry->addr, addr); 314 ether_addr_copy(__entry->addr, addr);
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_tkip.c | 474 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr() 475 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr() 478 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr() 479 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr() 482 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr() 483 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr() 486 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr() 487 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr() 542 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure()
|
H A D | rtllib_tx.c | 587 ether_addr_copy(dest, skb->data); in rtllib_xmit_inter() 588 ether_addr_copy(src, skb->data + ETH_ALEN); in rtllib_xmit_inter() 672 ether_addr_copy(header.addr1, in rtllib_xmit_inter() 674 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter() 676 ether_addr_copy(header.addr3, in rtllib_xmit_inter() 679 ether_addr_copy(header.addr3, dest); in rtllib_xmit_inter() 684 ether_addr_copy(header.addr1, dest); in rtllib_xmit_inter() 685 ether_addr_copy(header.addr2, src); in rtllib_xmit_inter() 686 ether_addr_copy(header.addr3, in rtllib_xmit_inter()
|
H A D | rtl819x_BAProc.c | 92 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() 153 ether_addr_copy(Delba->addr1, dst); in rtllib_DELBA() 154 ether_addr_copy(Delba->addr2, ieee->dev->dev_addr); in rtllib_DELBA() 155 ether_addr_copy(Delba->addr3, ieee->current_network.bssid); in rtllib_DELBA()
|
H A D | rtllib_softmac.c | 338 ether_addr_copy(req->header.addr2, ieee->dev->dev_addr); in rtllib_probe_req() 747 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req() 749 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req() 841 ether_addr_copy(beacon_buf->header.addr1, dest); in rtllib_probe_resp() 926 ether_addr_copy(hdr->addr2, ieee->dev->dev_addr); in rtllib_null_func() 950 ether_addr_copy(hdr->ta, ieee->dev->dev_addr); in rtllib_pspoll_func() 1081 ether_addr_copy(hdr->header.addr1, beacon->bssid); in rtllib_association_req() 1083 ether_addr_copy(hdr->header.addr3, beacon->bssid); in rtllib_association_req() 1085 ether_addr_copy(ieee->ap_mac_addr, beacon->bssid); in rtllib_association_req() 1636 ether_addr_copy(src, header->addr2); in probe_rq_parse() [all …]
|
H A D | rtllib_rx.c | 396 ether_addr_copy(entry->mac, mac); in is_duplicate_packet() 952 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr() 953 ether_addr_copy(src, hdr->addr3); in rtllib_rx_extract_addr() 954 ether_addr_copy(bssid, hdr->addr2); in rtllib_rx_extract_addr() 957 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr() 958 ether_addr_copy(src, hdr->addr2); in rtllib_rx_extract_addr() 962 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr() 963 ether_addr_copy(src, hdr->addr4); in rtllib_rx_extract_addr() 967 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr() 968 ether_addr_copy(src, hdr->addr2); in rtllib_rx_extract_addr() [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_mac.c | 85 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()
|
H A D | ip_set_hash_ipmac.c | 97 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()
|
H A D | ip_set_bitmap_ipmac.c | 157 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()
|
/openbmc/linux/drivers/staging/vt6655/ |
H A D | rxtx.c | 634 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead() 635 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead() 688 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead() 689 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead() 710 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead() 711 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead() 740 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead() 760 ether_addr_copy(buf->data.ra, hdr->addr1); in s_vFillRTSHead() 761 ether_addr_copy(buf->data.ta, hdr->addr2); in s_vFillRTSHead() 829 ether_addr_copy(buf->data.ra, in s_vFillCTSHead() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_xmit.c | 515 ether_addr_copy(pwlanhdr->addr1, bssid); in make_wlanhdr() 516 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr() 517 ether_addr_copy(pwlanhdr->addr3, pattrib->dst); in make_wlanhdr() 521 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr() 522 ether_addr_copy(pwlanhdr->addr2, bssid); in make_wlanhdr() 523 ether_addr_copy(pwlanhdr->addr3, pattrib->src); in make_wlanhdr() 526 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr() 527 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr() 528 ether_addr_copy(pwlanhdr->addr3, bssid); in make_wlanhdr() 530 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dmac_flt.c | 25 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_do_add() 54 ether_addr_copy(req->mac_addr, pf->netdev->dev_addr); in otx2_dmacflt_add_pfmac() 192 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_update()
|
/openbmc/linux/drivers/staging/vt6656/ |
H A D | rxtx.c | 228 ether_addr_copy(rts->ra, hdr->addr1); in vnt_fill_ieee80211_rts() 229 ether_addr_copy(rts->ta, hdr->addr2); in vnt_fill_ieee80211_rts() 285 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_head() 337 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey() 352 ether_addr_copy(mic_hdr->addr1, hdr->addr1); in vnt_fill_txkey() 353 ether_addr_copy(mic_hdr->addr2, hdr->addr2); in vnt_fill_txkey() 354 ether_addr_copy(mic_hdr->addr3, hdr->addr3); in vnt_fill_txkey() 360 ether_addr_copy(mic_hdr->addr4, hdr->addr4); in vnt_fill_txkey()
|
/openbmc/linux/net/batman-adv/ |
H A D | network-coding.c | 871 ether_addr_copy(nc_node->addr, orig_node->orig); in batadv_nc_get_nc_node() 981 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path() 982 ether_addr_copy(nc_path->prev_hop, src); in batadv_nc_get_path() 1150 ether_addr_copy(coded_packet->first_source, first_source); in batadv_nc_code_packets() 1151 ether_addr_copy(coded_packet->first_orig_dest, packet1->dest); in batadv_nc_code_packets() 1156 ether_addr_copy(coded_packet->second_dest, second_dest->addr); in batadv_nc_code_packets() 1157 ether_addr_copy(coded_packet->second_source, second_source); in batadv_nc_code_packets() 1158 ether_addr_copy(coded_packet->second_orig_dest, packet2->dest); in batadv_nc_code_packets() 1379 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding() 1380 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding() [all …]
|
H A D | bridge_loop_avoidance.c | 270 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find() 389 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 398 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim() 407 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim() 417 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim() 418 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim() 425 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 519 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw() 706 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim() 1366 ether_addr_copy(backbone_gw->orig, in batadv_bla_update_orig_address() [all …]
|
H A D | routing.c | 244 ether_addr_copy(icmph->dst, icmph->orig); in batadv_recv_my_icmp_packet() 245 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); in batadv_recv_my_icmp_packet() 310 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded() 311 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded() 386 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet() 774 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet() 890 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | key.c | 39 ether_addr_copy(msg->peer_address, peer_addr); in fill_wep_pair() 65 ether_addr_copy(msg->peer_address, peer_addr); in fill_tkip_pair() 94 ether_addr_copy(msg->peer_address, peer_addr); in fill_ccmp_pair() 117 ether_addr_copy(msg->peer_address, peer_addr); in fill_sms4_pair()
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_fip.c | 36 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.h | 52 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val)) 54 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-sync.c | 155 ether_addr_copy(cmd.peer_addr, addr); in iwl_mvm_time_sync_config() 165 ether_addr_copy(mvm->time_sync.peer_addr, addr); in iwl_mvm_time_sync_config()
|