Searched refs:psnap (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ |
D | ray_cs.c | 2276 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local 2278 __be16 type = *(__be16 *) psnap->ethertype; in untranslate() 2296 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate() 2297 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate() 2302 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate() 2305 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate() 2311 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate() 2318 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 590 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local 599 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr() 603 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 606 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1260 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1268 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1271 if ((!memcmp(psnap, rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1274 !memcmp(psnap, bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1611 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1622 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1626 if ((!memcmp(psnap, rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1630 !memcmp(psnap, bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|