INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:115
by nedtool.
More...
#include <IPv4Datagram_m.h>
Public Member Functions | |
IPv4OptionRecordRoute () | |
IPv4OptionRecordRoute (const IPv4OptionRecordRoute &other) | |
virtual | ~IPv4OptionRecordRoute () |
IPv4OptionRecordRoute & | operator= (const IPv4OptionRecordRoute &other) |
virtual IPv4OptionRecordRoute * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual short | getNextAddressIdx () const |
virtual void | setNextAddressIdx (short nextAddressIdx) |
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) |
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 IPv4OptionRecordRoute &) |
Protected Member Functions inherited from inet::IPv4Option | |
bool | operator== (const IPv4Option &) |
Protected Member Functions inherited from inet::TLVOptionBase | |
bool | operator== (const TLVOptionBase &) |
Protected Attributes | |
short | nextAddressIdx |
IPv4Address * | recordAddress |
unsigned int | recordAddress_arraysize |
Protected Attributes inherited from inet::TLVOptionBase | |
short | type |
short | length |
Private Member Functions | |
void | copy (const IPv4OptionRecordRoute &other) |
Class generated from inet/networklayer/ipv4/IPv4Datagram.msg:115
by nedtool.
// // 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 }
inet::IPv4OptionRecordRoute::IPv4OptionRecordRoute | ( | ) |
inet::IPv4OptionRecordRoute::IPv4OptionRecordRoute | ( | const IPv4OptionRecordRoute & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::IPv4Option.
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by getRecordAddress().
|
virtual |
IPv4OptionRecordRoute& inet::IPv4OptionRecordRoute::operator= | ( | const IPv4OptionRecordRoute & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::IPv4Option.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::IPv4Option.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |