Searched refs:psnap (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ |
D | ray_cs.c | 2283 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local 2285 __be16 type = *(__be16 *) psnap->ethertype; in untranslate() 2303 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate() 2304 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate() 2309 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate() 2312 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate() 2318 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate() 2325 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 607 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local 616 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr() 620 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 623 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 1553 u8 *psnap; in wlanhdr_to_ethhdr() local 1567 psnap = ptr + hdrlen; in wlanhdr_to_ethhdr() 1568 eth_type = (psnap[6] << 8) | psnap[7]; in wlanhdr_to_ethhdr() 1571 if ((ether_addr_equal(psnap, rfc1042_header) && in wlanhdr_to_ethhdr() 1573 ether_addr_equal(psnap, bridge_tunnel_header)) { in wlanhdr_to_ethhdr() 1581 eth_type = (psnap[0] << 8) | psnap[1]; in wlanhdr_to_ethhdr()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1374 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1385 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1388 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1391 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|