Class IPv6RoutingHeader

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

C++ definition

Routing Header RFC 2460 Section 4.4 Next Header Value: 43

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;

routingType uint8

byteLength = 8+16*getAddressArraySize() when routingType == 0

segmentsLeft uint8
address IPv6Address[]

Source code:

//
// Routing Header
// RFC 2460 Section 4.4
// Next Header Value: 43
//
class IPv6RoutingHeader extends IPv6ExtensionHeader
{
    @customize(true);
    extensionType = IP_PROT_IPv6EXT_ROUTING;
    byteLength = 8;
    //byteLength = 8+16*getAddressArraySize() when routingType == 0
    uint8 routingType;
    uint8 segmentsLeft;
    IPv6Address address[];
}