Option structure: Timestamp
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 |
---|---|---|
flag | int | |
overflow | short | |
nextAddressPtr | short | |
recordAddress | IPAddress[MAX_TIMESTAMP_OPTION_ENTRIES] |
use either up to 4 addresses with timestamps or only up to 9 timestamps, according to the flag |
recordTimestamp | simtime_t[MAX_IPADDR_OPTION_ENTRIES] |
// // Option structure: Timestamp // class IPTimestampOption { int flag @enum(TimestampFlag); short overflow; short nextAddressPtr; // use either up to 4 addresses with timestamps or // only up to 9 timestamps, according to the flag IPAddress recordAddress[MAX_TIMESTAMP_OPTION_ENTRIES]; simtime_t recordTimestamp[MAX_IPADDR_OPTION_ENTRIES]; }