| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ | 
| D | sta_rx.c | 121 			 - sizeof(rx_pkt_hdr->eth803_hdr.h_source)  in mwifiex_process_rx_packet()124 		memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source,  in mwifiex_process_rx_packet()
 125 		       sizeof(eth->h_source));  in mwifiex_process_rx_packet()
 241 		memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN);  in mwifiex_process_sta_rx_packet()
 
 | 
| D | uap_txrx.c | 139 			 - sizeof(rx_pkt_hdr->eth803_hdr.h_source)  in mwifiex_uap_queue_bridged_pkt()141 		memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source,  in mwifiex_uap_queue_bridged_pkt()
 142 		       sizeof(p_ethhdr->h_source));  in mwifiex_uap_queue_bridged_pkt()
 188 	src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source);  in mwifiex_uap_queue_bridged_pkt()
 284 	src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source);  in mwifiex_uap_recv_packet()
 386 	ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source);  in mwifiex_process_uap_rx_packet()
 
 | 
| /Linux-v5.4/net/ipv6/netfilter/ | 
| 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-v5.4/net/batman-adv/ | 
| D | bridge_loop_avoidance.c | 382 		ether_addr_copy(ethhdr->h_source, mac);  in batadv_bla_send_claim()403 			   ethhdr->h_source, batadv_print_vid(vid));  in batadv_bla_send_claim()
 414 			   ethhdr->h_source, ethhdr->h_dest,  in batadv_bla_send_claim()
 418 		ether_addr_copy(ethhdr->h_source, mac);  in batadv_bla_send_claim()
 421 			   __func__, ethhdr->h_source, ethhdr->h_dest,  in batadv_bla_send_claim()
 906 		   __func__, batadv_print_vid(vid), ethhdr->h_source);  in batadv_handle_request()
 1026 		backbone_addr = ethhdr->h_source;  in batadv_check_claim_group()
 1163 			   __func__, ethhdr->h_source, batadv_print_vid(vid),  in batadv_bla_process_claim()
 1176 					ethhdr->h_source, vid))  in batadv_bla_process_claim()
 1181 					  ethhdr->h_source, hw_src, vid))  in batadv_bla_process_claim()
 [all …]
 
 | 
| D | bat_iv_ogm.c | 713 	ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source);  in batadv_iv_ogm_forward()937 		if (batadv_compare_eth(neigh_addr, ethhdr->h_source) &&  in batadv_iv_ogm_orig_update()
 969 		orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source);  in batadv_iv_ogm_orig_update()
 974 						     ethhdr->h_source,  in batadv_iv_ogm_orig_update()
 1260 		if (batadv_compare_eth(neigh_addr, ethhdr->h_source) &&  in batadv_iv_ogm_update_seqnos()
 1343 	if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig))  in batadv_iv_ogm_process_per_outif()
 1349 			   ethhdr->h_source);  in batadv_iv_ogm_process_per_outif()
 1361 						       ethhdr->h_source);  in batadv_iv_ogm_process_per_outif()
 1374 	    (batadv_compare_eth(router->addr, ethhdr->h_source)))  in batadv_iv_ogm_process_per_outif()
 1385 			   ethhdr->h_source);  in batadv_iv_ogm_process_per_outif()
 [all …]
 
 | 
| D | routing.c | 197 	if (!is_valid_ether_addr(ethhdr->h_source))  in batadv_check_management_packet()376 	if (is_multicast_ether_addr(ethhdr->h_source))  in batadv_recv_icmp_packet()
 474 	if (is_multicast_ether_addr(ethhdr->h_source))  in batadv_check_unicast_packet()
 690 			 ethhdr->h_source, unicast_packet->dest);  in batadv_route_unicast_packet()
 994 		orig_addr_gw = eth_hdr(skb)->h_source;  in batadv_recv_unicast_packet()
 1206 	if (is_multicast_ether_addr(ethhdr->h_source))  in batadv_recv_bcast_packet()
 1210 	if (batadv_is_my_mac(bat_priv, ethhdr->h_source))  in batadv_recv_bcast_packet()
 
 | 
| D | soft-interface.c | 247 	if (!is_multicast_ether_addr(ethhdr->h_source) &&  in batadv_interface_tx()248 	    !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) {  in batadv_interface_tx()
 249 		client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source,  in batadv_interface_tx()
 479 						     ethhdr->h_source, vid);  in batadv_interface_rx()
 486 		    batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source,  in batadv_interface_rx()
 494 	} else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source,  in batadv_interface_rx()
 
 | 
| D | bat_v_elp.c | 525 	if (batadv_is_my_mac(bat_priv, ethhdr->h_source))  in batadv_v_elp_packet_recv()538 		   ethhdr->h_source, ntohl(elp_packet->seqno),  in batadv_v_elp_packet_recv()
 545 	batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming,  in batadv_v_elp_packet_recv()
 
 | 
