Home
last modified time | relevance | path

Searched refs:h_source (Results 1 – 25 of 130) sorted by relevance

123456

/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_rx.c121 - 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()
238 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
Duap_txrx.c140 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt()
142 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt()
143 sizeof(p_ethhdr->h_source)); in mwifiex_uap_queue_bridged_pkt()
189 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt()
285 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source); in mwifiex_uap_recv_packet()
388 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_eui64.c38 memcpy(eui64, eth_hdr(skb)->h_source, 3); in eui64_mt6()
39 memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3); in eui64_mt6()
/Linux-v4.19/net/batman-adv/
Dbridge_loop_avoidance.c395 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
416 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
427 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
431 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
434 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
909 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1029 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1166 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1179 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1184 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
[all …]
Dbat_iv_ogm.c863 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); in batadv_iv_ogm_forward()
1043 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_orig_update()
1075 orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_iv_ogm_orig_update()
1080 ethhdr->h_source, in batadv_iv_ogm_orig_update()
1378 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_update_seqnos()
1461 if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig)) in batadv_iv_ogm_process_per_outif()
1467 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1479 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1492 (batadv_compare_eth(router->addr, ethhdr->h_source))) in batadv_iv_ogm_process_per_outif()
1503 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
[all …]
Drouting.c209 if (!is_valid_ether_addr(ethhdr->h_source)) in batadv_check_management_packet()
388 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_icmp_packet()
486 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_check_unicast_packet()
702 ethhdr->h_source, unicast_packet->dest); in batadv_route_unicast_packet()
1006 orig_addr_gw = eth_hdr(skb)->h_source; in batadv_recv_unicast_packet()
1216 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_bcast_packet()
1220 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_recv_bcast_packet()
Dbat_v_ogm.c523 orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_v_ogm_route_update()
688 ethhdr->h_source, if_incoming->net_dev->name, in batadv_v_ogm_process()
703 hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source); in batadv_v_ogm_process()
715 ethhdr->h_source); in batadv_v_ogm_process()
817 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_ogm_packet_recv()
Dsoft-interface.c250 if (!is_multicast_ether_addr(ethhdr->h_source) && in batadv_interface_tx()
251 !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { in batadv_interface_tx()
252 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, in batadv_interface_tx()
476 ethhdr->h_source, vid); in batadv_interface_rx()
483 batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
491 } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
Dbat_v_elp.c530 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_elp_packet_recv()
543 ethhdr->h_source, ntohl(elp_packet->seqno), in batadv_v_elp_packet_recv()
550 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, in batadv_v_elp_packet_recv()
/Linux-v4.19/net/atm/
Dlec.h20 unsigned char h_source[ETH_ALEN]; member
29 unsigned char h_source[ETH_ALEN]; member
/Linux-v4.19/net/hsr/
Dhsr_framereg.c175 if (ether_addr_equal(node->MacAddressA, ethhdr->h_source)) in hsr_get_node()
177 if (ether_addr_equal(node->MacAddressB, ethhdr->h_source)) in hsr_get_node()
198 return hsr_add_node(node_db, ethhdr->h_source, seq_out); in hsr_get_node()
241 ether_addr_copy(node_real->MacAddressB, ethhdr->h_source); in hsr_handle_sup_frame()
274 memcpy(&eth_hdr(skb)->h_source, node->MacAddressA, ETH_ALEN); in hsr_addr_subst_source()
/Linux-v4.19/net/bluetooth/bnep/
Dcore.c55 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()
595 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection()
678 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1039 if (!is_broadcast_ether_addr(mask->h_source)) { in gfar_set_ether()
1040 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether()
1044 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether()
1045 mask->h_source[1] << 8 | in gfar_set_ether()
1046 mask->h_source[2]; in gfar_set_ether()
1047 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether()
1048 mask->h_source[4] << 8 | in gfar_set_ether()
1049 mask->h_source[5]; in gfar_set_ether()
1052 gfar_set_attribute(value->h_source[0] << 16 | in gfar_set_ether()
1053 value->h_source[1] << 8 | in gfar_set_ether()
[all …]
/Linux-v4.19/samples/bpf/
Dxdp_adjust_tail_kern.c50 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()
Dparse_simple.c22 unsigned char h_source[ETH_ALEN]; member
Dtest_cgrp2_tc_kern.c18 unsigned char h_source[ETH_ALEN]; member
Dxdp_tx_iptunnel_kern.c72 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
/Linux-v4.19/net/bridge/
Dbr_input.c97 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, false); in br_handle_frame_finish()
192 br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, false); in __br_handle_local_finish()
221 if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) in br_handle_frame()
/Linux-v4.19/net/sched/
Dact_skbmod.c56 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act()
64 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act()
65 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act()
/Linux-v4.19/net/ethernet/
Deth.c99 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header()
215 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
240 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in eth_header_cache()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Drx.c122 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet()
123 sizeof(p_ethhdr->h_source)); in lbs_process_rxed_packet()
/Linux-v4.19/drivers/staging/ks7010/
Deap_packet.h11 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
/Linux-v4.19/net/netfilter/
Dxt_mac.c39 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_xdp.c75 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwow.c127 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211()
128 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); in ath10k_wow_convert_8023_to_80211()
145 offsetof(struct ethhdr, h_source); in ath10k_wow_convert_8023_to_80211()

123456