Searched refs:psnap (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/802/ |
D | Makefile | 6 obj-$(CONFIG_LLC) += p8022.o psnap.o 10 obj-$(CONFIG_IPX) += p8022.o psnap.o p8023.o 11 obj-$(CONFIG_ATALK) += p8022.o psnap.o
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 606 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local 615 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr() 619 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 622 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 1501 u8 *psnap; in wlanhdr_to_ethhdr() local 1513 psnap = ptr + hdrlen; in wlanhdr_to_ethhdr() 1514 eth_type = (psnap[6] << 8) | psnap[7]; in wlanhdr_to_ethhdr() 1517 if ((ether_addr_equal(psnap, rfc1042_header) && in wlanhdr_to_ethhdr() 1519 ether_addr_equal(psnap, bridge_tunnel_header)) { in wlanhdr_to_ethhdr() 1527 eth_type = (psnap[0] << 8) | psnap[1]; in wlanhdr_to_ethhdr()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1376 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local 1386 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr() 1389 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1392 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
|