Home
last modified time | relevance | path

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

/linux-6.1.9/net/802/
DMakefile7 obj-$(CONFIG_LLC) += p8022.o psnap.o
11 obj-$(CONFIG_ATALK) += p8022.o psnap.o
/linux-6.1.9/drivers/net/wireless/
Dray_cs.c2272 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local
2274 __be16 type = *(__be16 *) psnap->ethertype; in untranslate()
2292 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate()
2293 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate()
2298 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate()
2301 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate()
2307 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate()
2314 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_recv.c591 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local
600 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr()
604 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr()
607 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c1169 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local
1181 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr()
1184 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr()
1187 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_recv.c1507 struct ieee80211_snap_hdr *psnap; in wlanhdr_to_ethhdr() local
1517 psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); in wlanhdr_to_ethhdr()
1521 if ((!memcmp(psnap, rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr()
1525 !memcmp(psnap, bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr()