Class IPv6ExtensionHeader

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

C++ definition

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

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.

Known subclasses:

Name Type Description
IPv6AuthenticationHeader class

Authentication Header RFC 2402 Not Implemented

IPv6DestinationOptionsHeader class

Destination Options Header RFC 2460 Section 4.6 Next Header Value: 60

IPv6EncapsulatingSecurityPayloadHeader class

Encapsulating Security Payload Header RFC 2406 Not Implemented

IPv6FragmentHeader class

Fragment Header RFC 2460 Section 4.5 Next Header Value: 44

IPv6HopByHopOptionsHeader class

Hop-by-Hop Options Header. RFC 2460 Section 4.3 Next Header Value: 0

IPv6RoutingHeader class

Routing Header RFC 2460 Section 4.4 Next Header Value: 43

Fields:

Name Type Description
extensionType short
byteLength short

byteLength = n * 8;

Source code:

//
// This serves as the base class for all the other extension headers.
//
class IPv6ExtensionHeader
{
    short extensionType;
    short byteLength = 0;   // byteLength = n * 8;
}