/linux-4.1.27/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 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sta_rx.c | 120 - 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() 229 !ether_addr_equal_unaligned(priv->curr_addr, rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_process_sta_rx_packet()
|
D | uap_txrx.c | 133 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_uap_queue_bridged_pkt() 138 memcpy(p_ethhdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_uap_queue_bridged_pkt() 139 sizeof(p_ethhdr->h_dest)); in mwifiex_uap_queue_bridged_pkt() 182 if (is_unicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_uap_queue_bridged_pkt() 233 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward()
|
D | wmm.c | 683 memcpy(ra, eth_hdr->h_dest, ETH_ALEN); in mwifiex_wmm_add_buf_txqueue()
|
/linux-4.1.27/net/batman-adv/ |
D | routing.c | 162 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_management_packet() 313 if (is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet() 321 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_recv_icmp_packet() 343 ethhdr->h_dest); in batadv_recv_icmp_packet() 402 if (is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet() 410 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_check_unicast_packet() 707 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { in batadv_check_unicast_ttvn() 709 ethhdr->h_dest, vid)) in batadv_check_unicast_ttvn() 714 ethhdr->h_dest); in batadv_check_unicast_ttvn() 755 ethhdr->h_dest, vid)) { in batadv_check_unicast_ttvn() [all …]
|
D | soft-interface.c | 221 if (batadv_compare_eth(ethhdr->h_dest, stp_addr)) in batadv_interface_tx() 224 if (batadv_compare_eth(ethhdr->h_dest, ectp_addr)) in batadv_interface_tx() 228 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx() 259 if (do_bcast && !is_broadcast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx() 423 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_rx() 437 ethhdr->h_dest, vid)) { in batadv_interface_rx()
|
D | bridge_loop_avoidance.c | 332 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim() 335 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 697 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request() 703 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request() 1475 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx() 1501 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx() 1574 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx() 1599 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()
|
D | send.c | 64 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet() 294 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast() 336 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()
|
D | network-coding.c | 1350 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding() 1351 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding() 1544 ethhdr->h_dest); in batadv_nc_skb_store_for_decoding() 1587 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_nc_skb_store_sniffed_unicast() 1647 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest); in batadv_nc_skb_decode_packet() 1783 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) && in batadv_nc_recv_coded_packet()
|
D | multicast.c | 400 ethhdr->h_dest, BATADV_NO_FLAGS); in batadv_mcast_forw_tt_node_get() 534 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
|
D | gateway_client.c | 810 ethhdr->h_dest, vid); in batadv_gw_out_of_range()
|
/linux-4.1.27/net/ethernet/ |
D | eth.c | 98 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 107 eth_zero_addr(eth->h_dest); in eth_header() 162 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in eth_type_trans() 163 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in eth_type_trans() 168 else if (unlikely(!ether_addr_equal_64bits(eth->h_dest, in eth_type_trans() 235 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
|
/linux-4.1.27/net/atm/ |
D | lec.h | 18 unsigned char h_dest[ETH_ALEN]; member 27 unsigned char h_dest[ETH_ALEN]; member
|
D | lec.c | 278 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()
|
D | mpc.c | 595 if (ether_addr_equal(eth->h_dest, mpc->mps_macs + i * ETH_ALEN)) in mpc_send_packet()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_redirect.c | 28 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()
|
D | ebt_dnat.c | 25 ether_addr_copy(eth_hdr(skb)->h_dest, info->mac); in ebt_dnat_tg()
|
D | nft_reject_bridge.c | 34 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() 265 const unsigned char *dest = eth_hdr(pkt->skb)->h_dest; in nft_reject_bridge_eval()
|
D | ebt_among.c | 158 dmac = eth_hdr(skb)->h_dest; in ebt_among_mt()
|
D | ebt_log.c | 90 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in ebt_log_packet()
|
D | ebtables.c | 171 verdict |= (h->h_dest[i] ^ e->destmac[i]) & in ebt_basic_match()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 210 mac_hash = ipvlan_mac_hash(eth->h_dest); in ipvlan_multicast_frame() 220 if (ether_addr_equal(eth->h_dest, ipvlan->phy_dev->broadcast)) in ipvlan_multicast_frame() 242 if (ether_addr_equal(eth->h_dest, port->dev->broadcast)) in ipvlan_multicast_frame() 419 if (is_multicast_ether_addr(ethh->h_dest)) { in ipvlan_process_outbound() 477 if (ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2() 495 } else if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_xmit_mode_l2() 583 if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_handle_mode_l2()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1096 if (!is_broadcast_ether_addr(mask->h_dest)) { in gfar_set_ether() 1098 if ((is_broadcast_ether_addr(value->h_dest) && in gfar_set_ether() 1099 is_zero_ether_addr(mask->h_dest))) { in gfar_set_ether() 1102 if (is_zero_ether_addr(mask->h_dest)) { in gfar_set_ether() 1106 upper_temp_mask = mask->h_dest[0] << 16 | in gfar_set_ether() 1107 mask->h_dest[1] << 8 | in gfar_set_ether() 1108 mask->h_dest[2]; in gfar_set_ether() 1109 lower_temp_mask = mask->h_dest[3] << 16 | in gfar_set_ether() 1110 mask->h_dest[4] << 8 | in gfar_set_ether() 1111 mask->h_dest[5]; in gfar_set_ether() [all …]
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | core.c | 381 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()
|
D | netdev.c | 126 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.1.27/net/bridge/ |
D | br_input.c | 125 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame_finish() 230 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_handle_frame() 299 dest = eth_hdr(skb)->h_dest; in br_handle_frame()
|
D | br_multicast.c | 368 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() 455 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest); in br_ip6_multicast_alloc_query()
|
D | br_stp_bpdu.c | 144 const unsigned char *dest = eth_hdr(skb)->h_dest; in br_stp_rcv()
|
D | br_netfilter.c | 452 ether_addr_copy(eth_hdr(skb)->h_dest, dev->dev_addr); in br_nf_pre_routing_finish()
|
/linux-4.1.27/include/net/ |
D | firewire.h | 21 u8 h_dest[FWNET_ALEN]; /* destination address */ member
|
D | llc_pdu.h | 267 memcpy(da, eth_hdr(skb)->h_dest, ETH_ALEN); in llc_pdu_decode_da()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | rx.c | 126 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.1.27/net/hsr/ |
D | hsr_framereg.c | 283 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()
|
D | hsr_forward.c | 58 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.1.27/include/uapi/linux/ |
D | if_ether.h | 138 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
|
D | ethtool.h | 767 unsigned char h_dest[ETH_ALEN]; member
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | dynack.h | 42 u8 h_dest[ETH_ALEN]; member
|
D | dynack.c | 128 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.1.27/drivers/net/ethernet/sfc/ |
D | ethtool.c | 843 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()
|
D | selftest.c | 368 ether_addr_copy((u8 *)&payload->header.h_dest, net_dev->dev_addr); in efx_iterate_state()
|
/linux-4.1.27/drivers/net/ |
D | rionet.c | 183 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()
|
D | macvlan.c | 208 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() 442 vlan = macvlan_hash_lookup(port, eth->h_dest); in macvlan_handle_frame() 479 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_queue_xmit() 484 dest = macvlan_hash_lookup(port, eth->h_dest); in macvlan_queue_xmit()
|
D | vxlan.c | 1459 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in vxlan_na_create() 1583 if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) in route_shortcircuit() 1637 diff = !ether_addr_equal(eth_hdr(skb)->h_dest, n->ha); in route_shortcircuit() 1639 memcpy(eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in route_shortcircuit() 1641 memcpy(eth_hdr(skb)->h_dest, n->ha, dev->addr_len); in route_shortcircuit() 2078 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2086 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2093 !is_multicast_ether_addr(eth->h_dest)) in vxlan_xmit() 2094 vxlan_fdb_miss(vxlan, eth->h_dest); in vxlan_xmit()
|
D | tun.c | 708 if (ether_addr_equal(eh->h_dest, filter->addr[i])) in run_filter() 712 if (is_multicast_ether_addr(eh->h_dest)) in run_filter() 713 return addr_hash_test(filter->mask, eh->h_dest); in run_filter()
|
D | virtio_net.c | 845 const unsigned char *dest = ((struct ethhdr *)skb->data)->h_dest; in xmit_skb()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 531 int mcast = is_multicast_ether_addr(eth->h_dest); in wil_netif_rx_any() 551 int xmit_cid = wil_find_cid(wil, eth->h_dest); in wil_netif_rx_any() 846 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_ucast() 861 __func__, eth->h_dest, i); in wil_find_tx_ucast() 944 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring() 1260 bool bcast = is_multicast_ether_addr(eth->h_dest); in wil_start_xmit() 1292 wil_dbg_txrx(wil, "No Tx VRING found for %pM\n", eth->h_dest); in wil_start_xmit() 1325 return is_unicast_ether_addr(eth->h_dest) && skb->sk && in wil_need_txstat()
|
D | wmi.c | 527 ether_addr_copy(eth->h_dest, ndev->dev_addr); in wmi_evt_eapol_rx()
|
/linux-4.1.27/drivers/net/usb/ |
D | lg-vl600.c | 200 memcpy(ethhdr->h_dest, in vl600_rx_fixup() 205 memcpy(ethhdr->h_dest, dev->net->dev_addr, ETH_ALEN); in vl600_rx_fixup()
|
D | cdc_mbim.c | 398 memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); in cdc_mbim_process_dgram()
|
D | qmi_wwan.c | 113 memcpy(eth_hdr(skb)->h_dest, dev->net->dev_addr, ETH_ALEN); in qmi_wwan_rx_fixup()
|
D | sierra_net.c | 705 memcpy(ð->h_dest, dev->net->dev_addr, ETH_ALEN); in sierra_net_bind()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 54 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()
|
D | wmi.c | 425 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.1.27/drivers/firewire/ |
D | net.c | 226 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.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 68 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_test_loopback_xmit()
|
D | en_ethtool.c | 1221 if (!is_broadcast_ether_addr(cmd->fs.m_ext.h_dest)) in mlx4_en_validate_flow() 1254 if (!is_broadcast_ether_addr(eth_mask->h_dest)) in mlx4_en_validate_flow() 1316 memcpy(&mac, cmd->fs.h_ext.h_dest, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule_by_ipv4() 1456 ð_spec->h_dest[0]); in mlx4_en_ethtool_to_net_trans_rule()
|
D | en_tx.c | 870 tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest); in mlx4_en_xmit() 871 tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2)); in mlx4_en_xmit()
|
D | en_rx.c | 820 if (is_multicast_ether_addr(ethh->h_dest)) { in mlx4_en_process_rx_cq()
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
D | netdev.c | 444 memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); in i2400m_rx_fake_eth_header()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 405 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()
|
D | fcoe.c | 1483 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv() 1485 eh->h_dest); in fcoe_rcv() 1681 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in fcoe_xmit() 1683 memcpy(eh->h_dest + 3, fh->fh_d_id, 3); in fcoe_xmit()
|
/linux-4.1.27/drivers/net/plip/ |
D | plip.c | 550 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.1.27/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 155 oeth->h_source, oeth->h_dest, nskb->len) < 0) in nf_send_reset()
|
D | nf_log_ipv4.c | 291 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in dump_ipv4_mac_header()
|
/linux-4.1.27/net/netfilter/ |
D | xt_AUDIT.c | 144 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in audit_tg()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_alb.c | 1336 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()
|
D | bond_3ad.c | 787 ether_addr_copy(lacpdu_header->hdr.h_dest, lacpdu_mcast_addr); in ad_lacpdu_send() 829 ether_addr_copy(marker_header->hdr.h_dest, lacpdu_mcast_addr); in ad_marker_send() 2532 if (!MAC_ADDRESS_EQUAL(eth_hdr(skb)->h_dest, lacpdu_mcast_addr)) in bond_3ad_lacpdu_recv()
|
D | bond_main.c | 1184 ether_addr_copy(eth_hdr(skb)->h_dest, bond->dev->dev_addr); in bond_handle_frame() 3085 return ep->h_dest[5] ^ ep->h_source[5] ^ ep->h_proto; in bond_eth_hash()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 204 oeth->h_source, oeth->h_dest, nskb->len) < 0) in nf_send_reset6()
|
D | nf_log_ipv6.c | 304 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in dump_ipv6_mac_header()
|
/linux-4.1.27/net/8021q/ |
D | vlan_core.c | 29 if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) in vlan_do_receive()
|
/linux-4.1.27/include/linux/ |
D | if_vlan.h | 52 unsigned char h_dest[ETH_ALEN]; member
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_net.c | 147 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.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 461 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()
|
D | msgbuf.c | 669 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, in brcmf_msgbuf_flowring_create() 679 memcpy(create->da, eh->h_dest, ETH_ALEN); in brcmf_msgbuf_flowring_create() 799 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); in brcmf_msgbuf_txdata()
|
D | fwsignal.c | 1894 bool multicast = is_multicast_ether_addr(eh->h_dest); in brcmf_fws_process_skb() 1923 skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); in brcmf_fws_process_skb() 1925 eh->h_dest, multicast, fifo); in brcmf_fws_process_skb()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_fcs.c | 357 memcpy(vlan->eth.h_dest, fcoe_all_fcfs, ETH_ALEN); in fnic_fcoe_send_vlan_req() 1059 fc_fcoe_set_mac(eth_hdr->h_dest, fh->fh_d_id); in fnic_send_frame() 1061 memcpy(eth_hdr->h_dest, fnic->ctlr.dest_addr, ETH_ALEN); in fnic_send_frame()
|
/linux-4.1.27/net/openvswitch/ |
D | actions.c | 266 ether_addr_copy_masked(eth_hdr(skb)->h_dest, key->eth_dst, in set_eth_addr() 272 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr()
|
D | flow.c | 469 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract()
|
/linux-4.1.27/drivers/net/wireless/ |
D | ray_cs.c | 998 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.1.27/net/wireless/ |
D | util.c | 522 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.1.27/drivers/net/ethernet/amd/ |
D | sunlance.c | 891 sbus_writeb(dev->dev_addr[i], ð->h_dest[i]); in build_fake_packet() 903 eth->h_dest[i] = dev->dev_addr[i]; in build_fake_packet()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 355 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.1.27/net/core/ |
D | netpoll.c | 466 ether_addr_copy(eth->h_dest, np->remote_mac); in netpoll_send_udp()
|
/linux-4.1.27/net/mac80211/ |
D | rx.c | 2053 (ether_addr_equal(ehdr->h_dest, rx->sdata->vif.addr) || in ieee80211_frame_allowed() 2054 ether_addr_equal(ehdr->h_dest, pae_group_addr))) in ieee80211_frame_allowed() 2088 if (is_multicast_ether_addr(ehdr->h_dest)) { in ieee80211_deliver_skb() 2438 ((struct ethhdr *)rx->skb->data)->h_dest) && in ieee80211_rx_h_data()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.c | 1373 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.1.27/drivers/net/wireless/orinoco/ |
D | main.c | 427 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.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 418 memcpy(pkt->eth.h_dest, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet() 432 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3789 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in bnx2x_start_xmit() 3790 if (is_broadcast_ether_addr(eth->h_dest)) in bnx2x_start_xmit() 3961 eth->h_dest); in bnx2x_start_xmit() 3968 eth->h_dest); in bnx2x_start_xmit()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 217 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in r8712_update_attrib()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1111 ether_addr_copy(da, eth->h_dest); in ath10k_htt_rx_h_undecap_eth()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 2205 netdev_alert(netdev, "Dst MAC addr: %pM\n", eth->h_dest); in xgbe_print_pkt()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 448 memcpy(pattrib->dst, ðerhdr.h_dest, ETH_ALEN); in update_attrib()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_xmit.c | 429 ether_addr_copy(pattrib->dst, ehdr->h_dest); in update_attrib()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 471 memcpy(ethh->h_dest, cm_node->rem_mac, ETH_ALEN); in form_cm_frame()
|