mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9c56f20d4c
commit
3e3d47445a
11 changed files with 30 additions and 46 deletions
|
@ -24,7 +24,7 @@
|
|||
#include <drv_types.h>
|
||||
|
||||
struct pkt_file {
|
||||
_pkt *pkt;
|
||||
struct sk_buff *pkt;
|
||||
size_t pkt_len; //the remainder length of the open_file
|
||||
_buffer *cur_buffer;
|
||||
u8 *buf_start;
|
||||
|
@ -46,21 +46,21 @@ struct sta_xmit_priv;
|
|||
struct xmit_frame;
|
||||
struct xmit_buf;
|
||||
|
||||
extern int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev);
|
||||
extern int rtw_xmit_entry(struct sk_buff *pkt, _nic_hdl pnetdev);
|
||||
|
||||
void rtw_os_xmit_schedule(_adapter *padapter);
|
||||
|
||||
int rtw_os_xmit_resource_alloc(_adapter *padapter, struct xmit_buf *pxmitbuf,u32 alloc_sz);
|
||||
void rtw_os_xmit_resource_free(_adapter *padapter, struct xmit_buf *pxmitbuf,u32 free_sz);
|
||||
|
||||
extern void rtw_set_tx_chksum_offload(_pkt *pkt, struct pkt_attrib *pattrib);
|
||||
extern void rtw_set_tx_chksum_offload(struct sk_buff *pkt, struct pkt_attrib *pattrib);
|
||||
|
||||
extern uint rtw_remainder_len(struct pkt_file *pfile);
|
||||
extern void _rtw_open_pktfile(_pkt *pkt, struct pkt_file *pfile);
|
||||
extern void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile);
|
||||
extern uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen);
|
||||
extern sint rtw_endofpktfile (struct pkt_file *pfile);
|
||||
|
||||
extern void rtw_os_pkt_complete(_adapter *padapter, _pkt *pkt);
|
||||
extern void rtw_os_pkt_complete(_adapter *padapter, struct sk_buff *pkt);
|
||||
extern void rtw_os_xmit_complete(_adapter *padapter, struct xmit_frame *pxframe);
|
||||
|
||||
#endif //__XMIT_OSDEP_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue