Home
last modified time | relevance | path

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

/Linux-v6.6/net/802/
DMakefile7 obj-$(CONFIG_LLC) += p8022.o psnap.o
11 obj-$(CONFIG_ATALK) += p8022.o psnap.o
/Linux-v6.6/drivers/net/wireless/legacy/
Dray_cs.c2277 snaphdr_t *psnap = (snaphdr_t *) (skb->data + RX_MAC_HEADER_LENGTH); in untranslate() local
2279 __be16 type = *(__be16 *) psnap->ethertype; in untranslate()
2297 ntohs(type), psnap->dsap, psnap->ssap, psnap->ctrl, in untranslate()
2298 psnap->org[0], psnap->org[1], psnap->org[2]); in untranslate()
2303 if (psnap->dsap != 0xaa || psnap->ssap != 0xaa || psnap->ctrl != 3) { in untranslate()
2306 psnap->dsap, psnap->ssap, psnap->ctrl); in untranslate()
2312 if (memcmp(psnap->org, org_bridge, 3) == 0) { in untranslate()
2319 } else if (memcmp(psnap->org, org_1042, 3) == 0) { in untranslate()
/Linux-v6.6/drivers/staging/rtl8712/
Drtl871x_recv.c593 struct ieee80211_snap_hdr *psnap; in r8712_wlanhdr_to_ethhdr() local
602 psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + in r8712_wlanhdr_to_ethhdr()
606 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr()
609 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr()
/Linux-v6.6/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()