Home
last modified time | relevance | path

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

123

/net/batman-adv/
Dbridge_loop_avoidance.c382 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 …]
Dbat_iv_ogm.c713 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 …]
Drouting.c197 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()
Dsoft-interface.c247 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()
Dbat_v_elp.c525 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()
Dbat_v_ogm.c705 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()
Dnetwork-coding.c1112 second_source = ethhdr->h_source; in batadv_nc_code_packets()
1121 first_source = ethhdr->h_source; in batadv_nc_code_packets()
1391 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1434 ethhdr->h_source, nc_node); in batadv_nc_skb_dst_search()
1535 ethhdr->h_source, in batadv_nc_skb_forward()
1584 ethhdr->h_source, in batadv_nc_skb_store_for_decoding()
1756 dest = ethhdr->h_source; in batadv_nc_find_decoding_packet()
Dsend.c92 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
415 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
895 neigh_addr = eth_hdr(forw_packet->skb)->h_source; in batadv_send_outstanding_bcast_packet()
/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()
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()
/net/ipv6/netfilter/
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()
/net/atm/
Dlec.h20 unsigned char h_source[ETH_ALEN]; member
29 unsigned char h_source[ETH_ALEN]; member
/net/hsr/
Dhsr_framereg.c191 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) in hsr_get_node()
193 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) in hsr_get_node()
214 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out); in hsr_get_node()
258 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame()
293 memcpy(&eth_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source()
Dhsr_slave.c31 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) { in hsr_handle_frame()
/net/sched/
Dact_skbmod.c53 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()
/net/bridge/
Dbr_input.c91 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()
Dbr_arp_nd_proxy.c273 daddr = eth_hdr(request)->h_source; in br_nd_send()
287 ether_addr_copy(eth_hdr(reply)->h_source, n->ha); in br_nd_send()
Dbr_multicast.c240 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip4_multicast_alloc_query()
337 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip6_multicast_alloc_query()
964 src = eth_hdr(skb)->h_source; in br_ip4_multicast_igmp3_report()
1041 src = eth_hdr(skb)->h_source; in br_ip6_multicast_mld2_report()
1623 src = eth_hdr(skb)->h_source; in br_multicast_ipv4_rcv()
1706 src = eth_hdr(skb)->h_source; in br_multicast_ipv6_rcv()
1718 src = eth_hdr(skb)->h_source; in br_multicast_ipv6_rcv()
/net/ethernet/
Deth.c96 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()
/net/netfilter/
Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/net/netfilter/ipset/
Dip_set_hash_ipmac.c97 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_ipmac4_kadt()
213 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_ipmac6_kadt()
Dip_set_hash_mac.c85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt()
/net/bridge/netfilter/
Debt_snat.c28 ether_addr_copy(eth_hdr(skb)->h_source, info->mac); in ebt_snat_tg()
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()
/net/ipv4/netfilter/
Dnf_reject_ipv4.c156 oeth->h_source, oeth->h_dest, nskb->len) < 0) in nf_send_reset()
/net/decnet/
Ddn_neigh.c407 memcpy(neigh->ha, &eth_hdr(skb)->h_source, ETH_ALEN); in dn_neigh_router_hello()
466 memcpy(neigh->ha, &eth_hdr(skb)->h_source, ETH_ALEN); in dn_neigh_endnode_hello()

123