Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.15/net/sched/
H A Dact_skbmod.c70 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()
/linux-6.15/drivers/net/ethernet/mscc/
H A 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()
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()
/linux-6.15/net/dsa/
H A Dtrace.h45 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);
/linux-6.15/net/bridge/netfilter/
H A 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()
H A Dnft_reject_bridge.c30 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); in nft_reject_br_push_etherhdr()
31 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); in nft_reject_br_push_etherhdr()
/linux-6.15/net/netfilter/ipset/
H A 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()
H A 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()
H A 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-6.15/net/hsr/
H A Dhsr_framereg.c104 ether_addr_copy(sn->macaddress_A, addr_a); in hsr_create_self_node()
105 ether_addr_copy(sn->macaddress_B, addr_b); in hsr_create_self_node()
169 ether_addr_copy(new_node->macaddress_A, addr); in hsr_add_node()
382 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
463 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest()
730 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
736 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
760 ether_addr_copy(addr_b, node->macaddress_B); in hsr_get_node_data()
H A Dhsr_device.c340 ether_addr_copy(hsr_sp->macaddress_A, addr); in send_hsr_supervision_frame()
350 ether_addr_copy(hsr_sp->macaddress_A, hsr->macaddress_redbox); in send_hsr_supervision_frame()
392 ether_addr_copy(hsr_sp->macaddress_A, master->dev->dev_addr); in send_prp_supervision_frame()
729 ether_addr_copy(hsr->sup_multicast_addr, def_multicast_addr); in hsr_dev_finalize()
770 ether_addr_copy(hsr->macaddress_redbox, interlink->dev_addr); in hsr_dev_finalize()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dmac_flt.c25 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_do_add()
59 ether_addr_copy(req->mac_addr, pf->netdev->dev_addr); in otx2_dmacflt_add_pfmac()
197 ether_addr_copy(req->mac_addr, mac); in otx2_dmacflt_update()
H A Dotx2_flows.c380 ether_addr_copy(pf->mac_table[i].addr, mac); in otx2_do_add_macfilter()
388 ether_addr_copy(req->packet.dmac, mac); in otx2_do_add_macfilter()
836 ether_addr_copy(pkt->smac, eth_hdr->h_source); in otx2_prepare_flow_request()
837 ether_addr_copy(pmask->smac, eth_mask->h_source); in otx2_prepare_flow_request()
841 ether_addr_copy(pkt->dmac, eth_hdr->h_dest); in otx2_prepare_flow_request()
842 ether_addr_copy(pmask->dmac, eth_mask->h_dest); in otx2_prepare_flow_request()
937 ether_addr_copy(pkt->dmac, fsp->h_ext.h_dest); in otx2_prepare_flow_request()
938 ether_addr_copy(pmask->dmac, fsp->m_ext.h_dest); in otx2_prepare_flow_request()
1079 ether_addr_copy(eth_hdr->h_dest, pfvf->netdev->dev_addr); in otx2_add_flow_with_pfmac()
1251 ether_addr_copy(eth_hdr->h_dest, in otx2_update_rem_pfmac()
[all …]
/linux-6.15/net/batman-adv/
H A Dnetwork-coding.c871 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 Dbridge_loop_avoidance.c270 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 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()
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()
/linux-6.15/drivers/net/wireless/silabs/wfx/
H A Dkey.c39 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()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c50 ether_addr_copy(mps_entry->mask, mask ? mask : bitmask); in cxgb4_mps_ref_inc()
51 ether_addr_copy(mps_entry->addr, mac_addr); in cxgb4_mps_ref_inc()
/linux-6.15/drivers/scsi/qedf/
H A 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-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.c155 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()
/linux-6.15/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.h52 ether_addr_copy(((u8 *)(_hdr)) + 4, (u8 *)(_val))
54 ether_addr_copy(((u8 *)(_hdr))+10, (u8 *)(_val))
/linux-6.15/drivers/net/ethernet/intel/fm10k/
H A 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-6.15/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c976 ether_addr_copy(hdr.addr1, vif->addr); in mt76_connac2_reverse_frag0_hdr_trans()
977 ether_addr_copy(hdr.addr2, sta->addr); in mt76_connac2_reverse_frag0_hdr_trans()
981 ether_addr_copy(hdr.addr3, vif->bss_conf.bssid); in mt76_connac2_reverse_frag0_hdr_trans()
984 ether_addr_copy(hdr.addr3, eth_hdr->h_source); in mt76_connac2_reverse_frag0_hdr_trans()
987 ether_addr_copy(hdr.addr3, eth_hdr->h_dest); in mt76_connac2_reverse_frag0_hdr_trans()
990 ether_addr_copy(hdr.addr3, eth_hdr->h_dest); in mt76_connac2_reverse_frag0_hdr_trans()
991 ether_addr_copy(hdr.addr4, eth_hdr->h_source); in mt76_connac2_reverse_frag0_hdr_trans()
1000 ether_addr_copy(skb_push(skb, ETH_ALEN), bridge_tunnel_header); in mt76_connac2_reverse_frag0_hdr_trans()
1002 ether_addr_copy(skb_push(skb, ETH_ALEN), rfc1042_header); in mt76_connac2_reverse_frag0_hdr_trans()
H A Dscan.c51 ether_addr_copy(hdr->addr1, req->bssid); in mt76_scan_send_probe()
52 ether_addr_copy(hdr->addr3, req->bssid); in mt76_scan_send_probe()
/linux-6.15/net/caif/
H A 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-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c361 ether_addr_copy(key + off, eth_value->h_source); in dpaa2_eth_prep_eth_rule()
362 ether_addr_copy(mask + off, eth_mask->h_source); in dpaa2_eth_prep_eth_rule()
368 ether_addr_copy(key + off, eth_value->h_dest); in dpaa2_eth_prep_eth_rule()
369 ether_addr_copy(mask + off, eth_mask->h_dest); in dpaa2_eth_prep_eth_rule()
509 ether_addr_copy(key + off, ext_value->h_dest); in dpaa2_eth_prep_mac_ext_rule()
510 ether_addr_copy(mask + off, ext_mask->h_dest); in dpaa2_eth_prep_mac_ext_rule()

12345678910>>...18