A linked buffer structure for use with TCP.
A single otLinkedBuffer structure references an array of bytes in memory, via mData and mLength. The mNext field is used to form a chain of otLinkedBuffer structures.
Public Attributes#
struct otLinkedBuffer *
Pointer to the next linked buffer in the chain, or NULL if it is the end.
const uint8_t *
Pointer to data referenced by this linked buffer.
size_t
Length of this linked buffer (number of bytes).
Public Attribute Documentation#
mNext#
struct otLinkedBuffer* otLinkedBuffer::mNext
Pointer to the next linked buffer in the chain, or NULL if it is the end.
Definition at line
65
of file include/openthread/tcp.h
mData#
const uint8_t* otLinkedBuffer::mData
Pointer to data referenced by this linked buffer.
Definition at line
66
of file include/openthread/tcp.h
mLength#
size_t otLinkedBuffer::mLength
Length of this linked buffer (number of bytes).
Definition at line
67
of file include/openthread/tcp.h