Home
last modified time | relevance | path

Searched refs:psnap (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/
Dray_cs.c2286 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local
2288 __be16 type = *(__be16 *) psnap->ethertype; in untranslate()
2306 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate()
2307 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate()
2312 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate()
2315 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate()
2321 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate()
2328 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
/drivers/staging/rtl8712/
Drtl871x_recv.c611 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local
620 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr()
624 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr()
627 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
/drivers/staging/rtl8188eu/core/
Drtw_recv.c1338 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local
1348 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr()
1351 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr()
1354 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()