Searched refs:h_dest (Results 1 - 25 of 222) sorted by relevance

123456789

/linux-master/include/net/
H A Dfirewire.h23 u8 h_dest[FWNET_ALEN]; /* destination address */ member in struct:fwnet_header
/linux-master/net/802/
H A Dstp.c42 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 Dlec.h19 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 Debt_redirect.c29 ether_addr_copy(eth_hdr(skb)->h_dest,
32 ether_addr_copy(eth_hdr(skb)->h_dest, xt_in(par)->dev_addr);
H A Debt_dnat.c27 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac);
H A Debtable_broute.c77 dest = eth_hdr(skb)->h_dest;
H A Dnft_reject_bridge.c30 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 Deap_packet.h10 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member in struct:ether_hdr
/linux-master/samples/bpf/
H A Dparse_simple.c21 unsigned char h_dest[ETH_ALEN]; member in struct:eth_hdr
H A Dtest_cgrp2_tc.bpf.c14 unsigned char h_dest[ETH_ALEN]; member in struct:eth_hdr
H A Dxdp_adjust_tail_kern.c53 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 Dopa_vnic_encap.c311 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 Dsta_rx.c119 - 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 Duap_txrx.c136 - 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 Dqedf_fip.c37 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 Dnet.c41 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, &ethhdr, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source));
/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddynack.h42 u8 h_dest[ETH_ALEN]; member in struct:haddr_pair
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c210 __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 Dxsk_xdp_progs.c66 idx = ((unsigned int)(eth->h_dest[5])) / 2;
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c87 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 Drouting.c190 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 Deth.c99 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 Dnetdev.c126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter))
/linux-master/net/netfilter/
H A Dnft_reject_netdev.c22 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 Dgianfar_ethtool.c1003 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...]

Completed in 248 milliseconds

123456789