Searched refs:psnap (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ |
D | ray_cs.c | 2278 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local 2280 __be16 type = *(__be16 *) psnap->ethertype; in untranslate() 2298 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate() 2299 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate() 2304 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate() 2307 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate() 2313 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate() 2320 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 592 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local 601 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr() 605 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 608 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1509 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1519 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1523 if ((!memcmp(psnap, rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1527 !memcmp(psnap, bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|
/drivers/staging/r8188eu/core/ |
D | rtw_recv.c | 1259 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1271 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1274 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1277 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|