File: Network/IPv4/IPDatagram.msg
C++ definition: click here
Option structure: Timestamp
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
flag | int | |
overflow | short | |
nextAddressPtr | short | |
recordAddress | IPAddress[MAX_TIMESTAMP_OPTION_ENTRIES] | |
recordTimestamp | simtime_t[MAX_IPADDR_OPTION_ENTRIES] |
class IPTimestampOption { fields: 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]; };