Home
last modified time | relevance | path

Searched refs:ETH_ALEN (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/drivers/staging/rtl8712/
Drtl871x_recv.c332 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame()
334 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame()
338 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame()
344 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame()
356 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame()
361 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
362 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
363 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
364 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame()
365 memcpy(pattrib->ta, pattrib->src, ETH_ALEN); in sta2sta_data_frame()
[all …]
Dieee80211.h36 #define ETH_ALEN 6 macro
94 u8 sta_addr[ETH_ALEN];
138 u8 mac[ETH_ALEN];
148 u8 addr1[ETH_ALEN];
149 u8 addr2[ETH_ALEN];
150 u8 addr3[ETH_ALEN];
152 u8 addr4[ETH_ALEN];
158 u8 addr1[ETH_ALEN];
159 u8 addr2[ETH_ALEN];
160 u8 addr3[ETH_ALEN];
[all …]
/drivers/net/wireless/
Dwl3501.h280 u8 addr1[ETH_ALEN];
281 u8 addr2[ETH_ALEN];
282 u8 addr3[ETH_ALEN];
284 u8 addr4[ETH_ALEN];
301 u8 addr1[ETH_ALEN];
302 u8 addr2[ETH_ALEN];
303 u8 addr3[ETH_ALEN];
305 u8 addr4[ETH_ALEN];
331 u8 mac_addr[ETH_ALEN];
344 u8 mac_addr[ETH_ALEN];
[all …]
Dat76c50x-usb.h97 u8 mac_addr[ETH_ALEN];
109 u8 mac_addr[ETH_ALEN];
117 u8 mac_addr[ETH_ALEN];
192 u8 bssid[ETH_ALEN];
204 u8 bssid[ETH_ALEN];
213 u8 bssid[ETH_ALEN];
235 u8 mac_addr[ETH_ALEN];
237 u8 group_addr[4][ETH_ALEN];
257 u8 desired_bssid[ETH_ALEN];
272 u8 current_bssid[ETH_ALEN];
[all …]
/drivers/net/wireless/hostap/
Dhostap_80211_tx.c107 !ether_addr_equal(skb->data + ETH_ALEN, dev->dev_addr)) { in hostap_data_start_xmit()
155 skb_copy_from_linear_data_offset(skb, ETH_ALEN, in hostap_data_start_xmit()
156 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
157 hdr_len += ETH_ALEN; in hostap_data_start_xmit()
169 skb_copy_from_linear_data_offset(skb, ETH_ALEN, in hostap_data_start_xmit()
170 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
171 need_tailroom += ETH_ALEN; in hostap_data_start_xmit()
181 ETH_ALEN); in hostap_data_start_xmit()
183 memcpy(&hdr.addr1, local->bssid, ETH_ALEN); in hostap_data_start_xmit()
184 memcpy(&hdr.addr2, dev->dev_addr, ETH_ALEN); in hostap_data_start_xmit()
[all …]
Dhostap_wlan.h89 u8 addr1[ETH_ALEN];
90 u8 addr2[ETH_ALEN];
91 u8 addr3[ETH_ALEN];
93 u8 addr4[ETH_ALEN];
97 u8 dst_addr[ETH_ALEN];
98 u8 src_addr[ETH_ALEN];
118 u8 addr1[ETH_ALEN];
119 u8 addr2[ETH_ALEN]; /* filled by firmware */
120 u8 addr3[ETH_ALEN];
122 u8 addr4[ETH_ALEN];
[all …]
Dhostap_80211_rx.c241 memcmp(entry->src_addr, src, ETH_ALEN) == 0 && in prism2_frag_cache_find()
242 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in prism2_frag_cache_find()
269 8 /* WEP */ + ETH_ALEN /* WDS */); in prism2_frag_cache_get()
285 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in prism2_frag_cache_get()
286 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in prism2_frag_cache_get()
335 if (memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in __hostap_get_bss()
365 memcpy(bss->bssid, bssid, ETH_ALEN); in __hostap_add_bss()
543 memcmp(iface->u.wds.remote_addr, addr, ETH_ALEN) == 0) in prism2_rx_get_wds()
584 memcmp(hdr->addr2, local->bssid, ETH_ALEN) != 0)) { in hostap_rx_frame_wds()
732 u8 dst[ETH_ALEN]; in hostap_80211_rx()
[all …]
/drivers/net/wireless/orinoco/
Dmic.c60 memcpy(&hdr[0], da, ETH_ALEN); in orinoco_mic()
61 memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); in orinoco_mic()
62 hdr[ETH_ALEN * 2] = priority; in orinoco_mic()
63 hdr[ETH_ALEN * 2 + 1] = 0; in orinoco_mic()
64 hdr[ETH_ALEN * 2 + 2] = 0; in orinoco_mic()
65 hdr[ETH_ALEN * 2 + 3] = 0; in orinoco_mic()
/drivers/staging/wlan-ng/
Dp80211hdr.h153 u8 a1[ETH_ALEN];
154 u8 a2[ETH_ALEN];
155 u8 a3[ETH_ALEN];
162 u8 a1[ETH_ALEN];
163 u8 a2[ETH_ALEN];
164 u8 a3[ETH_ALEN];
166 u8 a4[ETH_ALEN];
200 hdrlen += ETH_ALEN; in p80211_headerlen()
Dp80211conv.c181 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
182 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); in skb_ether_to_p80211()
183 memcpy(p80211_hdr->a3.a3, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211()
187 memcpy(p80211_hdr->a3.a1, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211()
188 memcpy(p80211_hdr->a3.a2, wlandev->netdev->dev_addr, ETH_ALEN); in skb_ether_to_p80211()
189 memcpy(p80211_hdr->a3.a3, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
193 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
194 memcpy(p80211_hdr->a3.a2, wlandev->bssid, ETH_ALEN); in skb_ether_to_p80211()
195 memcpy(p80211_hdr->a3.a3, &e_hdr.saddr, ETH_ALEN); in skb_ether_to_p80211()
245 if (!memcmp(wlandev->spy_address[i], mac, ETH_ALEN)) { in orinoco_spy_gather()
[all …]
/drivers/net/wireless/ti/wlcore/
Dwl12xx_80211.h64 u8 da[ETH_ALEN];
65 u8 sa[ETH_ALEN];
66 u8 bssid[ETH_ALEN];
115 u8 bssid[ETH_ALEN];
116 u8 ta[ETH_ALEN];
126 u8 sender_hw[ETH_ALEN];
128 u8 target_hw[ETH_ALEN];
/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-tof.h156 u8 bssid[ETH_ALEN];
223 u8 bssid[ETH_ALEN];
282 u8 macaddr_template[ETH_ALEN];
283 u8 macaddr_mask[ETH_ALEN];
313 u8 bssid[ETH_ALEN];
355 u8 initiator_bssid[ETH_ALEN];
356 u8 responder_bssid[ETH_ALEN];
369 u8 bssid[ETH_ALEN];
/drivers/net/wireless/brcm80211/brcmfmac/
Dfwil_types.h151 u8 addr[ETH_ALEN];
163 u8 da[ETH_ALEN];
172 u8 bssid[ETH_ALEN];
196 u8 ea[ETH_ALEN]; /* Station address */
252 u8 BSSID[ETH_ALEN];
302 u8 bssid[ETH_ALEN]; /* default: bcast */
364 u8 bssid[ETH_ALEN];
432 u8 ea[ETH_ALEN]; /* per station */
454 u8 ea[ETH_ALEN]; /* per station */
460 u8 ea[ETH_ALEN];
[all …]
Dflowring.h24 u8 mac[ETH_ALEN];
44 u8 mac[ETH_ALEN];
60 u32 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN],
62 u32 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN],
79 u8 peer[ETH_ALEN]);
81 u8 peer[ETH_ALEN]);
Dflowring.c51 brcmf_flowring_is_tdls_mac(struct brcmf_flowring *flow, u8 mac[ETH_ALEN]) in brcmf_flowring_is_tdls_mac() argument
58 if (memcmp(search->mac, mac, ETH_ALEN) == 0) in brcmf_flowring_is_tdls_mac()
67 u32 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_lookup() argument
94 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()
109 u32 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN], in brcmf_flowring_create() argument
156 memcpy(hash[hash_idx].mac, mac, ETH_ALEN); in brcmf_flowring_create()
429 u8 peer[ETH_ALEN]) in brcmf_flowring_delete_peer() argument
445 if (memcmp(search->mac, peer, ETH_ALEN) == 0) { in brcmf_flowring_delete_peer()
455 if ((sta || (memcmp(hash[i].mac, peer, ETH_ALEN) == 0)) && in brcmf_flowring_delete_peer()
478 u8 peer[ETH_ALEN]) in brcmf_flowring_add_tdls_peer() argument
[all …]
/drivers/net/wireless/ath/wcn36xx/
Dhal.h960 u8 bssid[ETH_ALEN];
991 u8 bssid[ETH_ALEN];
1079 u8 bssid[ETH_ALEN];
1180 u8 bssid[ETH_ALEN];
1192 u8 mac[ETH_ALEN];
1295 u8 bssid[ETH_ALEN];
1307 u8 mac[ETH_ALEN];
1541 u8 bssid[ETH_ALEN];
1544 u8 self_mac_addr[ETH_ALEN];
1688 u8 bssid[ETH_ALEN];
[all …]
/drivers/net/wireless/ipw2x00/
Dlibipw.h253 u8 src_addr[ETH_ALEN];
254 u8 dst_addr[ETH_ALEN];
340 u8 addr1[ETH_ALEN];
347 u8 addr1[ETH_ALEN];
348 u8 addr2[ETH_ALEN];
355 u8 addr1[ETH_ALEN];
356 u8 addr2[ETH_ALEN];
357 u8 addr3[ETH_ALEN];
365 u8 addr1[ETH_ALEN];
366 u8 addr2[ETH_ALEN];
[all …]
Dlibipw_tx.c272 u8 dest[ETH_ALEN], src[ETH_ALEN]; in libipw_xmit()
312 skb_copy_from_linear_data(skb, dest, ETH_ALEN); in libipw_xmit()
313 skb_copy_from_linear_data_offset(skb, ETH_ALEN, src, ETH_ALEN); in libipw_xmit()
324 memcpy(header.addr1, ieee->bssid, ETH_ALEN); in libipw_xmit()
325 memcpy(header.addr2, src, ETH_ALEN); in libipw_xmit()
326 memcpy(header.addr3, dest, ETH_ALEN); in libipw_xmit()
329 memcpy(header.addr1, dest, ETH_ALEN); in libipw_xmit()
330 memcpy(header.addr2, src, ETH_ALEN); in libipw_xmit()
331 memcpy(header.addr3, ieee->bssid, ETH_ALEN); in libipw_xmit()
/drivers/staging/rtl8188eu/core/
Drtw_recv.c711 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) { in sta2sta_data_frame()
717 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) { in sta2sta_data_frame()
722 if (!memcmp(pattrib->bssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in sta2sta_data_frame()
723 !memcmp(mybssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in sta2sta_data_frame()
724 memcmp(pattrib->bssid, mybssid, ETH_ALEN)) { in sta2sta_data_frame()
732 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) { in sta2sta_data_frame()
747 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) { in sta2sta_data_frame()
755 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
756 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
757 memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
[all …]
/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c240 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in ConstructBeacon()
241 memcpy(pwlanhdr->addr2, myid(&(adapt->eeprompriv)), ETH_ALEN); in ConstructBeacon()
242 memcpy(pwlanhdr->addr3, cur_network->MacAddress, ETH_ALEN); in ConstructBeacon()
330 memcpy(pwlanhdr->addr1, pnetwork->MacAddress, ETH_ALEN); in ConstructPSPoll()
333 memcpy(pwlanhdr->addr2, myid(&(adapt->eeprompriv)), ETH_ALEN); in ConstructPSPoll()
365 memcpy(pwlanhdr->addr1, pnetwork->MacAddress, ETH_ALEN); in ConstructNullFunctionData()
366 memcpy(pwlanhdr->addr2, myid(&(adapt->eeprompriv)), ETH_ALEN); in ConstructNullFunctionData()
367 memcpy(pwlanhdr->addr3, StaAddr, ETH_ALEN); in ConstructNullFunctionData()
371 memcpy(pwlanhdr->addr1, StaAddr, ETH_ALEN); in ConstructNullFunctionData()
372 memcpy(pwlanhdr->addr2, pnetwork->MacAddress, ETH_ALEN); in ConstructNullFunctionData()
[all …]
/drivers/staging/rtl8188eu/include/
Dieee80211.h30 #define ETH_ALEN 6 macro
217 u8 sta_addr[ETH_ALEN];
261 u8 sta_addr[ETH_ALEN];
300 u8 mac[ETH_ALEN];
310 u8 addr1[ETH_ALEN];
311 u8 addr2[ETH_ALEN];
312 u8 addr3[ETH_ALEN];
314 u8 addr4[ETH_ALEN];
320 u8 addr1[ETH_ALEN];
321 u8 addr2[ETH_ALEN];
[all …]
Drtw_mlme.h126 u8 peermac[ETH_ALEN];
134 u8 go_bssid[ETH_ALEN];
135 u8 peer_macaddr[ETH_ALEN];
152 u8 peerDevAddr[ETH_ALEN]; /* Peer device address */
153 u8 peerIFAddr[ETH_ALEN]; /* Peer interface address */
164 u8 peerDevAddr[ETH_ALEN]; /* Peer device address */
172 u8 peerDevAddr[ETH_ALEN]; /* Peer device address */
178 u8 go_device_addr[ETH_ALEN]; /* The GO's device address of
217 u8 device_addr[ETH_ALEN];
218 u8 interface_addr[ETH_ALEN];
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c86 memcmp(entry->src_addr, src, ETH_ALEN) == 0 && in ieee80211_frag_cache_find()
87 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in ieee80211_frag_cache_find()
130 ETH_ALEN /* WDS */ + in ieee80211_frag_cache_get()
147 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in ieee80211_frag_cache_get()
148 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in ieee80211_frag_cache_get()
225 …if ((memcmp(hdr->addr1, ieee->dev->dev_addr, ETH_ALEN)))/* use ADDR1 to perform address matching f… in ieee80211_rx_frame_mgmt()
313 memcmp(hdr->addr1, dev->dev_addr, ETH_ALEN) == 0 && in ieee80211_is_eapol_frame()
314 memcmp(hdr->addr3, dev->dev_addr, ETH_ALEN) == 0) { in ieee80211_is_eapol_frame()
318 memcmp(hdr->addr1, dev->dev_addr, ETH_ALEN) == 0) { in ieee80211_is_eapol_frame()
457 if (!memcmp(entry->mac, mac, ETH_ALEN)) in is_duplicate_packet()
[all …]
/drivers/net/ethernet/cirrus/
Dmac89x0.c272 for (i = 0; i < ETH_ALEN; i += 2) { in mac89x0_probe()
344 for (i=0; i < ETH_ALEN/2; i++) in net_open()
379 (skb->data[ETH_ALEN+ETH_ALEN] << 8) in net_send_packet()
380 | skb->data[ETH_ALEN+ETH_ALEN+1]); in net_send_packet()
519 (skb->data[ETH_ALEN+ETH_ALEN] << 8) in net_rx()
520 | skb->data[ETH_ALEN+ETH_ALEN+1]); in net_rx()
595 memcpy(dev->dev_addr, saddr->sa_data, ETH_ALEN); in set_mac_address()
599 for (i=0; i < ETH_ALEN/2; i++) in set_mac_address()
/drivers/staging/rtl8192e/
Drtllib.h365 u8 sta_addr[ETH_ALEN];
613 u8 mac[ETH_ALEN];
689 u8 src_addr[ETH_ALEN];
690 u8 dst_addr[ETH_ALEN];
780 u8 bssid[ETH_ALEN];
781 u8 ta[ETH_ALEN];
793 u8 addr1[ETH_ALEN];
800 u8 addr1[ETH_ALEN];
801 u8 addr2[ETH_ALEN];
808 u8 addr1[ETH_ALEN];
[all …]

12345678910>>...30