Jump to main content

##

# IPV6_RX_FRAGMENT_BUFFER Structure

## C

    typedef struct _IPV6_RX_FRAGMENT_BUFFER {
    struct _IPV6_RX_FRAGMENT_BUFFER * next;
    uint8_t * ptrPacket;
    uint32_t identification;
    uint16_t bytesInPacket;
    uint16_t packetSize;
    uint16_t firstFragmentLength;
    uint8_t secondsRemaining;
    } IPV6_RX_FRAGMENT_BUFFER;

## Description

Structure: IPV6_RX_FRAGMENT_BUFFER.

Each fragment is composed of unfragmentable parts and fragmentable parts. Allocate memory for the fragmented packet w.r.t to TCPIP_IPV6_RX_FRAGMENTED_BUFFER_SIZE. The RFC specifies that the fragments must be reassembled in one minute or less. secondsRemaining is the times remaining for reassemble.

## Members

Members | Description
--- | ---
next | Next fragmented packet.
ptrPacket | Packet information.
identification | Fragment ID.
bytesInPacket | Number of bytes written to a packet.
packetSize | Packet size (packet is complete when this matches bytesInPacket).
firstFragmentLength | Length of the first fragment.
secondsRemaining | Number of seconds remaining during which the fragment can be reassembled.

## Remarks

None.