/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_tx.c | 133 memcpy(data + SNAP_SIZE, &h_proto, sizeof(u16)); in libipw_copy_snap() 135 return SNAP_SIZE + sizeof(u16); in libipw_copy_snap() 274 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in libipw_xmit() 333 bytes = skb->len + SNAP_SIZE + sizeof(u16); in libipw_xmit() 349 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit() 472 (skb_frag, SNAP_SIZE + sizeof(u16)), in libipw_xmit() 474 bytes -= SNAP_SIZE + sizeof(u16); in libipw_xmit()
|
D | libipw_rx.c | 736 ((memcmp(payload, libipw_rfc1042_header, SNAP_SIZE) == 0 && in libipw_rx() 738 memcmp(payload, libipw_bridge_tunnel_header, SNAP_SIZE) == 0)) { in libipw_rx() 741 skb_pull(skb, hdrlen + SNAP_SIZE); in libipw_rx()
|
D | libipw.h | 146 #define SNAP_SIZE sizeof(struct libipw_snap_hdr) macro
|
/linux-6.12.1/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 152 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in rtllib_put_snap() 154 return SNAP_SIZE + sizeof(u16); in rtllib_put_snap() 556 if (unlikely(skb->len < SNAP_SIZE + sizeof(u16))) { in rtllib_xmit_inter() 619 sizeof(struct ethhdr) - SNAP_SIZE - in rtllib_xmit_inter() 630 bytes = skb->len + SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter() 785 SNAP_SIZE + in rtllib_xmit_inter() 787 bytes -= SNAP_SIZE + sizeof(u16); in rtllib_xmit_inter()
|
D | rtllib_rx.c | 447 SNAP_SIZE) == 0 && in rtllib_indicate_packets() 451 SNAP_SIZE) == 0)) { in rtllib_indicate_packets() 455 skb_pull(sub_skb, SNAP_SIZE); in rtllib_indicate_packets() 1178 ((memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) == 0 && in rtllib_rx_indicate_pkt_legacy() 1180 memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE) == 0)) { in rtllib_rx_indicate_pkt_legacy() 1184 skb_pull(sub_skb, SNAP_SIZE); in rtllib_rx_indicate_pkt_legacy()
|
D | rtllib.h | 408 #define SNAP_SIZE sizeof(struct rtllib_snap_hdr) macro
|
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 71 ((!memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) && in rtw_os_alloc_msdu_pkt() 73 !memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE))) { in rtw_os_alloc_msdu_pkt() 78 skb_pull(sub_skb, SNAP_SIZE); in rtw_os_alloc_msdu_pkt()
|
/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 604 psnap_type = ptr + pattrib->hdrlen + pattrib->iv_len + SNAP_SIZE; 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() 619 (bsnaphdr ? SNAP_SIZE : 0); in r8712_wlanhdr_to_ethhdr()
|
D | ieee80211.h | 116 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | rtl8712_recv.c | 369 ((!memcmp(sub_skb->data, rfc1042_header, SNAP_SIZE) && in amsdu_to_msdu() 371 !memcmp(sub_skb->data, bridge_tunnel_header, SNAP_SIZE))) { in amsdu_to_msdu() 375 skb_pull(sub_skb, SNAP_SIZE); in amsdu_to_msdu()
|
D | rtl871x_xmit.c | 585 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in r8712_put_snap() 586 return SNAP_SIZE + sizeof(u16); in r8712_put_snap()
|
/linux-6.12.1/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 22 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
D | ieee80211.h | 280 #define SNAP_SIZE sizeof(struct ieee80211_snap_hdr) macro
|
/linux-6.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 1517 psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; in wlanhdr_to_ethhdr() 1520 if ((!memcmp(psnap, rfc1042_header, SNAP_SIZE) && in wlanhdr_to_ethhdr() 1524 !memcmp(psnap, bridge_tunnel_header, SNAP_SIZE)) { in wlanhdr_to_ethhdr() 1531 rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr?SNAP_SIZE:0); in wlanhdr_to_ethhdr()
|
D | rtw_xmit.c | 1002 len += SNAP_SIZE + sizeof(u16); /* LLC */ in rtw_calculate_wlan_pkt_size_by_attribue() 1325 *(__be16 *)(data + SNAP_SIZE) = htons(h_proto); in rtw_put_snap() 1327 return SNAP_SIZE + sizeof(u16); in rtw_put_snap()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 95 #define SNAP_SIZE 6 macro
|
D | base.c | 1475 offset = mac_hdr_len + SNAP_SIZE; in rtl_skb_ether_type_ptr()
|