IPv6HopByHopOptionsHeader

Namespace inet

IPv6HopByHopOptionsHeader

class

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

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

Extends

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

Fields

Name Type Description
extensionType
tlvOptions TLVOptions

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

Source code

//
// Hop-by-Hop Options Header.
// RFC 2460 Section 4.3
// Next Header Value: 0
//
//
// This serves as the base class for all the other extension headers.
//
class IPv6HopByHopOptionsHeader extends IPv6ExtensionHeader
{
    extensionType = IP_PROT_IPv6EXT_HOP;
    // byteLength = utils::roundUp(2 + tlvOptions.getLength(), 8);
    TLVOptions tlvOptions;
}

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