Ipv6FragmentHeader

Namespace inet

Ipv6FragmentHeader

class

Fragment Header RFC 2460 Section 4.5 Next Header Value: 44

Extends

Name Type Description
Ipv6ExtensionHeader (unknown -- not in documented files)

Fields

Name Type Description
extensionType
byteLength
fragmentOffset uint16_t

@bit(13), divided by 8

reserved uint8_t

@bit(2)

moreFragments bool

Is this the last fragment?

identification uint32_t

datagram ID: identifies which datagram this fragment belongs to.

Source code

//
// Fragment Header
// RFC 2460 Section 4.5
// Next Header Value: 44
//
class Ipv6FragmentHeader extends Ipv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_FRAGMENT;
    byteLength = IPv6_FRAGMENT_HEADER_LENGTH;
    uint16_t fragmentOffset;    // @bit(13), divided by 8
    uint8_t reserved = 0;    // @bit(2)
    bool moreFragments; //Is this the last fragment?
    uint32_t identification;  // datagram ID: identifies which datagram this fragment belongs to.
}

File: src/inet/networklayer/ipv6/Ipv6ExtensionHeaders.msg