PDK API Guide for J721E
BufPool_Buf Struct Reference

Detailed Description

Fixed size data buffer.

Data Fields

uint8_t payload [ETH_FRAME_SIZE]
 
uint16_t payloadLen
 
int16_t refCount
 
int16_t isUsed
 
uint32_t poolId
 
uint8_t pad [8]
 

Field Documentation

◆ payload

uint8_t BufPool_Buf::payload[ETH_FRAME_SIZE]

Data buffer

◆ payloadLen

uint16_t BufPool_Buf::payloadLen

Valid payload length

◆ refCount

int16_t BufPool_Buf::refCount

Reference count: 0 means the buffer is free

◆ isUsed

int16_t BufPool_Buf::isUsed

Is buffer in use (1) or free (0)

◆ poolId

uint32_t BufPool_Buf::poolId

Pool ID to which this buffer belongs

◆ pad

uint8_t BufPool_Buf::pad[8]

Padding to keep the buffer size 128 byte aligned