Ipv6RoutingHeader
classRouting 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 Ipv6 extension headers. |
Fields
Name | Type | Description |
---|---|---|
extensionType | short | |
byteLength | B |
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 { extensionType = IP_PROT_IPv6EXT_ROUTING; byteLength = B(8); //byteLength = 8+16*getAddressArraySize() when routingType == 0 uint8 routingType; uint8 segmentsLeft; Ipv6Address address[]; }File: src/inet/networklayer/ipv6/Ipv6ExtensionHeaders.msg