INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:129
by nedtool.
More...
#include <IPv4Datagram_m.h>
Public Member Functions | |
IPv4OptionTimestamp () | |
IPv4OptionTimestamp (const IPv4OptionTimestamp &other) | |
virtual | ~IPv4OptionTimestamp () |
IPv4OptionTimestamp & | operator= (const IPv4OptionTimestamp &other) |
virtual IPv4OptionTimestamp * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual int | getFlag () const |
virtual void | setFlag (int flag) |
virtual short | getOverflow () const |
virtual void | setOverflow (short overflow) |
virtual short | getNextIdx () const |
virtual void | setNextIdx (short nextIdx) |
virtual void | setRecordAddressArraySize (unsigned int size) |
virtual unsigned int | getRecordAddressArraySize () const |
virtual IPv4Address & | getRecordAddress (unsigned int k) |
virtual const IPv4Address & | getRecordAddress (unsigned int k) const |
virtual void | setRecordAddress (unsigned int k, const IPv4Address &recordAddress) |
virtual void | setRecordTimestampArraySize (unsigned int size) |
virtual unsigned int | getRecordTimestampArraySize () const |
virtual ::omnetpp::simtime_t | getRecordTimestamp (unsigned int k) const |
virtual void | setRecordTimestamp (unsigned int k,::omnetpp::simtime_t recordTimestamp) |
Public Member Functions inherited from inet::IPv4Option | |
IPv4Option () | |
IPv4Option (const IPv4Option &other) | |
virtual | ~IPv4Option () |
IPv4Option & | operator= (const IPv4Option &other) |
Public Member Functions inherited from inet::TLVOptionBase | |
TLVOptionBase () | |
TLVOptionBase (const TLVOptionBase &other) | |
virtual | ~TLVOptionBase () |
TLVOptionBase & | operator= (const TLVOptionBase &other) |
virtual short | getType () const |
virtual void | setType (short type) |
virtual short | getLength () const |
virtual void | setLength (short length) |
Protected Member Functions | |
bool | operator== (const IPv4OptionTimestamp &) |
Protected Member Functions inherited from inet::IPv4Option | |
bool | operator== (const IPv4Option &) |
Protected Member Functions inherited from inet::TLVOptionBase | |
bool | operator== (const TLVOptionBase &) |
Protected Attributes | |
int | flag |
short | overflow |
short | nextIdx |
IPv4Address * | recordAddress |
unsigned int | recordAddress_arraysize |
::omnetpp::simtime_t * | recordTimestamp |
unsigned int | recordTimestamp_arraysize |
Protected Attributes inherited from inet::TLVOptionBase | |
short | type |
short | length |
Private Member Functions | |
void | copy (const IPv4OptionTimestamp &other) |
Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:129
by nedtool.
// // Option structure: Timestamp // class IPv4OptionTimestamp extends IPv4Option { type = IPOPTION_TIMESTAMP; // length = 4 + 4 * getRecordAddressArraySize() + 4 * getRecordTimestampArraySize(); int flag @enum(TimestampFlag); short overflow; short nextIdx; // pointer = 5 + (flag == IP_TIMESTAMP_TIMESTAMP_ONLY ? 4 : 8) * nextIdx
// use either up to 4 addresses with timestamps or // only up to 9 timestamps, according to the flag IPv4Address recordAddress[]; simtime_t recordTimestamp[]; }
inet::IPv4OptionTimestamp::IPv4OptionTimestamp | ( | ) |
inet::IPv4OptionTimestamp::IPv4OptionTimestamp | ( | const IPv4OptionTimestamp & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::IPv4Option.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by getRecordAddress().
|
virtual |
virtual ::omnetpp::simtime_t inet::IPv4OptionTimestamp::getRecordTimestamp | ( | unsigned int | k | ) | const |
|
virtual |
IPv4OptionTimestamp& inet::IPv4OptionTimestamp::operator= | ( | const IPv4OptionTimestamp & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::IPv4Option.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::IPv4Option.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |