Ipv6HopByHopOptionsHeader

Ipv6HopByHopOptionsHeader

class

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

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

Fields

Name Type Description
extensionType short
tlvOptions TlvOptions

byteLength = utils::roundUp(2 + tlvOptions.getLength(), 8);

byteLength B

byteLength = n * 8;

Source code

//
// Hop-by-Hop Options Header.
// RFC 2460 Section 4.3
// Next Header Value: 0
//
class Ipv6HopByHopOptionsHeader extends Ipv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_HOP;
    // byteLength = utils::roundUp(2 + tlvOptions.getLength(), 8);
    TlvOptions tlvOptions;
}

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