Searched refs:sub_skb (Results 1 – 1 of 1) sorted by relevance
56 struct sk_buff *sub_skb; in rtw_os_alloc_msdu_pkt() local61 sub_skb = rtw_skb_alloc(nSubframe_Length + 12); in rtw_os_alloc_msdu_pkt()62 if (!sub_skb) in rtw_os_alloc_msdu_pkt()65 skb_reserve(sub_skb, 12); in rtw_os_alloc_msdu_pkt()66 skb_put_data(sub_skb, (pdata + ETH_HLEN), nSubframe_Length); in rtw_os_alloc_msdu_pkt()68 eth_type = get_unaligned_be16(&sub_skb->data[6]); in rtw_os_alloc_msdu_pkt()70 if (sub_skb->len >= 8 && in rtw_os_alloc_msdu_pkt()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()[all …]