Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v5.15/drivers/staging/wlan-ng/
Dp80211conv.c299 ether_addr_copy(daddr, w_hdr->address1); in skb_p80211_to_ether()
300 ether_addr_copy(saddr, w_hdr->address2); in skb_p80211_to_ether()
303 ether_addr_copy(daddr, w_hdr->address1); in skb_p80211_to_ether()
304 ether_addr_copy(saddr, w_hdr->address3); in skb_p80211_to_ether()
307 ether_addr_copy(daddr, w_hdr->address3); in skb_p80211_to_ether()
308 ether_addr_copy(saddr, w_hdr->address2); in skb_p80211_to_ether()
316 ether_addr_copy(daddr, w_hdr->address3); in skb_p80211_to_ether()
317 ether_addr_copy(saddr, w_hdr->address4); 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.15/net/sched/
Dact_skbmod.c69 ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); in tcf_skbmod_act()
71 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act()
78 ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); in tcf_skbmod_act()
79 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act()
80 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act()
203 ether_addr_copy(p->eth_dst, daddr); in tcf_skbmod_init()
205 ether_addr_copy(p->eth_src, saddr); in tcf_skbmod_init()
/Linux-v5.15/net/hsr/
Dhsr_framereg.c89 ether_addr_copy(node->macaddress_A, addr_a); in hsr_create_self_node()
90 ether_addr_copy(node->macaddress_B, addr_b); in hsr_create_self_node()
161 ether_addr_copy(new_node->macaddress_A, addr); in hsr_add_node()
315 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
390 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest()
526 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
532 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
556 ether_addr_copy(addr_b, node->macaddress_B); in hsr_get_node_data()
Dhsr_device.c319 ether_addr_copy(hsr_sp->macaddress_A, master->dev->dev_addr); in send_hsr_supervision_frame()
358 ether_addr_copy(hsr_sp->macaddress_A, master->dev->dev_addr); in send_prp_supervision_frame()
496 ether_addr_copy(hsr_dev->dev_addr, slave[0]->dev_addr); in hsr_dev_finalize()
523 ether_addr_copy(hsr->sup_multicast_addr, def_multicast_addr); in hsr_dev_finalize()
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_mrp.c68 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()
101 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_copy_add_vcap()
102 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_mrp_copy_add_vcap()
/Linux-v5.15/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c492 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
493 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
496 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
497 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr3); /* SA */ in michael_mic_hdr()
500 ether_addr_copy(hdr, hdr11->addr3); /* DA */ in michael_mic_hdr()
501 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr4); /* SA */ in michael_mic_hdr()
504 ether_addr_copy(hdr, hdr11->addr1); /* DA */ in michael_mic_hdr()
505 ether_addr_copy(hdr + ETH_ALEN, hdr11->addr2); /* SA */ in michael_mic_hdr()
558 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()
794 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req()
795 ether_addr_copy(auth->header.addr2, ieee->dev->dev_addr); in rtllib_authentication_req()
796 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req()
887 ether_addr_copy(beacon_buf->header.addr1, dest); in rtllib_probe_resp()
888 ether_addr_copy(beacon_buf->header.addr2, ieee->dev->dev_addr); in rtllib_probe_resp()
889 ether_addr_copy(beacon_buf->header.addr3, ieee->current_network.bssid); in rtllib_probe_resp()
983 ether_addr_copy(assoc->header.addr1, dest); in rtllib_assoc_resp()
984 ether_addr_copy(assoc->header.addr3, ieee->dev->dev_addr); in rtllib_assoc_resp()
985 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.15/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.15/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.15/drivers/staging/vt6655/
Drxtx.c634 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()
741 ether_addr_copy(buf->data.ta, hdr->addr2); 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()
[all …]
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dmac_flt.c25 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_do_add()
51 ether_addr_copy(req->mac_addr, pf->netdev->dev_addr); in otx2_dmacflt_add_pfmac()
168 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_update()
Dotx2_flows.c330 ether_addr_copy(pf->mac_table[i].addr, mac); in otx2_do_add_macfilter()
338 ether_addr_copy(req->packet.dmac, mac); in otx2_do_add_macfilter()
781 ether_addr_copy(pkt->smac, eth_hdr->h_source); in otx2_prepare_flow_request()
782 ether_addr_copy(pmask->smac, eth_mask->h_source); in otx2_prepare_flow_request()
786 ether_addr_copy(pkt->dmac, eth_hdr->h_dest); in otx2_prepare_flow_request()
787 ether_addr_copy(pmask->dmac, eth_mask->h_dest); in otx2_prepare_flow_request()
862 ether_addr_copy(pkt->dmac, fsp->h_ext.h_dest); in otx2_prepare_flow_request()
863 ether_addr_copy(pmask->dmac, fsp->m_ext.h_dest); in otx2_prepare_flow_request()
977 ether_addr_copy(eth_hdr->h_dest, pfvf->netdev->dev_addr); in otx2_add_flow_with_pfmac()
1131 ether_addr_copy(eth_hdr->h_dest, in otx2_update_rem_pfmac()
[all …]
/Linux-v5.15/drivers/staging/rtl8712/
Drtl871x_xmit.c490 ether_addr_copy(pwlanhdr->addr1, bssid); in make_wlanhdr()
491 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr()
492 ether_addr_copy(pwlanhdr->addr3, pattrib->dst); in make_wlanhdr()
496 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr()
497 ether_addr_copy(pwlanhdr->addr2, bssid); in make_wlanhdr()
498 ether_addr_copy(pwlanhdr->addr3, pattrib->src); in make_wlanhdr()
501 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr()
502 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr()
503 ether_addr_copy(pwlanhdr->addr3, bssid); in make_wlanhdr()
505 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr()
[all …]
/Linux-v5.15/drivers/staging/vt6656/
Drxtx.c230 ether_addr_copy(rts->ra, hdr->addr1); in vnt_fill_ieee80211_rts()
231 ether_addr_copy(rts->ta, hdr->addr2); in vnt_fill_ieee80211_rts()
287 ether_addr_copy(buf->data.ra, priv->current_net_addr); in vnt_fill_cts_head()
339 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey()
354 ether_addr_copy(mic_hdr->addr1, hdr->addr1); in vnt_fill_txkey()
355 ether_addr_copy(mic_hdr->addr2, hdr->addr2); in vnt_fill_txkey()
356 ether_addr_copy(mic_hdr->addr3, hdr->addr3); in vnt_fill_txkey()
364 ether_addr_copy(mic_hdr->addr4, hdr->addr4); in vnt_fill_txkey()
/Linux-v5.15/net/batman-adv/
Dnetwork-coding.c875 ether_addr_copy(nc_node->addr, orig_node->orig); in batadv_nc_get_nc_node()
985 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
986 ether_addr_copy(nc_path->prev_hop, src); in batadv_nc_get_path()
1154 ether_addr_copy(coded_packet->first_source, first_source); in batadv_nc_code_packets()
1155 ether_addr_copy(coded_packet->first_orig_dest, packet1->dest); in batadv_nc_code_packets()
1160 ether_addr_copy(coded_packet->second_dest, second_dest->addr); in batadv_nc_code_packets()
1161 ether_addr_copy(coded_packet->second_source, second_source); in batadv_nc_code_packets()
1162 ether_addr_copy(coded_packet->second_orig_dest, packet2->dest); in batadv_nc_code_packets()
1383 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1384 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
[all …]
Dbridge_loop_avoidance.c269 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find()
388 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
397 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
406 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
416 ether_addr_copy(hw_src, mac); in batadv_bla_send_claim()
417 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
424 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
518 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
695 ether_addr_copy(search_claim.addr, mac); in batadv_bla_add_claim()
705 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim()
[all …]
Drouting.c244 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()
773 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
889 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
/Linux-v5.15/drivers/staging/wfx/
Dkey.c39 ether_addr_copy(msg->peer_address, peer_addr); in fill_wep_pair()
66 ether_addr_copy(msg->peer_address, peer_addr); in fill_tkip_pair()
99 ether_addr_copy(msg->peer_address, peer_addr); in fill_ccmp_pair()
123 ether_addr_copy(msg->peer_address, peer_addr); in fill_sms4_pair()
/Linux-v5.15/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.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c334 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()
341 ether_addr_copy(key + off, eth_value->h_dest); in dpaa2_eth_prep_eth_rule()
342 ether_addr_copy(mask + off, eth_mask->h_dest); in dpaa2_eth_prep_eth_rule()
482 ether_addr_copy(key + off, ext_value->h_dest); in dpaa2_eth_prep_mac_ext_rule()
483 ether_addr_copy(mask + off, ext_mask->h_dest); in dpaa2_eth_prep_mac_ext_rule()

12345678910>>...16