• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2019 Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  *****************************************************************************/
15 #ifndef __RTW_MEM_H__
16 #define __RTW_MEM_H__
17 
18 #include <drv_conf.h>
19 #include <basic_types.h>
20 #include <osdep_service.h>
21 
22 u16 rtw_rtkm_get_buff_size(void);
23 u8 rtw_rtkm_get_nr_recv_skb(void);
24 struct u8 *rtw_alloc_revcbuf_premem(void);
25 struct sk_buff *rtw_alloc_skb_premem(u16 in_size);
26 int rtw_free_skb_premem(struct sk_buff *pskb);
27 
28 
29 #endif /* __RTW_MEM_H__ */
30