/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_tx.c | 147 memcpy(data + SNAP_SIZE, &h_proto, sizeof(u16)); in libipw_copy_snap() 149 return SNAP_SIZE + sizeof(u16); in libipw_copy_snap() 289 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in libipw_xmit() 348 bytes = skb->len + SNAP_SIZE + sizeof(u16); in libipw_xmit() 364 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit() 487 (skb_frag, SNAP_SIZE + sizeof(u16)), in libipw_xmit() 489 bytes -= SNAP_SIZE + sizeof(u16); in libipw_xmit()
|
D | libipw_rx.c | 740 ((memcmp(payload, libipw_rfc1042_header, SNAP_SIZE) == 0 && in libipw_rx() 742 memcmp(payload, libipw_bridge_tunnel_header, SNAP_SIZE) == 0)) { in libipw_rx() 745 skb_pull(skb, hdrlen + SNAP_SIZE); in libipw_rx()
|
D | libipw.h | 151 #define SNAP_SIZE sizeof(struct libipw_snap_hdr) macro
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 174 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in ieee80211_put_snap() 176 return SNAP_SIZE + sizeof(u16); in ieee80211_put_snap() 633 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in ieee80211_xmit() 655 sizeof(struct ethhdr) - SNAP_SIZE - sizeof(u16)); in ieee80211_xmit() 669 bytes = skb->len + SNAP_SIZE + sizeof(u16); in ieee80211_xmit() 822 skb_put(skb_frag, SNAP_SIZE + sizeof(u16)), in ieee80211_xmit() 824 bytes -= SNAP_SIZE + sizeof(u16); in ieee80211_xmit()
|
D | ieee80211_rx.c | 553 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in ieee80211_indicate_packets() 555 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in ieee80211_indicate_packets() 558 skb_pull(sub_skb, SNAP_SIZE); in ieee80211_indicate_packets() 1303 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in ieee80211_rx() 1305 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in ieee80211_rx() 1308 skb_pull(sub_skb, SNAP_SIZE); in ieee80211_rx()
|
D | ieee80211.h | 573 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 168 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in rtllib_put_snap() 170 return SNAP_SIZE + sizeof(u16); in rtllib_put_snap() 605 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in rtllib_xmit_inter() 669 sizeof(struct ethhdr) - SNAP_SIZE - in rtllib_xmit_inter() 680 bytes = skb->len + SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter() 847 skb_put(skb_frag, SNAP_SIZE + in rtllib_xmit_inter() 849 bytes -= SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter()
|
D | rtllib_rx.c | 499 SNAP_SIZE) == 0 && in rtllib_indicate_packets() 503 SNAP_SIZE) == 0)) { in rtllib_indicate_packets() 507 skb_pull(sub_skb, SNAP_SIZE); in rtllib_indicate_packets() 1257 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in rtllib_rx_indicate_pkt_legacy() 1259 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in rtllib_rx_indicate_pkt_legacy() 1263 skb_pull(sub_skb, SNAP_SIZE); in rtllib_rx_indicate_pkt_legacy()
|
D | rtllib.h | 500 #define SNAP_SIZE sizeof(struct rtllib_snap_hdr) macro
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 98 ((!memcmp(sub_skb->data, rtw_rfc1042_header, SNAP_SIZE) && in rtw_os_alloc_msdu_pkt() 100 !memcmp(sub_skb->data, rtw_bridge_tunnel_header, SNAP_SIZE))) { in rtw_os_alloc_msdu_pkt() 102 skb_pull(sub_skb, SNAP_SIZE); in rtw_os_alloc_msdu_pkt()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 619 psnap_type = ptr + pattrib->hdrlen + pattrib->iv_len + SNAP_SIZE; in r8712_wlanhdr_to_ethhdr() 621 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 624 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr() 634 (bsnaphdr ? SNAP_SIZE : 0); in r8712_wlanhdr_to_ethhdr()
|
D | rtl871x_recv.h | 15 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | rtl8712_recv.c | 398 ((!memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) && in amsdu_to_msdu() 400 !memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE))) { in amsdu_to_msdu() 404 skb_pull(sub_skb, SNAP_SIZE); in amsdu_to_msdu()
|
D | ieee80211.h | 284 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | rtl871x_xmit.c | 580 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in r8712_put_snap() 581 return SNAP_SIZE + sizeof(u16); in r8712_put_snap()
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1283 psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; in wlanhdr_to_ethhdr() 1285 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1288 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr() 1296 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); in wlanhdr_to_ethhdr() 1580 ((!memcmp(sub_skb->data, rtw_rfc1042_header, SNAP_SIZE) && in amsdu_to_msdu() 1582 !memcmp(sub_skb->data, rtw_bridge_tunnel_header, SNAP_SIZE))) { in amsdu_to_msdu() 1584 skb_pull(sub_skb, SNAP_SIZE); in amsdu_to_msdu()
|
D | rtw_xmit.c | 1079 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in rtw_put_snap() 1081 return SNAP_SIZE + sizeof(u16); in rtw_put_snap()
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | rtw_recv.h | 23 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | ieee80211.h | 340 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 34 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | ieee80211.h | 337 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1629 psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; in wlanhdr_to_ethhdr() 1632 if ((!memcmp(psnap, rtw_rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1636 !memcmp(psnap, rtw_bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr() 1643 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr?SNAP_SIZE:0); in wlanhdr_to_ethhdr()
|
D | rtw_xmit.c | 1174 len += SNAP_SIZE + sizeof(u16); /* LLC */ in rtw_calculate_wlan_pkt_size_by_attribue() 1546 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in rtw_put_snap() 1548 return SNAP_SIZE + sizeof(u16); in rtw_put_snap()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 405 SNAP_SIZE + sizeof(u16) + in xmitframe_need_length()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 1501 offset = mac_hdr_len + SNAP_SIZE; in rtl_skb_ether_type_ptr()
|