Ipv6FragmentHeader

Ipv6FragmentHeader

class

Fragment Header RFC 2460 Section 4.5 Next Header Value: 44

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
Ipv6ExtensionHeader class

This serves as the base class for all the Ipv6 extension headers.

Fields

Name Type Description
extensionType short
byteLength B

byteLength = n * 8;

fragmentOffset unsigned short
identification unsigned int

datagram ID: identifies which datagram this fragment belongs to.

moreFragments bool

Is this the last fragment?

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;
    unsigned short fragmentOffset;
    unsigned int identification;  // datagram ID: identifies which datagram this fragment belongs to.
    bool moreFragments; //Is this the last fragment?
}

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