Struct 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¶
Pointer to current payload start
variable end¶
Pointer to end of raw memory buffer
variable flags¶
Internal buffer flags
variable head¶
Pointer to start of allocated raw memory
variable next_free¶
Pointer to next free buffer in pool
variable pool¶
Pointer back to owning pool
variable ref_count¶
Reference counter
variable tail¶
Pointer to end of valid payload
The documentation for this class was generated from the following file src/syntropic/util/syn_netbuf.h