Option structure: Record Route
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
IPv4Option | class | (no description) |
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 |
// // 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 }