Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/wireless/marvell/mwifiex/
A 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()
241 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
A Duap_txrx.c139 - 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()
382 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()
/linux/net/batman-adv/
A Dbridge_loop_avoidance.c420 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
1031 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1181 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1186 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1954 __func__, ethhdr->h_source, in batadv_bla_rx()
1956 ethhdr->h_source, vid) ? in batadv_bla_rx()
1960 ethhdr->h_source, vid); in batadv_bla_rx()
1993 ethhdr->h_source, vid); in batadv_bla_rx()
2080 __func__, ethhdr->h_source); in batadv_bla_tx()
2083 ethhdr->h_source, vid); in batadv_bla_tx()
[all …]
A Dbat_iv_ogm.c978 ethhdr->h_source, in batadv_iv_ogm_orig_update()
1349 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1361 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1385 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1399 ethhdr->h_source); in batadv_iv_ogm_process_per_outif()
1592 ethhdr->h_source, if_incoming->net_dev->name, in batadv_iv_ogm_process()
1606 if (batadv_compare_eth(ethhdr->h_source, in batadv_iv_ogm_process()
1623 ethhdr->h_source); in batadv_iv_ogm_process()
1629 ethhdr->h_source); in batadv_iv_ogm_process()
1645 ethhdr->h_source); in batadv_iv_ogm_process()
[all …]
A Dsoft-interface.c246 if (!is_multicast_ether_addr(ethhdr->h_source) && in batadv_interface_tx()
247 !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { in batadv_interface_tx()
248 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, in batadv_interface_tx()
471 ethhdr->h_source, vid); in batadv_interface_rx()
478 batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
486 } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
A Drouting.c194 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()
1189 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_bcast_packet()
1193 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_recv_bcast_packet()
A Dbat_v_elp.c518 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_elp_packet_recv()
531 ethhdr->h_source, ntohl(elp_packet->seqno), in batadv_v_elp_packet_recv()
538 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, in batadv_v_elp_packet_recv()
A Dbat_v_ogm.c705 orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_v_ogm_route_update()
871 ethhdr->h_source, if_incoming->net_dev->name, in batadv_v_ogm_process()
892 hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source); in batadv_v_ogm_process()
904 ethhdr->h_source); in batadv_v_ogm_process()
1003 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_ogm_packet_recv()
A Dnetwork-coding.c1108 second_source = ethhdr->h_source; in batadv_nc_code_packets()
1117 first_source = ethhdr->h_source; in batadv_nc_code_packets()
1383 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1426 ethhdr->h_source, nc_node); in batadv_nc_skb_dst_search()
1527 ethhdr->h_source, in batadv_nc_skb_forward()
1576 ethhdr->h_source, in batadv_nc_skb_store_for_decoding()
1748 dest = ethhdr->h_source; in batadv_nc_find_decoding_packet()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe_debugfs.c86 unsigned char h_source[ETH_ALEN]; in mtk_ppe_debugfs_foe_show() local
151 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show()
152 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show()
158 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
/linux/net/netfilter/
A Dnft_flow_offload.c76 u8 h_source[ETH_ALEN]; member
107 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info()
108 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info()
130 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info()
131 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info()
208 memcpy(route->tuple[dir].out.h_source, info.h_source, ETH_ALEN); in nft_dev_forward_path()
/linux/net/ipv6/netfilter/
A Dip6t_eui64.c35 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/drivers/net/ethernet/freescale/
A Dgianfar_ethtool.c974 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether()
978 upper_temp_mask = mask->h_source[0] << 16 | in gfar_set_ether()
979 mask->h_source[1] << 8 | in gfar_set_ether()
980 mask->h_source[2]; in gfar_set_ether()
981 lower_temp_mask = mask->h_source[3] << 16 | in gfar_set_ether()
982 mask->h_source[4] << 8 | in gfar_set_ether()
983 mask->h_source[5]; in gfar_set_ether()
987 value->h_source[1] << 8 | in gfar_set_ether()
988 value->h_source[2], in gfar_set_ether()
992 value->h_source[4] << 8 | in gfar_set_ether()
[all …]
/linux/net/bluetooth/bnep/
A 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()
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/net/atm/
A Dlec.h20 unsigned char h_source[ETH_ALEN]; member
29 unsigned char h_source[ETH_ALEN]; member
/linux/net/hsr/
A Dhsr_framereg.c222 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node()
227 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node()
254 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node()
357 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
393 memcpy(&eth_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source()
/linux/samples/bpf/
A Dxdp_adjust_tail_kern.c53 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 Dparse_simple.c22 unsigned char h_source[ETH_ALEN]; member
A Dxdp_tx_iptunnel_kern.c72 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
/linux/net/sched/
A Dact_skbmod.c71 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); 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()
/linux/net/bridge/
A Dbr_input.c96 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, 0); in br_handle_frame_finish()
194 br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, 0); in __br_handle_local_finish()
287 if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) in br_handle_frame()
/linux/net/bridge/netfilter/
A Dnft_reject_bridge.c30 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/drivers/net/wireless/marvell/libertas/
A Drx.c120 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/net/ethernet/
A Deth.c96 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()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_xdp.c73 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()

Completed in 55 milliseconds

1234567