Searched refs:GetAddr1Ptr (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/staging/rtl8712/
H A Dwifi.h151 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) macro
172 sa = GetAddr1Ptr(pframe);
H A Drtl871x_recv.c343 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN);
410 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN);
497 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN);
/linux-master/drivers/staging/rtl8723bs/include/
H A Dwifi.h206 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
217 ra = GetAddr1Ptr(pframe);
234 da = GetAddr1Ptr(pframe);
237 da = GetAddr1Ptr(pframe);
287 sa = GetAddr1Ptr(pframe);
290 sa = GetAddr1Ptr(pframe);
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c708 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN);
795 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN);
903 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN))
1212 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN))
1214 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) ||
1215 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)))
1274 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN);
1357 if (pattrib->privacy && !(is_multicast_ether_addr(GetAddr1Ptr(ptr))) &&
1367 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN);
1384 } else if (is_multicast_ether_addr(GetAddr1Ptr(pt
[all...]
H A Drtw_mlme_ext.c428 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) &&
429 !is_broadcast_ether_addr(GetAddr1Ptr(pframe)))
450 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) &&
451 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) {
1639 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */
1804 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))
1832 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))
2006 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN);
2746 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN);

Completed in 217 milliseconds