Ipv4OptionRecordRoute
classOption structure: Record Route
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 |
---|---|---|
Ipv4Option | class | (no description) |
Fields
Name | Type | Description |
---|---|---|
nextAddressIdx | short |
type = IPOPTION_RECORD_ROUTE; type = IPOPTION_LOOSE_SOURCE_ROUTING type = IPOPTION_STRICT_SOURCE_ROUTING length = 3 + 4 * getRecordAddressArraySize(); |
recordAddress | Ipv4Address[] |
pointer = 4 + 4 * nextAddressIdx |
type | short | |
length | short |
total length of option |
Source code
// // Option structure: Record Route // class Ipv4OptionRecordRoute extends Ipv4Option { // type = IPOPTION_RECORD_ROUTE; // type = IPOPTION_LOOSE_SOURCE_ROUTING // type = IPOPTION_STRICT_SOURCE_ROUTING // length = 3 + 4 * getRecordAddressArraySize(); short nextAddressIdx; // pointer = 4 + 4 * nextAddressIdx Ipv4Address recordAddress[]; // max size is 9 }File: src/inet/networklayer/ipv4/Ipv4Header.msg