NetBurner 3.5.6
PDF Version
pool_buffer Struct Reference

Main buffer structure for network and serial communication. More...

#include <buffers.h>

Inherits OS_FIFO_EL.

Public Attributes

VPoolPtr pPoolNext
 Pointer to next buffer in linked list.
 
VPoolPtr pPoolPrev
 Pointer to previous buffer in linked list.
 
vuint32_t dwTime
 Timestamp or checksum storage.
 
vuint32_t dwTimeFraction
 Fractional timestamp component.
 
vuint16_t usedsize
 Number of bytes currently used in pData.
 
uint8_t bBuffer_state
 Buffer ownership state (BO_* values)
 
uint8_t bBufferFlag
 Buffer state flags (BS_* values)
 
uint8_t bUsageCount
 Reference count for shared buffers.
 
uint8_t bInterfaceNumber
 Network interface number.
 
uint8_t pData [ETHER_BUFFER_SIZE]
 Buffer data payload (1548 bytes)
 

Detailed Description

Main buffer structure for network and serial communication.

The pool_buffer structure is the fundamental building block for all network and serial data transfers in the NetBurner system. Each buffer contains data payload, ownership state, and linking information for efficient memory management.


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