Skip to content

Struct SYN_NetBuf

ClassList > SYN_NetBuf

Zero-Copy Packet Buffer Descriptor.

  • #include <syn_netbuf.h>

Public Attributes

Type Name
uint8_t * data
uint8_t * end
uint16_t flags
uint8_t * head
struct SYN_NetBuf * next_free
void * pool
volatile uint16_t ref_count
uint8_t * tail

Public Attributes Documentation

variable data

uint8_t* SYN_NetBuf::data;

Pointer to current payload start


variable end

uint8_t* SYN_NetBuf::end;

Pointer to end of raw memory buffer


variable flags

uint16_t SYN_NetBuf::flags;

Internal buffer flags


variable head

uint8_t* SYN_NetBuf::head;

Pointer to start of allocated raw memory


variable next_free

struct SYN_NetBuf* SYN_NetBuf::next_free;

Pointer to next free buffer in pool


variable pool

void* SYN_NetBuf::pool;

Pointer back to owning pool


variable ref_count

volatile uint16_t SYN_NetBuf::ref_count;

Reference counter


variable tail

uint8_t* SYN_NetBuf::tail;

Pointer to end of valid payload



The documentation for this class was generated from the following file src/syntropic/util/syn_netbuf.h