Class IPv6FragmentHeader

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

C++ definition

Fragment Header RFC 2460 Section 4.5 Next Header Value: 44

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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 other extension headers.

Fields:

Name Type Description
extensionType short
byteLength short

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?
}