Home
last modified time | relevance | path

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

123

/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c139 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_uap_queue_bridged_pkt()
144 memcpy(p_ethhdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_uap_queue_bridged_pkt()
145 sizeof(p_ethhdr->h_dest)); in mwifiex_uap_queue_bridged_pkt()
198 if (is_unicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_uap_queue_bridged_pkt()
255 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward()
318 if (is_multicast_ether_addr(p_ethhdr->h_dest) || in mwifiex_uap_recv_packet()
319 mwifiex_get_sta_entry(priv, p_ethhdr->h_dest)) { in mwifiex_uap_recv_packet()
349 if (mwifiex_get_sta_entry(priv, p_ethhdr->h_dest)) in mwifiex_uap_recv_packet()
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()
Dtxrx.c97 dest_node = mwifiex_get_sta_entry(priv, hdr->h_dest); in mwifiex_process_tx()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c224 eth_mask->h_dest); in set_flow_attrs()
227 eth_val->h_dest); in set_flow_attrs()
249 !is_zero_ether_addr(fs->m_ext.h_dest)) { in set_flow_attrs()
250 mask_spec(fs->m_ext.h_dest, fs->h_ext.h_dest, ETH_ALEN); in set_flow_attrs()
253 fs->m_ext.h_dest); in set_flow_attrs()
256 fs->h_ext.h_dest); in set_flow_attrs()
399 if (!is_zero_ether_addr(eth_mask->h_dest)) in validate_flow()
468 !is_zero_ether_addr(fs->m_ext.h_dest)) in validate_flow()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1063 if (!is_broadcast_ether_addr(mask->h_dest)) { in gfar_set_ether()
1065 if ((is_broadcast_ether_addr(value->h_dest) && in gfar_set_ether()
1066 is_zero_ether_addr(mask->h_dest))) { in gfar_set_ether()
1069 if (is_zero_ether_addr(mask->h_dest)) { in gfar_set_ether()
1073 upper_temp_mask = mask->h_dest[0] << 16 | in gfar_set_ether()
1074 mask->h_dest[1] << 8 | in gfar_set_ether()
1075 mask->h_dest[2]; in gfar_set_ether()
1076 lower_temp_mask = mask->h_dest[3] << 16 | in gfar_set_ether()
1077 mask->h_dest[4] << 8 | in gfar_set_ether()
1078 mask->h_dest[5]; in gfar_set_ether()
[all …]
/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()
302 if (!ether_addr_equal_64bits(eth_hdr(skb)->h_dest, in ipvlan_rcv_frame()
447 if (is_multicast_ether_addr(ethh->h_dest)) { in ipvlan_process_outbound()
525 if (ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2()
543 } else if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_xmit_mode_l2()
630 if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_handle_mode_l2()
/drivers/net/fjes/
Dfjes_main.c626 if (is_multicast_ether_addr(eth->h_dest)) { in fjes_xmit_frame()
630 } else if (is_local_ether_addr(eth->h_dest)) { in fjes_xmit_frame()
631 dest_epid = eth->h_dest[ETH_ALEN - 1]; in fjes_xmit_frame()
634 if ((eth->h_dest[0] == 0x02) && in fjes_xmit_frame()
635 (0x00 == (eth->h_dest[1] | eth->h_dest[2] | in fjes_xmit_frame()
636 eth->h_dest[3] | eth->h_dest[4])) && in fjes_xmit_frame()
1110 ((struct ethhdr *)frame)->h_dest)) { in fjes_poll()
/drivers/net/wireless/marvell/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()
/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()
1572 if (is_multicast_ether_addr(datap->h_dest)) in ath6kl_rx()
1585 conn = ath6kl_find_sta(vif, datap->h_dest); in ath6kl_rx()
1606 if (is_unicast_ether_addr(datap->h_dest)) { in ath6kl_rx()
1621 } else if (!is_broadcast_ether_addr(datap->h_dest)) { in ath6kl_rx()
/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()
1288 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1297 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()
/drivers/net/ethernet/sfc/
Dethtool.c884 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
886 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
888 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
1200 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1201 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1204 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1208 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
/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()
/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()
/drivers/net/
Drionet.c184 if (is_multicast_ether_addr(eth->h_dest)) in rionet_start_xmit()
195 if (is_multicast_ether_addr(eth->h_dest)) { in rionet_start_xmit()
207 } else if (RIONET_MAC_MATCH(eth->h_dest)) { in rionet_start_xmit()
208 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
Dmacvlan.c209 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in macvlan_broadcast_one()
252 hash = mc_hash(vlan, eth->h_dest); in macvlan_broadcast()
422 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_handle_frame()
442 hash = mc_hash(NULL, eth->h_dest); in macvlan_handle_frame()
454 vlan = macvlan_hash_lookup(port, eth->h_dest); in macvlan_handle_frame()
492 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_queue_xmit()
497 dest = macvlan_hash_lookup(port, eth->h_dest); in macvlan_queue_xmit()
Dvxlan.c1520 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in vxlan_na_create()
1644 if (is_multicast_ether_addr(eth_hdr(skb)->h_dest)) in route_shortcircuit()
1698 diff = !ether_addr_equal(eth_hdr(skb)->h_dest, n->ha); in route_shortcircuit()
1700 memcpy(eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in route_shortcircuit()
1702 memcpy(eth_hdr(skb)->h_dest, n->ha, dev->addr_len); in route_shortcircuit()
2226 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit()
2234 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit()
2241 !is_multicast_ether_addr(eth->h_dest)) in vxlan_xmit()
2242 vxlan_fdb_miss(vxlan, eth->h_dest); in vxlan_xmit()
/drivers/staging/ks7010/
Deap_packet.h13 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/drivers/scsi/fcoe/
Dfcoe_ctlr.c408 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit()
564 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive()
633 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps()
645 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_encaps()
1529 if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1530 !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1531 !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1533 } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1534 !ether_addr_equal(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
2031 memcpy(frame->eth.h_dest, dest, ETH_ALEN); in fcoe_ctlr_vn_send()
[all …]
/drivers/net/wireless/ath/wil6210/
Dtxrx.c636 int mcast = is_multicast_ether_addr(eth->h_dest); in wil_netif_rx_any()
671 int xmit_cid = wil_find_cid(wil, eth->h_dest); in wil_netif_rx_any()
1009 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_ucast()
1024 __func__, eth->h_dest, i); in wil_find_tx_ucast()
1113 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring()
1787 bool bcast = is_multicast_ether_addr(eth->h_dest); in wil_start_xmit()
1819 wil_dbg_txrx(wil, "No Tx VRING found for %pM\n", eth->h_dest); in wil_start_xmit()
1852 return is_unicast_ether_addr(eth->h_dest) && skb->sk && in wil_need_txstat()
/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()
/drivers/net/bonding/
Dbond_alb.c1333 if (!is_multicast_ether_addr(eth_data->h_dest)) { in bond_tlb_xmit()
1380 if (ether_addr_equal_64bits(eth_data->h_dest, mac_bcast) || in bond_alb_xmit()
1394 if (ether_addr_equal_64bits(eth_data->h_dest, mac_bcast)) { in bond_alb_xmit()
1402 if (ether_addr_equal_64bits(eth_data->h_dest, mac_v6_allmcast)) { in bond_alb_xmit()
1436 hash_start = (char *)eth_data->h_dest; in bond_alb_xmit()
/drivers/net/ethernet/mellanox/mlx4/
Den_selftest.c68 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_test_loopback_xmit()
/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()
/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()

123