| D | bat_v_ogm.c | 705 	orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source);  in batadv_v_ogm_route_update()876 		   ethhdr->h_source, if_incoming->net_dev->name,  in batadv_v_ogm_process()
 891 	hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source);  in batadv_v_ogm_process()
 903 						     ethhdr->h_source);  in batadv_v_ogm_process()
 1005 	if (batadv_is_my_mac(bat_priv, ethhdr->h_source))  in batadv_v_ogm_packet_recv()
 
 | 
| /Linux-v5.4/net/atm/ | 
| D | lec.h | 20 	unsigned char h_source[ETH_ALEN];  member29 	unsigned char h_source[ETH_ALEN];  member
 
 | 
| /Linux-v5.4/net/bluetooth/bnep/ | 
| 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-v5.4/drivers/net/ethernet/freescale/ | 
| D | gianfar_ethtool.c | 1002 	if (!is_broadcast_ether_addr(mask->h_source)) {  in gfar_set_ether()1003 		if (is_zero_ether_addr(mask->h_source)) {  in gfar_set_ether()
 1007 			upper_temp_mask = mask->h_source[0] << 16 |  in gfar_set_ether()
 1008 					  mask->h_source[1] << 8  |  in gfar_set_ether()
 1009 					  mask->h_source[2];  in gfar_set_ether()
 1010 			lower_temp_mask = mask->h_source[3] << 16 |  in gfar_set_ether()
 1011 					  mask->h_source[4] << 8  |  in gfar_set_ether()
 1012 					  mask->h_source[5];  in gfar_set_ether()
 1015 		gfar_set_attribute(value->h_source[0] << 16 |  in gfar_set_ether()
 1016 				   value->h_source[1] << 8  |  in gfar_set_ether()
 [all …]
 
 | 
| /Linux-v5.4/net/hsr/ | 
| D | hsr_framereg.c | 176 		if (ether_addr_equal(node->macaddress_A, ethhdr->h_source))  in hsr_get_node()178 		if (ether_addr_equal(node->macaddress_B, ethhdr->h_source))  in hsr_get_node()
 199 	return hsr_add_node(node_db, ethhdr->h_source, seq_out);  in hsr_get_node()
 242 	ether_addr_copy(node_real->macaddress_B, ethhdr->h_source);  in hsr_handle_sup_frame()
 275 	memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN);  in hsr_addr_subst_source()
 
 | 
| /Linux-v5.4/samples/bpf/ | 
| D | xdp_adjust_tail_kern.c | 50 	memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN);  in swap_mac()51 	memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN);  in swap_mac()
 
 | 
| D | parse_simple.c | 22 	unsigned char   h_source[ETH_ALEN];  member
 | 
| D | test_cgrp2_tc_kern.c | 18 	unsigned char   h_source[ETH_ALEN];  member
 | 
| D | xdp_tx_iptunnel_kern.c | 72 	memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));  in set_ethhdr()
 | 
| /Linux-v5.4/net/sched/ | 
| D | act_skbmod.c | 53 		ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src);  in tcf_skbmod_act()61 		ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source);  in tcf_skbmod_act()
 62 		ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr);  in tcf_skbmod_act()
 
 | 
| /Linux-v5.4/net/bridge/ | 
| D | br_input.c | 91 		br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, false);  in br_handle_frame_finish()187 		br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, false);  in __br_handle_local_finish()
 265 	if (!is_valid_ether_addr(eth_hdr(skb)->h_source))  in br_handle_frame()
 
 | 
| /Linux-v5.4/drivers/net/wireless/marvell/libertas/ | 
| D | rx.c | 123 		memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr,  in lbs_process_rxed_packet()124 		       sizeof(p_ethhdr->h_source));  in lbs_process_rxed_packet()
 
 | 
| /Linux-v5.4/net/netfilter/ | 
| D | xt_mac.c | 36 	ret  = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr);  in mac_mt()
 | 
| /Linux-v5.4/drivers/staging/ks7010/ | 
| D | eap_packet.h | 11 	unsigned char h_source[ETH_ALEN];	/* source ether addr    */  member
 | 
| /Linux-v5.4/net/ethernet/ | 
| D | eth.c | 96 	memcpy(eth->h_source, saddr, ETH_ALEN);  in eth_header()220 	memcpy(haddr, eth->h_source, ETH_ALEN);  in eth_header_parse()
 245 	memcpy(eth->h_source, dev->dev_addr, ETH_ALEN);  in eth_header_cache()
 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/progs/ | 
| D | test_xdp.c | 75 	memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));  in set_ethhdr()
 | 
| D | test_xdp_loop.c | 71 	memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));  in set_ethhdr()
 |