Home
last modified time | relevance | path

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

/linux-4.4.14/net/802/
Dstp.c45 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 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_rx.c120 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_process_rx_packet()
126 memcpy(eth->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_process_rx_packet()
127 sizeof(eth->h_dest)); in mwifiex_process_rx_packet()
230 !ether_addr_equal_unaligned(priv->curr_addr, rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_process_sta_rx_packet()
Duap_txrx.c138 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_uap_queue_bridged_pkt()
143 memcpy(p_ethhdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_uap_queue_bridged_pkt()
144 sizeof(p_ethhdr->h_dest)); in mwifiex_uap_queue_bridged_pkt()
197 if (is_unicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_uap_queue_bridged_pkt()
249 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward()
Dtxrx.c97 dest_node = mwifiex_get_sta_entry(priv, hdr->h_dest); in mwifiex_process_tx()
Dwmm.c818 memcpy(ra, eth_hdr->h_dest, ETH_ALEN); in mwifiex_wmm_add_buf_txqueue()
/linux-4.4.14/net/batman-adv/
Drouting.c187 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_management_packet()
338 if (is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet()
346 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_recv_icmp_packet()
368 ethhdr->h_dest); in batadv_recv_icmp_packet()
427 if (is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet()
435 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_check_unicast_packet()
732 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { in batadv_check_unicast_ttvn()
734 ethhdr->h_dest, vid)) in batadv_check_unicast_ttvn()
739 ethhdr->h_dest); in batadv_check_unicast_ttvn()
780 ethhdr->h_dest, vid)) { in batadv_check_unicast_ttvn()
[all …]
Dsoft-interface.c251 if (batadv_compare_eth(ethhdr->h_dest, stp_addr)) in batadv_interface_tx()
254 if (batadv_compare_eth(ethhdr->h_dest, ectp_addr)) in batadv_interface_tx()
258 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx()
289 if (do_bcast && !is_broadcast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx()
457 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_rx()
471 ethhdr->h_dest, vid)) { in batadv_interface_rx()
Dbridge_loop_avoidance.c347 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
350 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
711 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
717 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
1489 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx()
1515 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx()
1588 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
1613 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()
Dsend.c82 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
312 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
354 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()
Dnetwork-coding.c1376 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1377 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
1570 ethhdr->h_dest); in batadv_nc_skb_store_for_decoding()
1613 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_nc_skb_store_sniffed_unicast()
1673 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest); in batadv_nc_skb_decode_packet()
1809 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) && in batadv_nc_recv_coded_packet()
Dmulticast.c432 ethhdr->h_dest, BATADV_NO_FLAGS); in batadv_mcast_forw_tt_node_get()
566 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
Dgateway_client.c802 ethhdr->h_dest, vid); in batadv_gw_out_of_range()
/linux-4.4.14/net/ethernet/
Deth.c99 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header()
108 eth_zero_addr(eth->h_dest); in eth_header()
164 if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { in eth_type_trans()
165 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in eth_type_trans()
170 else if (unlikely(!ether_addr_equal_64bits(eth->h_dest, in eth_type_trans()
237 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
/linux-4.4.14/net/atm/
Dlec.h18 unsigned char h_dest[ETH_ALEN]; member
27 unsigned char h_dest[ETH_ALEN]; member
Dlec.c278 dst = lec_h->h_dest; in lec_start_xmit()
286 dev->name, lec_h->h_dest); in lec_start_xmit()
290 dev->name, lec_h->h_dest); in lec_start_xmit()
302 pr_debug("emptying tx queue, MAC address %pM\n", lec_h->h_dest); in lec_start_xmit()
637 dst = ((struct lecdatahdr_8023 *)skb->data)->h_dest; in lec_push()
Dmpc.c595 if (ether_addr_equal(eth->h_dest, mpc->mps_macs + i * ETH_ALEN)) in mpc_send_packet()
/linux-4.4.14/net/bridge/netfilter/
Debt_redirect.c28 ether_addr_copy(eth_hdr(skb)->h_dest, in ebt_redirect_tg()
31 ether_addr_copy(eth_hdr(skb)->h_dest, par->in->dev_addr); in ebt_redirect_tg()
Debt_dnat.c25 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac); in ebt_dnat_tg()
Dnft_reject_bridge.c34 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); in nft_reject_br_push_etherhdr()
35 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); in nft_reject_br_push_etherhdr()
264 const unsigned char *dest = eth_hdr(pkt->skb)->h_dest; in nft_reject_bridge_eval()
Debt_among.c158 dmac = eth_hdr(skb)->h_dest; in ebt_among_mt()
Debt_log.c90 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in ebt_log_packet()
Debtables.c171 verdict |= (h->h_dest[i] ^ e->destmac[i]) & in ebt_basic_match()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1093 if (!is_broadcast_ether_addr(mask->h_dest)) { in gfar_set_ether()
1095 if ((is_broadcast_ether_addr(value->h_dest) && in gfar_set_ether()
1096 is_zero_ether_addr(mask->h_dest))) { in gfar_set_ether()
1099 if (is_zero_ether_addr(mask->h_dest)) { in gfar_set_ether()
1103 upper_temp_mask = mask->h_dest[0] << 16 | in gfar_set_ether()
1104 mask->h_dest[1] << 8 | in gfar_set_ether()
1105 mask->h_dest[2]; in gfar_set_ether()
1106 lower_temp_mask = mask->h_dest[3] << 16 | in gfar_set_ether()
1107 mask->h_dest[4] << 8 | in gfar_set_ether()
1108 mask->h_dest[5]; in gfar_set_ether()
[all …]
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c212 mac_hash = ipvlan_mac_hash(ethh->h_dest); in ipvlan_process_multicast()
214 if (ether_addr_equal(ethh->h_dest, port->dev->broadcast)) in ipvlan_process_multicast()
428 if (is_multicast_ether_addr(ethh->h_dest)) { in ipvlan_process_outbound()
506 if (ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2()
524 } else if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_xmit_mode_l2()
609 if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_handle_mode_l2()
/linux-4.4.14/net/bluetooth/bnep/
Dcore.c381 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
440 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
443 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
457 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
598 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection()
600 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()
/linux-4.4.14/include/net/
Dfirewire.h21 u8 h_dest[FWNET_ALEN]; /* destination address */ member
Dllc_pdu.h267 memcpy(da, eth_hdr(skb)->h_dest, ETH_ALEN); in llc_pdu_decode_da()
/linux-4.4.14/net/bridge/
Dbr_input.c131 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame_finish()
236 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame()
306 dest = eth_hdr(skb)->h_dest; in br_handle_frame()
Dbr_netfilter_ipv6.c196 ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); in br_nf_pre_routing_finish_ipv6()
Dbr_multicast.c382 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query()
383 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query()
384 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query()
385 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query()
386 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query()
387 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query()
469 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest); in br_ip6_multicast_alloc_query()
Dbr_stp_bpdu.c150 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_stp_rcv()
Dbr_netfilter_hooks.c398 ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); in br_nf_pre_routing_finish()
/linux-4.4.14/drivers/net/fjes/
Dfjes_main.c611 if (is_multicast_ether_addr(eth->h_dest)) { in fjes_xmit_frame()
615 } else if (is_local_ether_addr(eth->h_dest)) { in fjes_xmit_frame()
616 dest_epid = eth->h_dest[ETH_ALEN - 1]; in fjes_xmit_frame()
619 if ((eth->h_dest[0] == 0x02) && in fjes_xmit_frame()
620 (0x00 == (eth->h_dest[1] | eth->h_dest[2] | in fjes_xmit_frame()
621 eth->h_dest[3] | eth->h_dest[4])) && in fjes_xmit_frame()
1043 ((struct ethhdr *)frame)->h_dest)) { in fjes_poll()
/linux-4.4.14/drivers/net/wireless/libertas/
Drx.c126 memcpy(p_ethhdr->h_dest, p_rx_pkt->eth803_hdr.dest_addr, in lbs_process_rxed_packet()
127 sizeof(p_ethhdr->h_dest)); in lbs_process_rxed_packet()
/linux-4.4.14/net/hsr/
Dhsr_framereg.c283 if (!is_unicast_ether_addr(eth_hdr(skb)->h_dest)) in hsr_addr_subst_dest()
286 node_dst = find_node_by_AddrA(&port->hsr->node_db, eth_hdr(skb)->h_dest); in hsr_addr_subst_dest()
294 ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->MacAddressB); in hsr_addr_subst_dest()
Dhsr_forward.c58 if (!ether_addr_equal(hdr->ethhdr.h_dest, in is_supervision_frame()
287 if (hsr_addr_is_self(hsr, eth_hdr(skb)->h_dest)) { in check_local_dest()
/linux-4.4.14/include/uapi/linux/
Dif_ether.h139 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
Dethtool.h773 unsigned char h_dest[ETH_ALEN]; member
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Ddynack.h42 u8 h_dest[ETH_ALEN]; member
Ddynack.c128 dst = da->st_rbf.addr[da->st_rbf.h_rb].h_dest; in ath_dynack_compute_to()
206 ether_addr_copy(da->st_rbf.addr[da->st_rbf.t_rb].h_dest, hdr->addr1); in ath_dynack_sample_tx_ts()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dethtool.c843 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
845 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
847 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
1016 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1017 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1020 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1024 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
Dselftest.c377 ether_addr_copy((u8 *)&payload->header.h_dest, net_dev->dev_addr); in efx_iterate_state()
/linux-4.4.14/drivers/net/
Drionet.c183 if (is_multicast_ether_addr(eth->h_dest)) in rionet_start_xmit()
194 if (is_multicast_ether_addr(eth->h_dest)) { in rionet_start_xmit()
206 } else if (RIONET_MAC_MATCH(eth->h_dest)) { in rionet_start_xmit()
207 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
Dmacvlan.c208 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in macvlan_broadcast_one()
251 hash = mc_hash(vlan, eth->h_dest); in macvlan_broadcast()
414 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_handle_frame()
443 vlan = macvlan_hash_lookup(port, eth->h_dest); in macvlan_handle_frame()
481 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_queue_xmit()
486 dest = macvlan_hash_lookup(port, eth->h_dest); in macvlan_queue_xmit()
Dvxlan.c1472 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in vxlan_na_create()
1596 if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) in route_shortcircuit()
1650 diff = !ether_addr_equal(eth_hdr(skb)->h_dest, n->ha); in route_shortcircuit()
1652 memcpy(eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in route_shortcircuit()
1654 memcpy(eth_hdr(skb)->h_dest, n->ha, dev->addr_len); in route_shortcircuit()
2177 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit()
2185 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit()
2192 !is_multicast_ether_addr(eth->h_dest)) in vxlan_xmit()
2193 vxlan_fdb_miss(vxlan, eth->h_dest); in vxlan_xmit()
Dtun.c763 if (ether_addr_equal(eh->h_dest, filter->addr[i])) in run_filter()
767 if (is_multicast_ether_addr(eh->h_dest)) in run_filter()
768 return addr_hash_test(filter->mask, eh->h_dest); in run_filter()
Dvirtio_net.c851 const unsigned char *dest = ((struct ethhdr *)skb->data)->h_dest; in xmit_skb()
/linux-4.4.14/drivers/net/usb/
Dlg-vl600.c200 memcpy(ethhdr->h_dest, in vl600_rx_fixup()
205 memcpy(ethhdr->h_dest, dev->net->dev_addr, ETH_ALEN); in vl600_rx_fixup()
Dcdc_mbim.c398 memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); in cdc_mbim_process_dgram()
Dqmi_wwan.c113 memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); in qmi_wwan_rx_fixup()
Dsierra_net.c705 memcpy(&eth->h_dest, dev->net->dev_addr, ETH_ALEN); in sierra_net_bind()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dtxrx.c54 if (is_multicast_ether_addr(eth_hdr->h_dest)) in ath6kl_ibss_map_epid()
58 if (memcmp(eth_hdr->h_dest, ar->node_map[i].mac_addr, in ath6kl_ibss_map_epid()
76 memcpy(ar->node_map[ep_map].mac_addr, eth_hdr->h_dest, ETH_ALEN); in ath6kl_ibss_map_epid()
217 if (is_multicast_ether_addr(datap->h_dest)) { in ath6kl_powersave_ap()
265 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_powersave_ap()
1571 if (is_multicast_ether_addr(datap->h_dest)) in ath6kl_rx()
1584 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_rx()
1605 if (is_unicast_ether_addr(datap->h_dest)) { in ath6kl_rx()
1620 } else if (!is_broadcast_ether_addr(datap->h_dest)) { in ath6kl_rx()
Dwmi.c425 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
429 memcpy(eth_hdr.h_dest, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
433 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
/linux-4.4.14/drivers/firewire/
Dnet.c226 memset(h->h_dest, 0, net->addr_len); in fwnet_header_create()
232 memcpy(h->h_dest, daddr, net->addr_len); in fwnet_header_create()
251 memcpy(h->h_dest, neigh->ha, net->addr_len); in fwnet_header_cache()
521 if (fwnet_hwaddr_is_multicast(eth->h_dest)) { in fwnet_finish_incoming_packet()
522 if (memcmp(eth->h_dest, net->broadcast, in fwnet_finish_incoming_packet()
530 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) in fwnet_finish_incoming_packet()
1269 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1278 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dtxrx.c567 int mcast = is_multicast_ether_addr(eth->h_dest); in wil_netif_rx_any()
595 int xmit_cid = wil_find_cid(wil, eth->h_dest); in wil_netif_rx_any()
899 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_ucast()
913 __func__, eth->h_dest, i); in wil_find_tx_ucast()
998 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring()
1656 bool bcast = is_multicast_ether_addr(eth->h_dest); in wil_start_xmit()
1688 wil_dbg_txrx(wil, "No Tx VRING found for %pM\n", eth->h_dest); in wil_start_xmit()
1721 return is_unicast_ether_addr(eth->h_dest) && skb->sk && in wil_need_txstat()
Dwmi.c555 ether_addr_copy(eth->h_dest, ndev->dev_addr); in wmi_evt_eapol_rx()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_selftest.c68 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_test_loopback_xmit()
Den_ethtool.c1236 if (!is_broadcast_ether_addr(cmd->fs.m_ext.h_dest)) in mlx4_en_validate_flow()
1269 if (!is_broadcast_ether_addr(eth_mask->h_dest)) in mlx4_en_validate_flow()
1331 memcpy(&mac, cmd->fs.h_ext.h_dest, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule_by_ipv4()
1471 &eth_spec->h_dest[0]); in mlx4_en_ethtool_to_net_trans_rule()
Den_tx.c874 tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest); in mlx4_en_xmit()
875 tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2)); in mlx4_en_xmit()
Den_rx.c814 if (is_multicast_ether_addr(ethh->h_dest)) { in mlx4_en_process_rx_cq()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dnetdev.c444 memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); in i2400m_rx_fake_eth_header()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_ctlr.c405 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit()
561 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive()
630 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps()
642 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_encaps()
1524 if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1525 !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1526 !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1528 } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1529 !ether_addr_equal(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
2020 memcpy(frame->eth.h_dest, dest, ETH_ALEN); in fcoe_ctlr_vn_send()
Dfcoe.c1482 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1484 eh->h_dest); in fcoe_rcv()
1680 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in fcoe_xmit()
1682 memcpy(eh->h_dest + 3, fh->fh_d_id, 3); in fcoe_xmit()
/linux-4.4.14/drivers/net/plip/
Dplip.c550 if(is_multicast_ether_addr(eth->h_dest)) in plip_type_trans()
552 if(ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in plip_type_trans()
1006 memset(eth->h_dest, 0xfc, 2); in plip_rewrite_address()
1007 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_reject_ipv4.c155 oeth->h_source, oeth->h_dest, nskb->len) < 0) in nf_send_reset()
Dnf_log_ipv4.c291 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in dump_ipv4_mac_header()
/linux-4.4.14/net/netfilter/
Dxt_AUDIT.c144 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in audit_tg()
/linux-4.4.14/drivers/net/bonding/
Dbond_alb.c1336 if (!is_multicast_ether_addr(eth_data->h_dest)) { in bond_tlb_xmit()
1383 if (ether_addr_equal_64bits(eth_data->h_dest, mac_bcast) || in bond_alb_xmit()
1397 if (ether_addr_equal_64bits(eth_data->h_dest, mac_bcast)) { in bond_alb_xmit()
1405 if (ether_addr_equal_64bits(eth_data->h_dest, mac_v6_allmcast)) { in bond_alb_xmit()
1439 hash_start = (char *)eth_data->h_dest; in bond_alb_xmit()
Dbond_3ad.c786 ether_addr_copy(lacpdu_header->hdr.h_dest, lacpdu_mcast_addr); in ad_lacpdu_send()
828 ether_addr_copy(marker_header->hdr.h_dest, lacpdu_mcast_addr); in ad_marker_send()
2527 if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) in bond_3ad_lacpdu_recv()
Dbond_main.c1197 ether_addr_copy(eth_hdr(skb)->h_dest, bond->dev->dev_addr); in bond_handle_frame()
3096 return ep->h_dest[5] ^ ep->h_source[5] ^ ep->h_proto; in bond_eth_hash()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_reject_ipv6.c204 oeth->h_source, oeth->h_dest, nskb->len) < 0) in nf_send_reset6()
Dnf_log_ipv6.c304 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in dump_ipv6_mac_header()
/linux-4.4.14/net/8021q/
Dvlan_core.c29 if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) in vlan_do_receive()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_net.c147 if (*eth->h_dest & 1) { in dvb_net_eth_type_trans()
148 if(ether_addr_equal(eth->h_dest,dev->broadcast)) in dvb_net_eth_type_trans()
711 memcpy(ethh->h_dest, dest_addr, ETH_ALEN); in dvb_net_ule()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.c475 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()
Dmsgbuf.c660 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, in brcmf_msgbuf_flowring_create()
670 memcpy(create->da, eh->h_dest, ETH_ALEN); in brcmf_msgbuf_flowring_create()
792 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); in brcmf_msgbuf_txdata()
Dfwsignal.c1892 bool multicast = is_multicast_ether_addr(eh->h_dest); in brcmf_fws_process_skb()
1921 skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); in brcmf_fws_process_skb()
1923 eh->h_dest, multicast, fifo); in brcmf_fws_process_skb()
/linux-4.4.14/include/linux/
Dif_vlan.h52 unsigned char h_dest[ETH_ALEN]; member
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c357 memcpy(vlan->eth.h_dest, fcoe_all_fcfs, ETH_ALEN); in fnic_fcoe_send_vlan_req()
1081 fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); in fnic_send_frame()
1083 memcpy(eth_hdr->h_dest, fnic->ctlr.dest_addr, ETH_ALEN); in fnic_send_frame()
/linux-4.4.14/drivers/net/wireless/
Dray_cs.c998 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, in ray_build_header()
1006 ((struct ethhdr *)data)->h_dest, ADDRLEN); in ray_build_header()
1017 ((struct ethhdr *)data)->h_dest, ADDRLEN); in ray_build_header()
2354 memcpy(peth->h_dest, destaddr, ADDRLEN); in untranslate()
/linux-4.4.14/net/openvswitch/
Dactions.c278 ether_addr_copy_masked(eth_hdr(skb)->h_dest, key->eth_dst, in set_eth_addr()
284 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr()
Dflow.c476 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract()
/linux-4.4.14/drivers/net/xen-netback/
Dinterface.c177 if (!xenvif_mcast_match(vif, eth->h_dest)) in xenvif_start_xmit()
/linux-4.4.14/drivers/net/ethernet/amd/
Dsunlance.c891 sbus_writeb(dev->dev_addr[i], &eth->h_dest[i]); in build_fake_packet()
903 eth->h_dest[i] = dev->dev_addr[i]; in build_fake_packet()
/linux-4.4.14/net/wireless/
Dutil.c522 memcpy(ehdr->h_dest, dst, ETH_ALEN); in ieee80211_data_to_8023()
679 memcpy(dst, eth->h_dest, ETH_ALEN); in ieee80211_amsdu_to_8023s()
/linux-4.4.14/net/core/
Dnetpoll.c473 ether_addr_copy(eth->h_dest, np->remote_mac); in netpoll_send_udp()
Dflow_dissector.c165 memcpy(key_eth_addrs, &eth->h_dest, sizeof(*key_eth_addrs)); in __skb_flow_dissect()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c355 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); in bnx2fc_xmit()
358 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in bnx2fc_xmit()
519 dest_mac = eth_hdr(skb)->h_dest; in bnx2fc_recv_frame()
/linux-4.4.14/net/mac80211/
Drx.c2081 (ether_addr_equal(ehdr->h_dest, rx->sdata->vif.addr) || in ieee80211_frame_allowed()
2082 ether_addr_equal(ehdr->h_dest, pae_group_addr))) in ieee80211_frame_allowed()
2113 if (is_multicast_ether_addr(ehdr->h_dest)) { in ieee80211_deliver_skb()
2458 ((struct ethhdr *)rx->skb->data)->h_dest) && in ieee80211_rx_h_data()
Dtx.c2761 memcpy(skb->data + fast_tx->da_offs, eth.h_dest, ETH_ALEN); in ieee80211_xmit_fast()
/linux-4.4.14/drivers/staging/unisys/visornic/
Dvisornic_main.c1310 if (ether_addr_equal(eth->h_dest, in visornic_rx()
1328 netdev->name, eth->h_dest, netdev->dev_addr); in visornic_rx()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1179 is_multicast_ether_addr(eh->h_dest) && \
1180 !is_broadcast_ether_addr(eh->h_dest))
1184 is_broadcast_ether_addr(eh->h_dest))
1190 (is_multicast_ether_addr(eh->h_dest) && \
1191 !compare_ether_addr(eh->h_dest, adapter->netdev->broadcast))
1232 if (!is_multicast_ether_addr(eh->h_dest)) in be_send_pkt_to_bmc()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.c1373 if (*eth->h_dest & 1) { in isdn_net_type_trans()
1374 if (ether_addr_equal(eth->h_dest, dev->broadcast)) in isdn_net_type_trans()
1385 if (!ether_addr_equal(eth->h_dest, dev->dev_addr)) in isdn_net_type_trans()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dmain.c427 eh->h_dest, eh->h_source, 0 /* priority */, in orinoco_process_xmit_skb()
1054 memcpy(hdr->h_dest, desc->addr1, ETH_ALEN); in orinoco_rx()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c412 memcpy(pkt->eth.h_dest, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet()
426 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3854 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in bnx2x_start_xmit()
3855 if (is_broadcast_ether_addr(eth->h_dest)) in bnx2x_start_xmit()
4026 eth->h_dest); in bnx2x_start_xmit()
4033 eth->h_dest); in bnx2x_start_xmit()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_xmit.c217 memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in r8712_update_attrib()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2165 netdev_dbg(netdev, "Dst MAC addr: %pM\n", eth->h_dest); in xgbe_print_pkt()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1195 ether_addr_copy(da, eth->h_dest); in ath10k_htt_rx_h_undecap_eth()
Dmac.c3254 ether_addr_copy(eth->h_dest, da); in ath10k_tx_h_8023()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_xmit.c449 memcpy(pattrib->dst, &etherhdr.h_dest, ETH_ALEN); in update_attrib()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_xmit.c429 ether_addr_copy(pattrib->dst, ehdr->h_dest); in update_attrib()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c471 memcpy(ethh->h_dest, cm_node->rem_mac, ETH_ALEN); in form_cm_frame()