Jump to main content

##

# 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

Members | Description
--- | ---
dataLocation | Location of the data to transmit.
segmentSize | Size of this data segment.
segmentLen | Number of bytes of data in this segment.
memory | Type: IPV6_DATA_NONE, IPV6_DATA_DYNAMIC_BUFFER, IPV6_DATA_NETWORK_FIFO, IPV6_DATA_PIC_RAM.
segmentType | Type of segment contents.
nextSegment | Pointer to the next data segment.
data | Optional buffer space.

## Remarks

None.