/linux-master/include/net/ |
H A D | firewire.h | 23 u8 h_dest[FWNET_ALEN]; /* destination address */ member in struct:fwnet_header
|
/linux-master/net/802/ |
H A D | stp.c | 42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { 43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - 46 !ether_addr_equal(eh->h_dest, proto->group_address))
|
/linux-master/net/atm/ |
H A D | lec.h | 19 unsigned char h_dest[ETH_ALEN]; member in struct:lecdatahdr_8023 28 unsigned char h_dest[ETH_ALEN]; member in struct:lecdatahdr_8025
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_redirect.c | 29 ether_addr_copy(eth_hdr(skb)->h_dest, 32 ether_addr_copy(eth_hdr(skb)->h_dest, xt_in(par)->dev_addr);
|
H A D | ebt_dnat.c | 27 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac);
|
H A D | ebtable_broute.c | 77 dest = eth_hdr(skb)->h_dest;
|
H A D | nft_reject_bridge.c | 30 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); 31 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); 115 const unsigned char *dest = eth_hdr(pkt->skb)->h_dest;
|
/linux-master/drivers/staging/ks7010/ |
H A D | eap_packet.h | 10 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member in struct:ether_hdr
|
/linux-master/samples/bpf/ |
H A D | parse_simple.c | 21 unsigned char h_dest[ETH_ALEN]; member in struct:eth_hdr
|
H A D | test_cgrp2_tc.bpf.c | 14 unsigned char h_dest[ETH_ALEN]; member in struct:eth_hdr
|
H A D | xdp_adjust_tail_kern.c | 53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); 54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN);
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 311 key = mac_hdr->h_dest[OPA_VNIC_MAC_HASH_IDX]; 319 if (!memcmp(node->entry.mac_addr, mac_hdr->h_dest, 344 if (is_multicast_ether_addr(mac_hdr->h_dest)) { 347 if (is_local_ether_addr(mac_hdr->h_dest)) { 348 dlid = ((uint32_t)mac_hdr->h_dest[5] << 16) | 349 ((uint32_t)mac_hdr->h_dest[4] << 8) | 350 mac_hdr->h_dest[3]; 373 if (is_multicast_ether_addr(mac_hdr->h_dest)) 378 if (is_multicast_ether_addr(mac_hdr->h_dest)) 396 if (is_multicast_ether_addr(mac_hdr->h_dest)) [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_rx.c | 119 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) 125 memcpy(eth->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, 126 sizeof(eth->h_dest)); 155 if (likely(!is_multicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest))) { 233 !ether_addr_equal_unaligned(priv->curr_addr, rx_pkt_hdr->eth803_hdr.h_dest)) {
|
H A D | uap_txrx.c | 136 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) 141 memcpy(p_ethhdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, 142 sizeof(p_ethhdr->h_dest)); 195 if (is_unicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest)) { 252 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); 297 if (is_multicast_ether_addr(p_ethhdr->h_dest) || 298 mwifiex_get_sta_entry(priv, p_ethhdr->h_dest)) { 328 if (mwifiex_get_sta_entry(priv, p_ethhdr->h_dest))
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_fip.c | 37 ether_addr_copy(vlan->eth.h_dest, my_fcoe_all_fcfs); 151 "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub, 193 skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op, 199 if (!ether_addr_equal(eth_hdr->h_dest, qedf->mac) && 200 !ether_addr_equal(eth_hdr->h_dest, fcoe_all_enode) && 201 !ether_addr_equal(eth_hdr->h_dest, qedf->data_src_addr)) { 204 op, eth_hdr->h_dest, qedf->mac,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 41 if (!is_multicast_ether_addr(ethhdr->h_dest) || 42 is_broadcast_ether_addr(ethhdr->h_dest)) 52 if (compare_ether_header(filt->mac_address, ethhdr->h_dest)) 397 memcpy(ethhdr.h_dest, ieee80211_get_DA(hdr), ETH_ALEN); 405 eth = skb_push(skb, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source)); 406 memcpy(eth, ðhdr, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source));
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | dynack.h | 42 u8 h_dest[ETH_ALEN]; member in struct:haddr_pair
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_features.c | 210 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); 211 __builtin_memcpy(eh->h_dest, tmp_mac, ETH_ALEN); 262 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN); 263 __builtin_memcpy(eh->h_dest, tmp_mac, ETH_ALEN);
|
H A D | xsk_xdp_progs.c | 66 idx = ((unsigned int)(eth->h_dest[5])) / 2;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 87 unsigned char h_dest[ETH_ALEN]; local 155 *((__be32 *)h_dest) = htonl(l2->dest_mac_hi); 156 *((__be16 *)&h_dest[4]) = htons(l2->dest_mac_lo); 161 h_source, h_dest, ntohs(l2->etype),
|
/linux-master/net/batman-adv/ |
H A D | routing.c | 190 if (!is_broadcast_ether_addr(ethhdr->h_dest)) 356 if (!is_valid_ether_addr(ethhdr->h_dest)) 364 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) 387 ethhdr->h_dest); 453 if (!is_valid_ether_addr(ethhdr->h_dest)) 461 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) 810 if (is_multicast_ether_addr(ethhdr->h_dest)) 818 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { 820 ethhdr->h_dest, vid)) 825 ethhdr->h_dest); [all...] |
/linux-master/net/ethernet/ |
H A D | eth.c | 99 memcpy(eth->h_dest, daddr, ETH_ALEN); 108 eth_zero_addr(eth->h_dest); 167 if (unlikely(!ether_addr_equal_64bits(eth->h_dest, 169 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { 170 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) 242 memcpy(eth->h_dest, neigh->ha, ETH_ALEN);
|
/linux-master/net/bluetooth/bnep/ |
H A D | netdev.c | 126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter))
|
/linux-master/net/netfilter/ |
H A D | nft_reject_netdev.c | 22 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest, 90 const unsigned char *dest = eth->h_dest;
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1003 if (!is_broadcast_ether_addr(mask->h_dest)) { 1005 if ((is_broadcast_ether_addr(value->h_dest) && 1006 is_zero_ether_addr(mask->h_dest))) { 1009 if (is_zero_ether_addr(mask->h_dest)) { 1013 upper_temp_mask = mask->h_dest[0] << 16 | 1014 mask->h_dest[1] << 8 | 1015 mask->h_dest[2]; 1016 lower_temp_mask = mask->h_dest[3] << 16 | 1017 mask->h_dest[4] << 8 | 1018 mask->h_dest[ [all...] |