RetroArch
Public Attributes | List of all members
pbuf Struct Reference

#include <pbuf.h>

Collaboration diagram for pbuf:
[legend]

Public Attributes

struct pbufnext
 
voidpayload
 
u16_t tot_len
 
u16_t len
 
u16_t flags
 
u16_t ref
 

Member Data Documentation

◆ flags

u16_t pbuf::flags

flags telling the type of pbuf, see PBUF_FLAG_

◆ len

u16_t pbuf::len

length of this buffer

◆ next

struct pbuf * pbuf::next

next pbuf in singly linked pbuf chain

◆ payload

void * pbuf::payload

pointer to the actual data in the buffer

◆ ref

u16_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.

◆ tot_len

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)


The documentation for this struct was generated from the following files: