/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/ |
A D | sta_rx.c | 109 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet() 112 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 113 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 229 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
|
A D | uap_txrx.c | 127 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt() 129 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt() 130 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt() 176 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt() 272 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet() 370 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_ppe_debugfs.c | 85 unsigned char h_source[ETH_ALEN]; in mtk_ppe_debugfs_foe_show() local 150 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show() 151 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show() 157 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
|
/linux-6.3-rc2/net/batman-adv/ |
A D | bridge_loop_avoidance.c | 421 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 1032 backbone_addr = ethhdr->h_source; in batadv_check_claim_group() 1182 ethhdr->h_source, vid)) in batadv_bla_process_claim() 1187 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim() 1955 __func__, ethhdr->h_source, in batadv_bla_rx() 1957 ethhdr->h_source, vid) ? in batadv_bla_rx() 1961 ethhdr->h_source, vid); in batadv_bla_rx() 1994 ethhdr->h_source, vid); in batadv_bla_rx() 2081 __func__, ethhdr->h_source); in batadv_bla_tx() 2084 ethhdr->h_source, vid); in batadv_bla_tx() [all …]
|
A D | bat_iv_ogm.c | 977 ethhdr->h_source, in batadv_iv_ogm_orig_update() 1348 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1360 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1384 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1398 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1591 ethhdr->h_source, if_incoming->net_dev->name, in batadv_iv_ogm_process() 1605 if (batadv_compare_eth(ethhdr->h_source, in batadv_iv_ogm_process() 1622 ethhdr->h_source); in batadv_iv_ogm_process() 1628 ethhdr->h_source); in batadv_iv_ogm_process() 1644 ethhdr->h_source); in batadv_iv_ogm_process() [all …]
|
A D | soft-interface.c | 244 if (!is_multicast_ether_addr(ethhdr->h_source) && in batadv_interface_tx() 245 !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { in batadv_interface_tx() 246 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, in batadv_interface_tx() 469 ethhdr->h_source, vid); in batadv_interface_rx() 476 batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx() 484 } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
|
A D | routing.c | 194 if (!is_valid_ether_addr(ethhdr->h_source)) in batadv_check_management_packet() 360 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_icmp_packet() 457 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_check_unicast_packet() 671 ethhdr->h_source, unicast_packet->dest); in batadv_route_unicast_packet() 978 orig_addr_gw = eth_hdr(skb)->h_source; in batadv_recv_unicast_packet() 1188 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_bcast_packet() 1192 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_recv_bcast_packet()
|
A D | bat_v_elp.c | 516 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_elp_packet_recv() 529 ethhdr->h_source, ntohl(elp_packet->seqno), in batadv_v_elp_packet_recv() 536 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, in batadv_v_elp_packet_recv()
|
/linux-6.3-rc2/net/bridge/ |
A D | br_input.c | 110 br_fdb_find_rcu(br, eth_hdr(skb)->h_source, vid); in br_handle_frame_finish() 117 br_fdb_update(br, p, eth_hdr(skb)->h_source, in br_handle_frame_finish() 128 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, in br_handle_frame_finish() 138 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, 0); in br_handle_frame_finish() 236 br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, 0); in __br_handle_local_finish() 329 if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) in br_handle_frame()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | xdp_features.c | 210 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN); in xdp_do_tx() 211 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); in xdp_do_tx() 262 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN); in xdp_do_redirect_cpumap() 263 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); in xdp_do_redirect_cpumap()
|
/linux-6.3-rc2/net/ipv6/netfilter/ |
A D | ip6t_eui64.c | 35 memcpy(eui64, eth_hdr(skb)->h_source, 3); in eui64_mt6() 36 memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3); in eui64_mt6()
|
/linux-6.3-rc2/net/atm/ |
A D | lec.h | 20 unsigned char h_source[ETH_ALEN]; member 29 unsigned char h_source[ETH_ALEN]; member
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_flow_offload.c | 89 u8 h_source[ETH_ALEN]; member 111 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info() 112 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info() 135 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info() 136 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info() 213 memcpy(route->tuple[dir].out.h_source, info.h_source, ETH_ALEN); in nft_dev_forward_path()
|
A D | xt_mac.c | 36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
|
/linux-6.3-rc2/net/bluetooth/bnep/ |
A D | core.c | 55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session() 388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); in bnep_rx_frame() 437 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame() 440 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame() 449 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame() 596 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection() 679 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 978 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether() 982 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether() 983 mask->h_source[1] << 8 | in gfar_set_ether() 984 mask->h_source[2]; in gfar_set_ether() 985 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether() 986 mask->h_source[4] << 8 | in gfar_set_ether() 987 mask->h_source[5]; in gfar_set_ether() 991 value->h_source[1] << 8 | in gfar_set_ether() 992 value->h_source[2], in gfar_set_ether() 996 value->h_source[4] << 8 | in gfar_set_ether() [all …]
|
/linux-6.3-rc2/net/hsr/ |
A D | hsr_framereg.c | 214 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node() 219 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node() 246 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node() 349 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame() 390 memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mei/ |
A D | net.c | 398 memcpy(ethhdr.h_source, ieee80211_get_SA(hdr), ETH_ALEN); in iwl_mei_tx_copy_to_csme() 405 eth = skb_push(skb, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source)); in iwl_mei_tx_copy_to_csme() 406 memcpy(eth, ðhdr, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source)); in iwl_mei_tx_copy_to_csme()
|
/linux-6.3-rc2/samples/bpf/ |
A D | xdp_adjust_tail_kern.c | 53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); in swap_mac() 54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); in swap_mac()
|
A D | parse_simple.c | 22 unsigned char h_source[ETH_ALEN]; member
|
/linux-6.3-rc2/net/sched/ |
A D | act_skbmod.c | 72 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); 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()
|
/linux-6.3-rc2/net/bridge/netfilter/ |
A D | nft_reject_bridge.c | 30 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.3-rc2/drivers/net/wireless/marvell/libertas/ |
A D | rx.c | 120 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet() 121 sizeof(p_ethhdr->h_source)); in lbs_process_rxed_packet()
|
/linux-6.3-rc2/drivers/staging/ks7010/ |
A D | eap_packet.h | 11 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
|
/linux-6.3-rc2/net/ethernet/ |
A D | eth.c | 96 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 216 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse() 241 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in eth_header_cache()
|