ReactOS 0.4.16-dev-981-g80eb313
|
#include <pbuf.h>
Public Attributes | |
struct pbuf * | next |
void * | payload |
u16_t | tot_len |
u16_t | len |
u8_t | type_internal |
u8_t | flags |
LWIP_PBUF_REF_T | ref |
u8_t | if_idx |
u8_t pbuf::if_idx |
u16_t pbuf::len |
length of this buffer
Definition at line 203 of file pbuf.h.
Referenced by lwip_tx_func(), pbuf_copy_partial_pbuf(), and START_TEST().
next pbuf in singly linked pbuf chain
Definition at line 188 of file pbuf.h.
Referenced by lwip_tx_func(), pbuf_copy_partial_pbuf(), and START_TEST().
void* pbuf::payload |
pointer to the actual data in the buffer
Definition at line 191 of file pbuf.h.
Referenced by lwip_tx_func(), pbuf_add_header_impl(), pbuf_alloc_reference(), pbuf_copy_partial_pbuf(), and pbuf_remove_header().
LWIP_PBUF_REF_T pbuf::ref |
the reference count always equals the number of pointers that refer to this pbuf. This can be pointers from an application, the stack itself, or pbuf->next pointers from a chain.
Definition at line 218 of file pbuf.h.
Referenced by pbuf_free(), and START_TEST().
u16_t pbuf::tot_len |
total length of this buffer and all next buffers in chain belonging to the same packet.
For non-queue packet chains this is the invariant: p->tot_len == p->len + (p->next? p->next->tot_len: 0)
Definition at line 200 of file pbuf.h.
Referenced by pbuf_copy(), pbuf_copy_partial_pbuf(), and START_TEST().
u8_t pbuf::type_internal |
a bit field indicating pbuf type and allocation sources (see PBUF_TYPE_FLAG_*, PBUF_ALLOC_FLAG_* and PBUF_TYPE_ALLOC_SRC_MASK)
Definition at line 208 of file pbuf.h.
Referenced by pbuf_add_header_impl().