Home
last modified time | relevance | path

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

12345678910>>...15

/linux/net/sched/
H A 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()
76 u16 tmpaddr[ETH_ALEN / 2]; /* ether_addr_copy() requirement */ 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/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/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/net/netfilter/ipset/
H A Dip_set_bitmap_ipmac.c158 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
167 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
172 ether_addr_copy(elem->ether, e->ether); in bitmap_ipmac_do_add()
231 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in bitmap_ipmac_kadt()
233 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in bitmap_ipmac_kadt()
/linux/net/hsr/
H A Dhsr_framereg.c85 ether_addr_copy(sn->macaddress_A, addr_a); in hsr_create_self_node()
86 ether_addr_copy(sn->macaddress_B, addr_b); in hsr_create_self_node()
198 ether_addr_copy(new_node->macaddress_A, addr); in hsr_add_node()
476 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
570 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest()
812 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
818 ether_addr_copy(addr, node->macaddress_A); in hsr_get_next_node()
873 ether_addr_copy(addr_b, node->macaddress_B); in hsr_get_node_data()
H A Dhsr_device.c346 ether_addr_copy(hsr_sp->macaddress_A, addr); in send_hsr_supervision_frame()
356 ether_addr_copy(hsr_sp->macaddress_A, hsr->macaddress_redbox); in send_hsr_supervision_frame()
409 ether_addr_copy(hsr_sp->macaddress_A, addr); in send_prp_supervision_frame()
420 ether_addr_copy(hsr_sp->macaddress_A, hsr->macaddress_redbox); in send_prp_supervision_frame()
790 ether_addr_copy(hsr->sup_multicast_addr, def_multicast_addr); in hsr_dev_finalize()
804 ether_addr_copy(hsr->macaddress_redbox, interlink->dev_addr); in hsr_dev_finalize()
/linux/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/net/batman-adv/
H A Dbridge_loop_avoidance.c272 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()
701 ether_addr_copy(search_claim.addr, mac); in batadv_bla_add_claim()
711 ether_addr_copy(claim->addr, mac); in batadv_bla_add_claim()
[all …]
H A Drouting.c302 ether_addr_copy(icmph->dst, icmph->orig); in batadv_recv_my_icmp_packet()
303 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); in batadv_recv_my_icmp_packet()
379 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); in batadv_recv_icmp_ttl_exceeded()
380 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); in batadv_recv_icmp_ttl_exceeded()
456 ether_addr_copy(icmp_packet_rr->rr[icmp_packet_rr->rr_cur], in batadv_recv_icmp_packet()
860 ether_addr_copy(unicast_packet->dest, orig_addr); in batadv_reroute_unicast_packet()
991 ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); in batadv_check_unicast_ttvn()
H A Dsend.c87 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
88 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
237 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
292 ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); in batadv_send_skb_prepare_unicast_4addr()
/linux/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/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/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhal_qcc2072.c114 ether_addr_copy(hdr->addr1, desc->u.qcc2072.mpdu_start.addr1); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
115 ether_addr_copy(hdr->addr2, desc->u.qcc2072.mpdu_start.addr2); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
116 ether_addr_copy(hdr->addr3, desc->u.qcc2072.mpdu_start.addr3); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
120 ether_addr_copy(hdr->addr4, desc->u.qcc2072.mpdu_start.addr4); in ath12k_hal_rx_desc_get_dot11_hdr_qcc2072()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c989 ether_addr_copy(hdr.addr1, vif->addr); in mt76_connac2_reverse_frag0_hdr_trans()
990 ether_addr_copy(hdr.addr2, sta->addr); in mt76_connac2_reverse_frag0_hdr_trans()
994 ether_addr_copy(hdr.addr3, vif->bss_conf.bssid); in mt76_connac2_reverse_frag0_hdr_trans()
997 ether_addr_copy(hdr.addr3, eth_hdr->h_source); in mt76_connac2_reverse_frag0_hdr_trans()
1000 ether_addr_copy(hdr.addr3, eth_hdr->h_dest); in mt76_connac2_reverse_frag0_hdr_trans()
1003 ether_addr_copy(hdr.addr3, eth_hdr->h_dest); in mt76_connac2_reverse_frag0_hdr_trans()
1004 ether_addr_copy(hdr.addr4, eth_hdr->h_source); in mt76_connac2_reverse_frag0_hdr_trans()
1013 ether_addr_copy(skb_push(skb, ETH_ALEN), bridge_tunnel_header); in mt76_connac2_reverse_frag0_hdr_trans()
1015 ether_addr_copy(skb_push(skb, ETH_ALEN), rfc1042_header); in mt76_connac2_reverse_frag0_hdr_trans()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c542 ether_addr_copy(pf->mac_table[i].addr, mac); in otx2_do_add_macfilter()
550 ether_addr_copy(req->packet.dmac, mac); in otx2_do_add_macfilter()
998 ether_addr_copy(pkt->smac, eth_hdr->h_source); in otx2_prepare_flow_request()
999 ether_addr_copy(pmask->smac, eth_mask->h_source); in otx2_prepare_flow_request()
1003 ether_addr_copy(pkt->dmac, eth_hdr->h_dest); in otx2_prepare_flow_request()
1004 ether_addr_copy(pmask->dmac, eth_mask->h_dest); in otx2_prepare_flow_request()
1099 ether_addr_copy(pkt->dmac, fsp->h_ext.h_dest); in otx2_prepare_flow_request()
1100 ether_addr_copy(pmask->dmac, fsp->m_ext.h_dest); in otx2_prepare_flow_request()
1337 ether_addr_copy(eth_hdr->h_dest, pfvf->netdev->dev_addr); in otx2_add_flow_with_pfmac()
1509 ether_addr_copy(eth_hdr->h_dest, in otx2_update_rem_pfmac()
[all …]
/linux/net/tipc/
H A Deth_media.c66 ether_addr_copy(addr->value, msg); in tipc_eth_raw2addr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c321 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); in parse_ether()
322 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
323 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, dmac_47_16), eth_mask->h_dest); in parse_ether()
324 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
342 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, dmac_47_16), m_dest); in set_dmac()
343 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), v_dest); in set_dmac()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdb.c53 ether_addr_copy(fdb_entry->mac, fdb_info->addr); in lan966x_fdb_add_entry()
279 ether_addr_copy((u8 *)fdb_work->fdb_info.addr, fdb_info->addr); in lan966x_handle_fdb()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dmon.c210 ether_addr_copy(srcadd, hdr->addr2); in wilc_wfi_mon_xmit()
211 ether_addr_copy(bssid, hdr->addr3); in wilc_wfi_mon_xmit()
/linux/net/bridge/netfilter/
H A Debt_snat.c28 ether_addr_copy(eth_hdr(skb)->h_source, info->mac); in ebt_snat_tg()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dbf.c71 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc()
89 ether_addr_copy(bfee->mac_addr, bssid); in rtw_bf_assoc()
262 ether_addr_copy(param.bfer_address, bfee->mac_addr); in rtw_bf_enable_bfee_mu()
/linux/net/openvswitch/
H A Dflow.c600 ether_addr_copy(key->ipv6.nd.sll, in parse_icmpv6()
606 ether_addr_copy(key->ipv6.nd.tll, in parse_icmpv6()
780 ether_addr_copy(key->ipv4.arp.sha, arp->ar_sha); in key_extract_l3l4()
781 ether_addr_copy(key->ipv4.arp.tha, arp->ar_tha); in key_extract_l3l4()
933 ether_addr_copy(key->eth.src, eth->h_source); in key_extract()
934 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract()
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c908 ether_addr_copy(entry->key.term_mac.eth_dst, eth_dst); in ofdpa_flow_tbl_term_mac()
909 ether_addr_copy(entry->key.term_mac.eth_dst_mask, eth_dst_mask); in ofdpa_flow_tbl_term_mac()
938 ether_addr_copy(entry->key.bridge.eth_dst, eth_dst); in ofdpa_flow_tbl_bridge()
942 ether_addr_copy(entry->key.bridge.eth_dst_mask, eth_dst_mask); in ofdpa_flow_tbl_bridge()
1028 ether_addr_copy(entry->key.acl.eth_src, eth_src); in ofdpa_flow_tbl_acl()
1030 ether_addr_copy(entry->key.acl.eth_src_mask, eth_src_mask); in ofdpa_flow_tbl_acl()
1032 ether_addr_copy(entry->key.acl.eth_dst, eth_dst); in ofdpa_flow_tbl_acl()
1034 ether_addr_copy(entry->key.acl.eth_dst_mask, eth_dst_mask); in ofdpa_flow_tbl_acl()
1191 ether_addr_copy(entry->l3_unicast.eth_src, src_mac); in ofdpa_group_l3_unicast()
1193 ether_addr_copy(entry->l3_unicast.eth_dst, dst_mac); in ofdpa_group_l3_unicast()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c221 ether_addr_copy(list[i].h_u.eth_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
223 ether_addr_copy(list[i].m_u.eth_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
419 ether_addr_copy(list[i].h_u.eth_hdr.dst_addr, in ice_tc_fill_rules()
421 ether_addr_copy(list[i].m_u.eth_hdr.dst_addr, in ice_tc_fill_rules()
425 ether_addr_copy(list[i].h_u.eth_hdr.src_addr, in ice_tc_fill_rules()
427 ether_addr_copy(list[i].m_u.eth_hdr.src_addr, in ice_tc_fill_rules()
1748 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower()
1750 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower()
1756 ether_addr_copy(headers->l2_key.src_mac, in ice_parse_cls_flower()
1758 ether_addr_copy(headers->l2_mask.src_mac, in ice_parse_cls_flower()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c118 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf()
245 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf()
267 ether_addr_copy(msg_addr, addr); in ixgbevf_set_uc_addr_vf()
445 ether_addr_copy(msg_addr, addr); in ixgbevf_set_rar_vf()

12345678910>>...15