/drivers/net/wireless/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() 490 (skb_frag, SNAP_SIZE + sizeof(u16)), in libipw_xmit() 492 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
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_tx.c | 176 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); in ieee80211_put_snap() 178 return SNAP_SIZE + sizeof(u16); in ieee80211_put_snap() 343 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in ieee80211_rtl_xmit() 365 sizeof(struct ethhdr) - SNAP_SIZE - sizeof(u16)); in ieee80211_rtl_xmit() 379 bytes = skb->len + SNAP_SIZE + sizeof(u16); in ieee80211_rtl_xmit() 505 skb_put(skb_frag, SNAP_SIZE + sizeof(u16)), in ieee80211_rtl_xmit() 507 bytes -= SNAP_SIZE + sizeof(u16); in ieee80211_rtl_xmit()
|
D | ieee80211_rx.c | 736 ((memcmp(payload, rfc1042_header, SNAP_SIZE) == 0 && in ieee80211_rtl_rx() 738 memcmp(payload, bridge_tunnel_header, SNAP_SIZE) == 0)) { in ieee80211_rtl_rx() 741 skb_pull(skb, hdrlen + SNAP_SIZE); in ieee80211_rtl_rx()
|
D | ieee80211.h | 248 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 176 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); in ieee80211_put_snap() 178 return SNAP_SIZE + sizeof(u16); in ieee80211_put_snap() 627 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in ieee80211_xmit() 649 sizeof(struct ethhdr) - SNAP_SIZE - sizeof(u16)); in ieee80211_xmit() 663 bytes = skb->len + SNAP_SIZE + sizeof(u16); in ieee80211_xmit() 810 skb_put(skb_frag, SNAP_SIZE + sizeof(u16)), in ieee80211_xmit() 812 bytes -= SNAP_SIZE + sizeof(u16); in ieee80211_xmit()
|
D | ieee80211_rx.c | 567 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in ieee80211_indicate_packets() 569 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in ieee80211_indicate_packets() 572 skb_pull(sub_skb, SNAP_SIZE); in ieee80211_indicate_packets() 1330 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in ieee80211_rx() 1332 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in ieee80211_rx() 1335 skb_pull(sub_skb, SNAP_SIZE); in ieee80211_rx()
|
D | ieee80211.h | 678 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 174 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); in rtllib_put_snap() 176 return SNAP_SIZE + sizeof(u16); in rtllib_put_snap() 591 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in rtllib_xmit_inter() 657 sizeof(struct ethhdr) - SNAP_SIZE - in rtllib_xmit_inter() 667 bytes = skb->len + SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter() 826 skb_put(skb_frag, SNAP_SIZE + in rtllib_xmit_inter() 828 bytes -= SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter()
|
D | rtllib_rx.c | 482 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in rtllib_indicate_packets() 484 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in rtllib_indicate_packets() 487 skb_pull(sub_skb, SNAP_SIZE); in rtllib_indicate_packets() 1213 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in rtllib_rx_indicate_pkt_legacy() 1215 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in rtllib_rx_indicate_pkt_legacy() 1218 skb_pull(sub_skb, SNAP_SIZE); in rtllib_rx_indicate_pkt_legacy()
|
D | rtllib.h | 838 #define SNAP_SIZE sizeof(struct rtllib_snap_hdr) macro
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 621 psnap_type = ptr + pattrib->hdrlen + pattrib->iv_len + SNAP_SIZE; in r8712_wlanhdr_to_ethhdr() 623 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() 626 !memcmp(psnap, (void *)bridge_tunnel_header, SNAP_SIZE)) { in r8712_wlanhdr_to_ethhdr() 635 (bsnaphdr ? SNAP_SIZE : 0); in r8712_wlanhdr_to_ethhdr()
|
D | rtl871x_recv.h | 14 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | rtl8712_recv.c | 403 ((!memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) && in amsdu_to_msdu() 405 !memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE))) { in amsdu_to_msdu() 408 skb_pull(sub_skb, SNAP_SIZE); in amsdu_to_msdu()
|
D | ieee80211.h | 291 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | rtl871x_xmit.c | 570 *(u16 *)(data + SNAP_SIZE) = htons(h_proto); in r8712_put_snap() 571 return SNAP_SIZE + sizeof(u16); in r8712_put_snap()
|
/drivers/net/wireless/rtlwifi/ |
D | base.c | 1071 SNAP_SIZE + PROTOC_TYPE_SIZE); in rtl_is_special_data() 1072 ether_type = *(u16 *) ((u8 *) skb->data + mac_hdr_len + SNAP_SIZE); in rtl_is_special_data()
|
D | wifi.h | 85 #define SNAP_SIZE 6 macro
|