Google is committed to advancing racial equity for Black communities. See how.

otLinkedBuffer

#include <tcp.h>

A linked buffer structure for use with TCP.

Summary

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

mData
const uint8_t *
Pointer to data referenced by this linked buffer.
mLength
uint16_t
Length of this linked buffer (number of bytes).
mNext
struct otLinkedBuffer *
Pointer to the next linked buffer in the chain, or NULL if it is the end.

Public attributes

mData

const uint8_t * otLinkedBuffer::mData

Pointer to data referenced by this linked buffer.

mLength

uint16_t otLinkedBuffer::mLength

Length of this linked buffer (number of bytes).

mNext

struct otLinkedBuffer * otLinkedBuffer::mNext

Pointer to the next linked buffer in the chain, or NULL if it is the end.