INET Framework for OMNeT++/OMNEST
|
Class generated from inet/applications/dhcp/DHCPMessage.msg:74
by nedtool.
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 int | getMessageType () const |
virtual void | setMessageType (int messageType) |
virtual const char * | getHostName () const |
virtual void | setHostName (const char *hostName) |
virtual void | setParameterRequestListArraySize (unsigned int size) |
virtual unsigned int | getParameterRequestListArraySize () const |
virtual int | getParameterRequestList (unsigned int k) const |
virtual void | setParameterRequestList (unsigned int k, int parameterRequestList) |
virtual MACAddress & | getClientIdentifier () |
virtual const MACAddress & | getClientIdentifier () const |
virtual void | setClientIdentifier (const MACAddress &clientIdentifier) |
virtual IPv4Address & | getRequestedIp () |
virtual const IPv4Address & | getRequestedIp () const |
virtual void | setRequestedIp (const IPv4Address &requestedIp) |
virtual IPv4Address & | getSubnetMask () |
virtual const IPv4Address & | getSubnetMask () const |
virtual void | setSubnetMask (const IPv4Address &subnetMask) |
virtual void | setRouterArraySize (unsigned int size) |
virtual unsigned int | getRouterArraySize () const |
virtual IPv4Address & | getRouter (unsigned int k) |
virtual const IPv4Address & | getRouter (unsigned int k) const |
virtual void | setRouter (unsigned int k, const IPv4Address &router) |
virtual void | setDnsArraySize (unsigned int size) |
virtual unsigned int | getDnsArraySize () const |
virtual IPv4Address & | getDns (unsigned int k) |
virtual const IPv4Address & | getDns (unsigned int k) const |
virtual void | setDns (unsigned int k, const IPv4Address &dns) |
virtual void | setNtpArraySize (unsigned int size) |
virtual unsigned int | getNtpArraySize () const |
virtual IPv4Address & | getNtp (unsigned int k) |
virtual const IPv4Address & | getNtp (unsigned int k) const |
virtual void | setNtp (unsigned int k, const IPv4Address &ntp) |
virtual IPv4Address & | getServerIdentifier () |
virtual const IPv4Address & | getServerIdentifier () const |
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 &) |
Protected Attributes | |
int | messageType |
::omnetpp::opp_string | hostName |
int * | parameterRequestList |
unsigned int | parameterRequestList_arraysize |
MACAddress | clientIdentifier |
IPv4Address | requestedIp |
IPv4Address | subnetMask |
IPv4Address * | router |
unsigned int | router_arraysize |
IPv4Address * | dns |
unsigned int | dns_arraysize |
IPv4Address * | ntp |
unsigned int | ntp_arraysize |
IPv4Address | serverIdentifier |
::omnetpp::simtime_t | renewalTime |
::omnetpp::simtime_t | rebindingTime |
::omnetpp::simtime_t | leaseTime |
Private Member Functions | |
void | copy (const DHCPOptions &other) |
Class generated from inet/applications/dhcp/DHCPMessage.msg:74
by nedtool.
// // 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 { int messageType @enum(DHCPMessageType); // to convey the type of the DHCP message string hostName; // name of the client int 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 |
|
private |
|
inlineoverridevirtual |
|
virtual |
|
inlinevirtual |
Referenced by getClientIdentifier().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
inlinevirtual |
Referenced by getDns().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
virtual |
virtual ::omnetpp::simtime_t inet::DHCPOptions::getLeaseTime | ( | ) | const |
Referenced by inet::DHCPClient::recordLease().
|
virtual |
Referenced by inet::DHCPClient::handleDHCPMessage(), and inet::DHCPServer::processDHCPMessage().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
inlinevirtual |
Referenced by getNtp().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
virtual |
|
virtual |
virtual ::omnetpp::simtime_t inet::DHCPOptions::getRebindingTime | ( | ) | const |
Referenced by inet::DHCPClient::recordLease().
virtual ::omnetpp::simtime_t inet::DHCPOptions::getRenewalTime | ( | ) | const |
Referenced by inet::DHCPClient::recordLease().
|
virtual |
Referenced by inet::DHCPServer::processDHCPMessage().
|
inlinevirtual |
Referenced by getRequestedIp().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
inlinevirtual |
Referenced by getRouter().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
virtual |
Referenced by inet::DHCPServer::processDHCPMessage(), and inet::DHCPClient::recordOffer().
|
inlinevirtual |
Referenced by getServerIdentifier().
|
virtual |
Referenced by inet::DHCPClient::recordLease().
|
inlinevirtual |
Referenced by getSubnetMask().
DHCPOptions& inet::DHCPOptions::operator= | ( | const DHCPOptions & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::DHCPClient::sendDiscover(), and inet::DHCPClient::sendRequest().
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::DHCPClient::sendDiscover(), and inet::DHCPClient::sendRequest().
|
virtual |
Referenced by inet::DHCPClient::sendDiscover(), and inet::DHCPClient::sendRequest().
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
virtual |
|
virtual |
Referenced by inet::DHCPServer::sendACK(), and inet::DHCPServer::sendOffer().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |