|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/applications/dhcp/DhcpMessage.msg:72 by opp_msgtool.
More...
#include <DhcpMessage_m.h>
Public Member Functions | |
| DhcpOptions () | |
| DhcpOptions (const DhcpOptions &other) | |
| virtual | ~DhcpOptions () |
| DhcpOptions & | operator= (const DhcpOptions &other) |
| virtual DhcpOptions * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual DhcpMessageType | getMessageType () const |
| virtual void | setMessageType (DhcpMessageType messageType) |
| virtual const char * | getHostName () const |
| virtual void | setHostName (const char *hostName) |
| virtual void | setParameterRequestListArraySize (size_t size) |
| virtual size_t | getParameterRequestListArraySize () const |
| virtual DhcpOptionCode | getParameterRequestList (size_t k) const |
| virtual void | setParameterRequestList (size_t k, DhcpOptionCode parameterRequestList) |
| virtual void | insertParameterRequestList (size_t k, DhcpOptionCode parameterRequestList) |
| void | insertParameterRequestList (DhcpOptionCode parameterRequestList) |
| virtual void | appendParameterRequestList (DhcpOptionCode parameterRequestList) |
| virtual void | eraseParameterRequestList (size_t k) |
| virtual const MacAddress & | getClientIdentifier () const |
| virtual MacAddress & | getClientIdentifierForUpdate () |
| virtual void | setClientIdentifier (const MacAddress &clientIdentifier) |
| virtual const Ipv4Address & | getRequestedIp () const |
| virtual Ipv4Address & | getRequestedIpForUpdate () |
| virtual void | setRequestedIp (const Ipv4Address &requestedIp) |
| virtual const Ipv4Address & | getSubnetMask () const |
| virtual Ipv4Address & | getSubnetMaskForUpdate () |
| virtual void | setSubnetMask (const Ipv4Address &subnetMask) |
| virtual void | setRouterArraySize (size_t size) |
| virtual size_t | getRouterArraySize () const |
| virtual const Ipv4Address & | getRouter (size_t k) const |
| virtual Ipv4Address & | getRouterForUpdate (size_t k) |
| virtual void | setRouter (size_t k, const Ipv4Address &router) |
| virtual void | insertRouter (size_t k, const Ipv4Address &router) |
| void | insertRouter (const Ipv4Address &router) |
| virtual void | appendRouter (const Ipv4Address &router) |
| virtual void | eraseRouter (size_t k) |
| virtual void | setDnsArraySize (size_t size) |
| virtual size_t | getDnsArraySize () const |
| virtual const Ipv4Address & | getDns (size_t k) const |
| virtual Ipv4Address & | getDnsForUpdate (size_t k) |
| virtual void | setDns (size_t k, const Ipv4Address &dns) |
| virtual void | insertDns (size_t k, const Ipv4Address &dns) |
| void | insertDns (const Ipv4Address &dns) |
| virtual void | appendDns (const Ipv4Address &dns) |
| virtual void | eraseDns (size_t k) |
| virtual void | setNtpArraySize (size_t size) |
| virtual size_t | getNtpArraySize () const |
| virtual const Ipv4Address & | getNtp (size_t k) const |
| virtual Ipv4Address & | getNtpForUpdate (size_t k) |
| virtual void | setNtp (size_t k, const Ipv4Address &ntp) |
| virtual void | insertNtp (size_t k, const Ipv4Address &ntp) |
| void | insertNtp (const Ipv4Address &ntp) |
| virtual void | appendNtp (const Ipv4Address &ntp) |
| virtual void | eraseNtp (size_t k) |
| virtual const Ipv4Address & | getServerIdentifier () const |
| virtual Ipv4Address & | getServerIdentifierForUpdate () |
| virtual void | setServerIdentifier (const Ipv4Address &serverIdentifier) |
| virtual ::omnetpp::simtime_t | getRenewalTime () const |
| virtual void | setRenewalTime (::omnetpp::simtime_t renewalTime) |
| virtual ::omnetpp::simtime_t | getRebindingTime () const |
| virtual void | setRebindingTime (::omnetpp::simtime_t rebindingTime) |
| virtual ::omnetpp::simtime_t | getLeaseTime () const |
| virtual void | setLeaseTime (::omnetpp::simtime_t leaseTime) |
Protected Member Functions | |
| bool | operator== (const DhcpOptions &)=delete |
Protected Attributes | |
| DhcpMessageType | messageType = static_cast<inet::DhcpMessageType>(-1) |
| ::omnetpp::opp_string | hostName |
| DhcpOptionCode * | parameterRequestList = nullptr |
| size_t | parameterRequestList_arraysize = 0 |
| MacAddress | clientIdentifier |
| Ipv4Address | requestedIp |
| Ipv4Address | subnetMask |
| Ipv4Address * | router = nullptr |
| size_t | router_arraysize = 0 |
| Ipv4Address * | dns = nullptr |
| size_t | dns_arraysize = 0 |
| Ipv4Address * | ntp = nullptr |
| size_t | ntp_arraysize = 0 |
| Ipv4Address | serverIdentifier |
| ::omnetpp::simtime_t | renewalTime = SIMTIME_ZERO |
| ::omnetpp::simtime_t | rebindingTime = SIMTIME_ZERO |
| ::omnetpp::simtime_t | leaseTime = SIMTIME_ZERO |
Private Member Functions | |
| void | copy (const DhcpOptions &other) |
Class generated from inet/applications/dhcp/DhcpMessage.msg:72 by opp_msgtool.
// // Represents options in a DHCP message. In the DHCP protocol, options are // added to the message as tagged data items. In the simulation, this DhcpOptions // class statically holds the union of all options actually used by the DHCP // protocol models. Options absent from a packet are represented by empty/unfilled // DhcpOptions fields. // // @see DhcpMessage, DhcpClient, DhcpServer // class DhcpOptions extends cObject { @packetData; DhcpMessageType messageType; // to convey the type of the DHCP message string hostName; // name of the client DhcpOptionCode parameterRequestList[]; // used by a DHCP client to request values for specified configuration parameters MacAddress clientIdentifier; // used by DHCP clients to specify their unique identifier Ipv4Address requestedIp; // used in a client request (DHCPDISCOVER) to allow the client to request that a particular IP address be assigned Ipv4Address subnetMask; // client's subnet mask Ipv4Address router[]; // IP addresses for routers on the client's subnet Ipv4Address dns[]; // list of DNSs available to the client Ipv4Address ntp[]; // list of IP addresses indicating NTP servers available to the client Ipv4Address serverIdentifier; // client use this field as the destination address for any unicast DHCP messages to the server simtime_t renewalTime; // time interval (T1) from address assignment until the client transitions to the RENEWING state simtime_t rebindingTime; // time interval (T2) from address assignment until the client transitions to the REBINDING state simtime_t leaseTime; // request for lease time (client), offered lease time (server) }
| inet::DhcpOptions::DhcpOptions | ( | ) |
| inet::DhcpOptions::DhcpOptions | ( | const DhcpOptions & | other | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
| virtual ::omnetpp::simtime_t inet::DhcpOptions::getLeaseTime | ( | ) | const |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpClient::handleDhcpMessage(), and inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
| virtual ::omnetpp::simtime_t inet::DhcpOptions::getRebindingTime | ( | ) | const |
Referenced by inet::DhcpMessageSerializer::serialize().
| virtual ::omnetpp::simtime_t inet::DhcpOptions::getRenewalTime | ( | ) | const |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
virtual |
Referenced by inet::DhcpMessageSerializer::serialize().
|
inlinevirtual |
|
inline |
|
virtual |
|
inline |
|
virtual |
|
inline |
|
virtual |
|
inline |
|
virtual |
| DhcpOptions& inet::DhcpOptions::operator= | ( | const DhcpOptions & | other | ) |
|
protecteddelete |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
virtual |
Referenced by inet::DhcpMessageSerializer::deserialize().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |