| /net/batman-adv/ |
| A D | bridge_loop_avoidance.c | 389 ether_addr_copy(ethhdr->h_source, mac); 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() 1032 backbone_addr = ethhdr->h_source; in batadv_check_claim_group() 1182 ethhdr->h_source, vid)) in batadv_bla_process_claim() 1187 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim() 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 D | bat_iv_ogm.c | 983 ethhdr->h_source, in batadv_iv_ogm_orig_update() 1354 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1366 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1390 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1404 ethhdr->h_source); in batadv_iv_ogm_process_per_outif() 1598 ethhdr->h_source, if_incoming->net_dev->name, in batadv_iv_ogm_process() 1610 if (batadv_compare_eth(ethhdr->h_source, in batadv_iv_ogm_process() 1627 ethhdr->h_source); in batadv_iv_ogm_process() 1633 ethhdr->h_source); in batadv_iv_ogm_process() 1649 ethhdr->h_source); in batadv_iv_ogm_process() [all …]
|
| A D | mesh-interface.c | 234 if (!is_multicast_ether_addr(ethhdr->h_source) && in batadv_interface_tx() 235 !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { in batadv_interface_tx() 236 client_added = batadv_tt_local_add(mesh_iface, ethhdr->h_source, in batadv_interface_tx() 462 ethhdr->h_source, vid); in batadv_interface_rx() 469 batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx() 477 } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, in batadv_interface_rx()
|
| A D | routing.c | 194 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() 1188 if (is_multicast_ether_addr(ethhdr->h_source)) in batadv_recv_bcast_packet() 1192 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_recv_bcast_packet()
|
| A D | bat_v_ogm.c | 702 orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_v_ogm_route_update() 868 ethhdr->h_source, if_incoming->net_dev->name, in batadv_v_ogm_process() 889 hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source); in batadv_v_ogm_process() 901 ethhdr->h_source); in batadv_v_ogm_process() 998 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_ogm_packet_recv()
|
| A D | bat_v_elp.c | 563 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) in batadv_v_elp_packet_recv() 576 ethhdr->h_source, ntohl(elp_packet->seqno), in batadv_v_elp_packet_recv() 583 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming, in batadv_v_elp_packet_recv()
|
| A D | network-coding.c | 1104 second_source = ethhdr->h_source; in batadv_nc_code_packets() 1113 first_source = ethhdr->h_source; in batadv_nc_code_packets() 1379 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding() 1422 ethhdr->h_source, nc_node); in batadv_nc_skb_dst_search() 1523 ethhdr->h_source, in batadv_nc_skb_forward() 1572 ethhdr->h_source, in batadv_nc_skb_store_for_decoding() 1744 dest = ethhdr->h_source; in batadv_nc_find_decoding_packet()
|
| A D | send.c | 91 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet() 414 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic() 862 neigh_addr = eth_hdr(skb)->h_source; in batadv_send_no_broadcast()
|
| /net/bridge/ |
| A D | br_input.c | 116 br_fdb_find_rcu(br, eth_hdr(skb)->h_source, vid); in br_handle_frame_finish() 123 br_fdb_update(br, p, eth_hdr(skb)->h_source, in br_handle_frame_finish() 134 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, in br_handle_frame_finish() 144 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, 0); in br_handle_frame_finish() 247 br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, 0); in __br_handle_local_finish() 341 if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) { in br_handle_frame()
|
| A D | br_arp_nd_proxy.c | 283 daddr = eth_hdr(request)->h_source; in br_nd_send() 301 ether_addr_copy(eth_hdr(reply)->h_source, n->ha); in br_nd_send()
|
| /net/netfilter/ |
| A D | nft_flow_offload.c | 90 u8 h_source[ETH_ALEN]; member 112 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info() 113 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info() 136 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info() 137 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN); in nft_dev_path_info() 214 memcpy(route->tuple[dir].out.h_source, info.h_source, ETH_ALEN); in nft_dev_forward_path()
|
| A D | xt_mac.c | 36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
|
| A D | nft_reject_netdev.c | 22 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest, in nft_reject_queue_xmit()
|
| /net/bluetooth/bnep/ |
| 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); in bnep_rx_frame() 438 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame() 441 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame() 450 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame() 597 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection() 680 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
|
| /net/ipv6/netfilter/ |
| 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()
|
| /net/atm/ |
| A D | lec.h | 20 unsigned char h_source[ETH_ALEN]; member 29 unsigned char h_source[ETH_ALEN]; member
|
| /net/hsr/ |
| A D | hsr_framereg.c | 234 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node() 239 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node() 248 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node() 279 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node() 382 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); in hsr_handle_sup_frame() 423 memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); in hsr_addr_subst_source()
|
| /net/sched/ |
| A D | act_skbmod.c | 72 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src); in tcf_skbmod_act() 80 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act() 81 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr); in tcf_skbmod_act()
|
| /net/ethernet/ |
| A D | eth.c | 96 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 204 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse() 229 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in eth_header_cache()
|
| /net/bridge/netfilter/ |
| A D | nft_reject_bridge.c | 30 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()
|
| A D | ebt_snat.c | 28 ether_addr_copy(eth_hdr(skb)->h_source, info->mac); in ebt_snat_tg()
|
| /net/netfilter/ipset/ |
| A D | ip_set_hash_ipmac.c | 97 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()
|
| A D | ip_set_hash_mac.c | 85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt()
|
| /net/ncsi/ |
| A D | ncsi-cmd.c | 388 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); in ncsi_xmit_cmd() 390 eth_broadcast_addr(eh->h_source); in ncsi_xmit_cmd()
|
| /net/core/ |
| A D | selftests.c | 97 ether_addr_copy(ehdr->h_source, attr->src); in net_test_get_skb() 224 if (!ether_addr_equal_unaligned(ehdr->h_source, src)) in net_test_loopback_validate()
|