Home
last modified time | relevance | path

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

123

/linux-2.6.39/net/ethernet/
Deth.c99 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header()
108 memset(eth->h_dest, 0, ETH_ALEN); in eth_header()
134 return arp_find(eth->h_dest, skb); in eth_rebuild_header()
167 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in eth_type_trans()
168 if (!compare_ether_addr_64bits(eth->h_dest, dev->broadcast)) in eth_type_trans()
183 if (unlikely(compare_ether_addr_64bits(eth->h_dest, dev->dev_addr))) in eth_type_trans()
250 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
/linux-2.6.39/net/802/
Dstp.c44 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv()
45 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
48 compare_ether_addr(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/linux-2.6.39/net/bridge/netfilter/
Debt_redirect.c28 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()
Debt_dnat.c25 memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN); in ebt_dnat_tg()
/linux-2.6.39/net/atm/
Dlec.h18 unsigned char h_dest[ETH_ALEN]; member
27 unsigned char h_dest[ETH_ALEN]; member
/linux-2.6.39/net/bridge/
Dbr_input.c49 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame_finish()
146 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame()
188 dest = eth_hdr(skb)->h_dest; in br_handle_frame()
Dbr_multicast.c368 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query()
369 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query()
370 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query()
371 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query()
372 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query()
373 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query()
451 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest); in br_ip6_multicast_alloc_query()
/linux-2.6.39/net/bluetooth/bnep/
Dcore.c363 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
422 if (compress_src && !compare_ether_addr(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
425 if (compress_dst && !compare_ether_addr(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
439 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
575 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection()
577 memcpy(dev->dev_addr, s->eh.h_dest, ETH_ALEN); in bnep_add_connection()
Dnetdev.c135 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) in bnep_net_mc_filter()
/linux-2.6.39/drivers/staging/rtl8712/
Dif_ether.h96 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/linux-2.6.39/drivers/net/wireless/libertas/
Drx.c118 memcpy(p_ethhdr->h_dest, p_rx_pkt->eth803_hdr.dest_addr, in lbs_process_rxed_packet()
119 sizeof(p_ethhdr->h_dest)); in lbs_process_rxed_packet()
/linux-2.6.39/drivers/firewire/
Dnet.c82 u8 h_dest[FWNET_ALEN]; /* destination address */ member
237 memset(h->h_dest, 0, net->addr_len); in fwnet_header_create()
243 memcpy(h->h_dest, daddr, net->addr_len); in fwnet_header_create()
256 return arp_find((unsigned char *)&h->h_dest, skb); in fwnet_header_rebuild()
274 memcpy(h->h_dest, neigh->ha, net->addr_len); in fwnet_header_cache()
623 if (*eth->h_dest & 1) { in fwnet_finish_incoming_packet()
624 if (memcmp(eth->h_dest, net->broadcast, in fwnet_finish_incoming_packet()
632 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) in fwnet_finish_incoming_packet()
1311 if (memcmp(hdr_buf.h_dest, net->broadcast, FWNET_ALEN) == 0 in fwnet_tx()
1323 __be64 guid = get_unaligned((__be64 *)hdr_buf.h_dest); in fwnet_tx()
/linux-2.6.39/net/batman-adv/
Drouting.c842 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in recv_bat_packet()
1023 if (is_broadcast_ether_addr(ethhdr->h_dest)) in recv_icmp_packet()
1031 if (!is_my_mac(ethhdr->h_dest)) in recv_icmp_packet()
1040 ethhdr->h_dest, ETH_ALEN); in recv_icmp_packet()
1252 if (is_broadcast_ether_addr(ethhdr->h_dest)) in check_unicast_packet()
1260 if (!is_my_mac(ethhdr->h_dest)) in check_unicast_packet()
1421 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in recv_bcast_packet()
1507 if (!is_my_mac(ethhdr->h_dest)) in recv_vis_packet()
Dunicast.c291 if (is_multicast_ether_addr(ethhdr->h_dest)) { in unicast_send_skb()
298 orig_node = transtable_search(bat_priv, ethhdr->h_dest); in unicast_send_skb()
/linux-2.6.39/drivers/net/
Dmyri_sbus.c343 ehdr->h_dest, ehdr->h_source, ehdr->h_proto); in dump_ehdr()
397 if (*eth->h_dest & 1) { in myri_type_trans()
398 if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN)==0) in myri_type_trans()
403 if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN)) in myri_type_trans()
737 eth->h_dest[i] = 0; in myri_header()
742 memcpy(eth->h_dest, daddr, dev->addr_len); in myri_header()
771 return arp_find(eth->h_dest, skb); in myri_rebuild_header()
807 memcpy(eth->h_dest, neigh->ha, dev->addr_len); in myri_header_cache()
Dmacvlan.c119 if (!compare_ether_addr_64bits(eth->h_dest, in macvlan_broadcast_one()
170 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_handle_frame()
197 vlan = macvlan_hash_lookup(port, eth->h_dest); in macvlan_handle_frame()
233 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_queue_xmit()
238 dest = macvlan_hash_lookup(port, eth->h_dest); in macvlan_queue_xmit()
Drionet.c193 if (eth->h_dest[0] & 0x01) { in rionet_start_xmit()
199 } else if (RIONET_MAC_MATCH(eth->h_dest)) { in rionet_start_xmit()
200 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
Dplip.c551 if(*eth->h_dest&1) in plip_type_trans()
553 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) in plip_type_trans()
1007 memset(eth->h_dest, 0xfc, 2); in plip_rewrite_address()
1008 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address()
/linux-2.6.39/include/linux/
Dif_ether.h120 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/linux-2.6.39/drivers/net/usb/
Dlg-vl600.c197 memcpy(ethhdr->h_dest, in vl600_rx_fixup()
202 memcpy(ethhdr->h_dest, dev->net->dev_addr, ETH_ALEN); in vl600_rx_fixup()
/linux-2.6.39/net/8021q/
Dvlan_core.c45 if (!compare_ether_addr(eth_hdr(skb)->h_dest, in vlan_hwaccel_do_receive()
/linux-2.6.39/drivers/net/mlx4/
Den_selftest.c69 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_test_loopback_xmit()
/linux-2.6.39/drivers/scsi/fcoe/
Dfcoe_ctlr.c296 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit()
451 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive()
519 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps()
531 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_encaps()
1318 if (compare_ether_addr(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1319 compare_ether_addr(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1320 compare_ether_addr(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1322 } else if (compare_ether_addr(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1323 compare_ether_addr(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
1819 memcpy(frame->eth.h_dest, dest, ETH_ALEN); in fcoe_ctlr_vn_send()
/linux-2.6.39/drivers/net/wimax/i2400m/
Dnetdev.c451 memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); in i2400m_rx_fake_eth_header()
/linux-2.6.39/net/netfilter/
Dxt_AUDIT.c140 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in audit_tg()

123