/linux-3.4.99/net/ethernet/ |
D | eth.c | 98 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 107 memset(eth->h_dest, 0, ETH_ALEN); in eth_header() 133 return arp_find(eth->h_dest, skb); in eth_rebuild_header() 166 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in eth_type_trans() 167 if (!compare_ether_addr_64bits(eth->h_dest, dev->broadcast)) in eth_type_trans() 182 if (unlikely(compare_ether_addr_64bits(eth->h_dest, dev->dev_addr))) in eth_type_trans() 249 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
|
/linux-3.4.99/net/802/ |
D | stp.c | 45 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv() 46 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv() 49 compare_ether_addr(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
|
/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | sta_rx.c | 75 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_process_rx_packet() 81 memcpy(eth_hdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_process_rx_packet() 82 sizeof(eth_hdr->h_dest)); in mwifiex_process_rx_packet() 178 memcmp(priv->curr_addr, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN)) { in mwifiex_process_sta_rx_packet()
|
/linux-3.4.99/net/batman-adv/ |
D | routing.c | 259 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in recv_bat_ogm_packet() 414 if (is_broadcast_ether_addr(ethhdr->h_dest)) in recv_icmp_packet() 422 if (!is_my_mac(ethhdr->h_dest)) in recv_icmp_packet() 431 ethhdr->h_dest, ETH_ALEN); in recv_icmp_packet() 591 if (is_broadcast_ether_addr(ethhdr->h_dest)) in recv_tt_query() 662 if (is_broadcast_ether_addr(ethhdr->h_dest)) in recv_roam_adv() 789 if (is_broadcast_ether_addr(ethhdr->h_dest)) in check_unicast_packet() 797 if (!is_my_mac(ethhdr->h_dest)) in check_unicast_packet() 918 orig_node = transtable_search(bat_priv, NULL, ethhdr->h_dest); in check_unicast_ttvn() 921 if (!is_my_client(bat_priv, ethhdr->h_dest)) in check_unicast_ttvn() [all …]
|
D | unicast.c | 296 if (is_multicast_ether_addr(ethhdr->h_dest)) { in unicast_send_skb() 305 ethhdr->h_dest); in unicast_send_skb()
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_redirect.c | 28 memcpy(eth_hdr(skb)->h_dest, in ebt_redirect_tg() 31 memcpy(eth_hdr(skb)->h_dest, par->in->dev_addr, ETH_ALEN); in ebt_redirect_tg()
|
D | ebt_dnat.c | 25 memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN); in ebt_dnat_tg()
|
/linux-3.4.99/net/atm/ |
D | lec.h | 18 unsigned char h_dest[ETH_ALEN]; member 27 unsigned char h_dest[ETH_ALEN]; member
|
/linux-3.4.99/net/bridge/ |
D | br_input.c | 50 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame_finish() 150 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame() 215 dest = eth_hdr(skb)->h_dest; in br_handle_frame()
|
D | br_multicast.c | 366 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query() 367 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query() 368 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query() 369 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query() 370 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query() 371 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query() 452 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest); in br_ip6_multicast_alloc_query()
|
/linux-3.4.99/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1015 if (!is_broadcast_ether_addr(mask->h_dest)) { in gfar_set_ether() 1018 if ((is_broadcast_ether_addr(value->h_dest) in gfar_set_ether() 1019 && is_zero_ether_addr(mask->h_dest))) { in gfar_set_ether() 1023 if (is_zero_ether_addr(mask->h_dest)) { in gfar_set_ether() 1027 upper_temp_mask = mask->h_dest[0] << 16 in gfar_set_ether() 1028 | mask->h_dest[1] << 8 in gfar_set_ether() 1029 | mask->h_dest[2]; in gfar_set_ether() 1030 lower_temp_mask = mask->h_dest[3] << 16 in gfar_set_ether() 1031 | mask->h_dest[4] << 8 in gfar_set_ether() 1032 | mask->h_dest[5]; in gfar_set_ether() [all …]
|
/linux-3.4.99/net/bluetooth/bnep/ |
D | core.c | 366 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN); in bnep_rx_frame() 425 if (compress_src && !compare_ether_addr(eh->h_dest, s->eh.h_source)) in bnep_tx_frame() 428 if (compress_dst && !compare_ether_addr(eh->h_source, s->eh.h_dest)) in bnep_tx_frame() 442 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame() 583 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection() 585 memcpy(dev->dev_addr, s->eh.h_dest, ETH_ALEN); in bnep_add_connection()
|
D | netdev.c | 135 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) in bnep_net_mc_filter()
|
/linux-3.4.99/drivers/net/ethernet/sfc/ |
D | ethtool.c | 844 memcpy(mac_mask->h_dest, mac_addr_mc_mask, ETH_ALEN); in efx_ethtool_get_class_rule() 846 memcpy(mac_entry->h_dest, mac_addr_mc_mask, ETH_ALEN); in efx_ethtool_get_class_rule() 850 rc = efx_filter_get_eth_local(&spec, &vid, mac_entry->h_dest); in efx_ethtool_get_class_rule() 853 memset(mac_mask->h_dest, ~0, ETH_ALEN); in efx_ethtool_get_class_rule() 1032 if (!compare_ether_addr(mac_mask->h_dest, mac_addr_mc_mask) && in efx_ethtool_set_class_rule() 1034 if (is_multicast_ether_addr(mac_entry->h_dest)) in efx_ethtool_set_class_rule() 1042 else if (is_broadcast_ether_addr(mac_mask->h_dest) && in efx_ethtool_set_class_rule() 1048 mac_entry->h_dest); in efx_ethtool_set_class_rule()
|
/linux-3.4.99/drivers/net/ |
D | rionet.c | 187 if (is_multicast_ether_addr(eth->h_dest)) in rionet_start_xmit() 198 if (is_multicast_ether_addr(eth->h_dest)) { in rionet_start_xmit() 209 } else if (RIONET_MAC_MATCH(eth->h_dest)) { in rionet_start_xmit() 210 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
|
D | macvlan.c | 121 if (!compare_ether_addr_64bits(eth->h_dest, in macvlan_broadcast_one() 172 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_handle_frame() 211 vlan = macvlan_hash_lookup(port, eth->h_dest); in macvlan_handle_frame() 245 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_queue_xmit() 250 dest = macvlan_hash_lookup(port, eth->h_dest); in macvlan_queue_xmit()
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | if_ether.h | 121 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
|
/linux-3.4.99/drivers/net/wireless/libertas/ |
D | rx.c | 124 memcpy(p_ethhdr->h_dest, p_rx_pkt->eth803_hdr.dest_addr, in lbs_process_rxed_packet() 125 sizeof(p_ethhdr->h_dest)); in lbs_process_rxed_packet()
|
/linux-3.4.99/drivers/firewire/ |
D | net.c | 83 u8 h_dest[FWNET_ALEN]; /* destination address */ member 238 memset(h->h_dest, 0, net->addr_len); in fwnet_header_create() 244 memcpy(h->h_dest, daddr, net->addr_len); in fwnet_header_create() 257 return arp_find((unsigned char *)&h->h_dest, skb); in fwnet_header_rebuild() 275 memcpy(h->h_dest, neigh->ha, net->addr_len); in fwnet_header_cache() 621 if (*eth->h_dest & 1) { in fwnet_finish_incoming_packet() 622 if (memcmp(eth->h_dest, net->broadcast, in fwnet_finish_incoming_packet() 630 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) in fwnet_finish_incoming_packet() 1313 if (memcmp(hdr_buf.h_dest, net->broadcast, FWNET_ALEN) == 0 in fwnet_tx() 1325 __be64 guid = get_unaligned((__be64 *)hdr_buf.h_dest); in fwnet_tx()
|
/linux-3.4.99/include/linux/ |
D | if_ether.h | 128 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
|
/linux-3.4.99/drivers/net/usb/ |
D | lg-vl600.c | 201 memcpy(ethhdr->h_dest, in vl600_rx_fixup() 206 memcpy(ethhdr->h_dest, dev->net->dev_addr, ETH_ALEN); in vl600_rx_fixup()
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 50 if (is_multicast_ether_addr(eth_hdr->h_dest)) in ath6kl_ibss_map_epid() 54 if (memcmp(eth_hdr->h_dest, ar->node_map[i].mac_addr, in ath6kl_ibss_map_epid() 72 memcpy(ar->node_map[ep_map].mac_addr, eth_hdr->h_dest, ETH_ALEN); in ath6kl_ibss_map_epid() 212 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap() 260 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap() 1534 if (is_multicast_ether_addr(datap->h_dest)) in ath6kl_rx() 1547 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_rx() 1568 if (is_unicast_ether_addr(datap->h_dest)) { in ath6kl_rx()
|
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 69 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_test_loopback_xmit()
|
/linux-3.4.99/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 296 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit() 452 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive() 521 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps() 533 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_encaps() 1384 if (compare_ether_addr(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler() 1385 compare_ether_addr(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler() 1386 compare_ether_addr(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler() 1388 } else if (compare_ether_addr(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler() 1389 compare_ether_addr(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler() 1885 memcpy(frame->eth.h_dest, dest, ETH_ALEN); in fcoe_ctlr_vn_send()
|
/linux-3.4.99/drivers/net/wimax/i2400m/ |
D | netdev.c | 442 memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); in i2400m_rx_fake_eth_header()
|