Home
last modified time | relevance | path

Searched refs:h_dest (Results 1 – 25 of 65) sorted by relevance

123

/net/802/
Dstp.c42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv()
43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/net/batman-adv/
Drouting.c190 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_management_packet()
356 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet()
364 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_recv_icmp_packet()
387 ethhdr->h_dest); in batadv_recv_icmp_packet()
453 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet()
461 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_check_unicast_packet()
809 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_ttvn()
817 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { in batadv_check_unicast_ttvn()
819 ethhdr->h_dest, vid)) in batadv_check_unicast_ttvn()
824 ethhdr->h_dest); in batadv_check_unicast_ttvn()
[all …]
Dsoft-interface.c267 if (batadv_compare_eth(ethhdr->h_dest, stp_addr)) in batadv_interface_tx()
270 if (batadv_compare_eth(ethhdr->h_dest, ectp_addr)) in batadv_interface_tx()
274 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx()
305 if (do_bcast && !is_broadcast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx()
476 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_rx()
490 ethhdr->h_dest, vid)) { in batadv_interface_rx()
Dbridge_loop_avoidance.c417 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
420 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
427 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
900 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
906 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
1917 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_rx()
1938 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1977 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
2052 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
2093 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()
Dnetwork-coding.c1383 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1384 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
1577 ethhdr->h_dest); in batadv_nc_skb_store_for_decoding()
1620 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_nc_skb_store_sniffed_unicast()
1680 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest); in batadv_nc_skb_decode_packet()
1819 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) && in batadv_nc_recv_coded_packet()
Dsend.c93 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
373 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
414 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()
/net/ethernet/
Deth.c98 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header()
107 eth_zero_addr(eth->h_dest); in eth_header()
166 if (unlikely(!ether_addr_equal_64bits(eth->h_dest, in eth_type_trans()
168 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { in eth_type_trans()
169 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in eth_type_trans()
241 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
/net/dsa/
Dtag_sja1105.c66 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_link_local()
113 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_meta_frame()
322 hdr->h_dest[3] = meta->dmac_byte_3; in sja1105_transfer_meta()
323 hdr->h_dest[4] = meta->dmac_byte_4; in sja1105_transfer_meta()
500 source_port = hdr->h_dest[3]; in sja1105_rcv()
501 switch_id = hdr->h_dest[4]; in sja1105_rcv()
503 hdr->h_dest[3] = 0; in sja1105_rcv()
504 hdr->h_dest[4] = 0; in sja1105_rcv()
Dtag_ocelot_8021q.c47 if (ocelot_ptp_rew_op(skb) || is_link_local_ether_addr(hdr->h_dest)) in ocelot_xmit()
/net/netfilter/
Dnft_flow_offload.c90 u8 h_dest[ETH_ALEN]; member
101 memcpy(info->h_dest, ha, ETH_ALEN); in nft_dev_path_info()
132 memcpy(info->h_dest, path->encap.h_dest, ETH_ALEN); in nft_dev_path_info()
214 memcpy(route->tuple[dir].out.h_dest, info.h_dest, ETH_ALEN); in nft_dev_forward_path()
Dnft_reject_netdev.c21 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest, in nft_reject_queue_xmit()
89 const unsigned char *dest = eth->h_dest; in nft_reject_netdev_eval()
/net/bridge/netfilter/
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()
115 const unsigned char *dest = eth_hdr(pkt->skb)->h_dest; in nft_reject_bridge_eval()
Debt_redirect.c29 ether_addr_copy(eth_hdr(skb)->h_dest, in ebt_redirect_tg()
32 ether_addr_copy(eth_hdr(skb)->h_dest, xt_in(par)->dev_addr); in ebt_redirect_tg()
Debt_dnat.c27 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac); in ebt_dnat_tg()
Debtable_broute.c77 dest = eth_hdr(skb)->h_dest; in ebt_broute()
/net/atm/
Dlec.h19 unsigned char h_dest[ETH_ALEN]; member
28 unsigned char h_dest[ETH_ALEN]; member
/net/bluetooth/bnep/
Dcore.c381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); 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()
454 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
595 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection()
597 memcpy(dev->dev_addr, s->eh.h_dest, ETH_ALEN); in bnep_add_connection()
Dnetdev.c126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) in bnep_net_mc_filter()
/net/bridge/
Dbr_input.c106 if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) { in br_handle_frame_finish()
108 if (is_broadcast_ether_addr(eth_hdr(skb)->h_dest)) { in br_handle_frame_finish()
158 dst = br_fdb_find_rcu(br, eth_hdr(skb)->h_dest, vid); in br_handle_frame_finish()
289 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame()
/net/sched/
Dact_skbmod.c69 ether_addr_copy(eth_hdr(skb)->h_dest, p->eth_dst); in tcf_skbmod_act()
78 ether_addr_copy((u8 *)tmpaddr, eth_hdr(skb)->h_dest); in tcf_skbmod_act()
79 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source); in tcf_skbmod_act()
/net/core/
Dselftests.c93 eth_zero_addr(ehdr->h_dest); in net_test_get_skb()
98 ether_addr_copy(ehdr->h_dest, attr->dst); in net_test_get_skb()
195 if (!ether_addr_equal_unaligned(ehdr->h_dest, dst)) in net_test_loopback_validate()
/net/hsr/
Dhsr_framereg.c382 if (!is_unicast_ether_addr(eth_hdr(skb)->h_dest)) in hsr_addr_subst_dest()
386 eth_hdr(skb)->h_dest); in hsr_addr_subst_dest()
396 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->macaddress_B); in hsr_addr_subst_dest()
/net/netfilter/ipset/
Dip_set_hash_ipmac.c99 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_ipmac4_kadt()
215 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_ipmac6_kadt()
Dip_set_hash_mac.c87 ether_addr_copy(e.ether, eth_hdr(skb)->h_dest); in hash_mac4_kadt()
/net/wireless/
Dutil.c574 memcpy(tmp.h_dest, ieee80211_get_DA(hdr), ETH_ALEN); in ieee80211_data_to_8023_exthdr()
601 tmp.h_dest, 2 * ETH_ALEN); in ieee80211_data_to_8023_exthdr()
610 (is_multicast_ether_addr(tmp.h_dest) && in ieee80211_data_to_8023_exthdr()
777 if (ether_addr_equal(eth.h_dest, rfc1042_header)) in ieee80211_amsdu_to_8023s()
784 if ((check_da && !is_multicast_ether_addr(eth.h_dest) && in ieee80211_amsdu_to_8023s()
785 !ether_addr_equal(check_da, eth.h_dest)) || in ieee80211_amsdu_to_8023s()

123