/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_rx.c | 132 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet() 135 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 136 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 253 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
|
H A D | uap_txrx.c | 149 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt() 151 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt() 152 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt() 198 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt() 302 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet() 410 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_rx.c | 120 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet() 123 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 124 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()
|
H A D | uap_txrx.c | 137 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt() 139 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt() 140 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt() 186 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt() 290 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet() 398 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 86 unsigned char h_source[ETH_ALEN]; in mtk_ppe_debugfs_foe_show() local 153 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show() 154 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show() 161 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdp_features.c | 209 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN); in xdp_do_tx() 210 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); in xdp_do_tx() 261 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN); in xdp_do_redirect_cpumap() 262 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); in xdp_do_redirect_cpumap()
|
/kernel/linux/linux-5.10/net/atm/ |
H A D | lec.h | 20 unsigned char h_source[ETH_ALEN]; member 29 unsigned char h_source[ETH_ALEN]; member
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H 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()
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | lec.h | 20 unsigned char h_source[ETH_ALEN]; member 29 unsigned char h_source[ETH_ALEN]; member
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H 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()
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 390 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 411 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim() 422 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 426 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 429 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 917 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request() 1037 backbone_addr = ethhdr->h_source; in batadv_check_claim_group() 1174 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim() 1187 ethhdr->h_source, vid)) in batadv_bla_process_claim() 1192 ethhdr->h_source, hw_sr in batadv_bla_process_claim() [all...] |
H A D | bat_iv_ogm.c | 716 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); in batadv_iv_ogm_forward() 944 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_orig_update() 976 orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_iv_ogm_orig_update() 981 ethhdr->h_source, in batadv_iv_ogm_orig_update() 1268 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_update_seqnos() 1351 if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig)) in batadv_iv_ogm_process_per_outif() 1357 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1369 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1382 (batadv_compare_eth(router->addr, ethhdr->h_source))) in batadv_iv_ogm_process_per_outif() 1393 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() [all...] |
H A 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() 998 orig_addr_gw = eth_hdr(skb)->h_source; in batadv_recv_unicast_packet() 1210 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_bcast_packet() 1214 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_recv_bcast_packet()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 389 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 410 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim() 421 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 425 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 428 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 912 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request() 1032 backbone_addr = ethhdr->h_source; in batadv_check_claim_group() 1169 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim() 1182 ethhdr->h_source, vid)) in batadv_bla_process_claim() 1187 ethhdr->h_source, hw_sr in batadv_bla_process_claim() [all...] |
H A D | bat_iv_ogm.c | 713 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); in batadv_iv_ogm_forward() 940 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_orig_update() 972 orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_iv_ogm_orig_update() 977 ethhdr->h_source, in batadv_iv_ogm_orig_update() 1259 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_update_seqnos() 1342 if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig)) in batadv_iv_ogm_process_per_outif() 1348 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1360 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1373 (batadv_compare_eth(router->addr, ethhdr->h_source))) in batadv_iv_ogm_process_per_outif() 1384 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 969 if (!is_broadcast_ether_addr(mask->h_source)) { in gfar_set_ether() 970 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether() 974 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether() 975 mask->h_source[1] << 8 | in gfar_set_ether() 976 mask->h_source[2]; in gfar_set_ether() 977 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether() 978 mask->h_source[4] << 8 | in gfar_set_ether() 979 mask->h_source[5]; in gfar_set_ether() 982 gfar_set_attribute(value->h_source[0] << 16 | in gfar_set_ether() 983 value->h_source[ in gfar_set_ether() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 979 if (!is_broadcast_ether_addr(mask->h_source)) { in gfar_set_ether() 980 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether() 984 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether() 985 mask->h_source[1] << 8 | in gfar_set_ether() 986 mask->h_source[2]; in gfar_set_ether() 987 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether() 988 mask->h_source[4] << 8 | in gfar_set_ether() 989 mask->h_source[5]; in gfar_set_ether() 992 gfar_set_attribute(value->h_source[0] << 16 | in gfar_set_ether() 993 value->h_source[ in gfar_set_ether() [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H 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()
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
H 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()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H 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()
|
/kernel/linux/linux-6.6/net/bluetooth/bnep/ |
H 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()
|
/kernel/linux/linux-5.10/net/hsr/ |
H A D | hsr_framereg.c | 223 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node() 228 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node() 255 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node() 314 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame() 355 memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source() 409 * ethhdr->h_source address and skb->mac_header set.
|
/kernel/linux/linux-6.6/net/hsr/ |
H 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() 250 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node() 353 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame() 394 memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source() 449 * ethhdr->h_source address and skb->mac_header set.
|
/kernel/linux/linux-5.10/samples/bpf/ |
H 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()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H 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()
|