mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-25 14:44:09 +00:00
Replace typedef _buffer
This commit is contained in:
parent
dd687defb0
commit
82ccf5f8f4
@ -778,9 +778,9 @@ __inline static u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
__inline static _buffer *get_rxbuf_desc(union recv_frame *precvframe)
|
__inline static unsigned char *get_rxbuf_desc(union recv_frame *precvframe)
|
||||||
{
|
{
|
||||||
_buffer *buf_desc;
|
unsigned char *buf_desc;
|
||||||
|
|
||||||
if (precvframe == NULL)
|
if (precvframe == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -808,7 +808,7 @@ __inline static union recv_frame *pkt_to_recvframe(struct sk_buff *pkt)
|
|||||||
u8 *buf_star;
|
u8 *buf_star;
|
||||||
union recv_frame *precv_frame;
|
union recv_frame *precv_frame;
|
||||||
#ifdef PLATFORM_WINDOWS
|
#ifdef PLATFORM_WINDOWS
|
||||||
_buffer *buf_desc;
|
unsigned char *buf_desc;
|
||||||
uint len;
|
uint len;
|
||||||
|
|
||||||
NdisQueryPacket(pkt, NULL, NULL, &buf_desc, &len);
|
NdisQueryPacket(pkt, NULL, NULL, &buf_desc, &len);
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
struct pkt_file {
|
struct pkt_file {
|
||||||
struct sk_buff *pkt;
|
struct sk_buff *pkt;
|
||||||
SIZE_T pkt_len; /* the remainder length of the open_file */
|
SIZE_T pkt_len; /* the remainder length of the open_file */
|
||||||
_buffer *cur_buffer;
|
unsigned char *cur_buffer;
|
||||||
u8 *buf_start;
|
u8 *buf_start;
|
||||||
u8 *cur_addr;
|
u8 *cur_addr;
|
||||||
SIZE_T buf_len;
|
SIZE_T buf_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user