Namespace inet
Ipv4OptionRecordRoute
classOption structure: Record Route
Extends
Name | Type | Description |
---|---|---|
Ipv4Option | (unknown -- not in documented files) |
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 |
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