IPV6_DATA_SEGMENT_HEADER Structure

C

typedef struct _IPV6_DATA_SEGMENT_HEADER {
uint8_t* dataLocation;
unsigned short segmentSize;
unsigned short segmentLen;
unsigned char memory;
unsigned char segmentType;
struct _IPV6_DATA_SEGMENT_HEADER * nextSegment;
void * data[];
} IPV6_DATA_SEGMENT_HEADER;

Description

Structure : IPV6_DATA_SEGMENT_HEADER.

Data structure is used to allocate a data segment header and an optional payload.

Members

MembersDescription
dataLocationLocation of the data to transmit.
segmentSizeSize of this data segment.
segmentLenNumber of bytes of data in this segment.
memoryType: IPV6_DATA_NONE, IPV6_DATA_DYNAMIC_BUFFER, IPV6_DATA_NETWORK_FIFO, IPV6_DATA_PIC_RAM.
segmentTypeType of segment contents.
nextSegmentPointer to the next data segment.
dataOptional buffer space.

Remarks

None.