INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/ospfv2/OSPFPacket.msg:67
by nedtool.
More...
#include <OSPFPacket_m.h>
Public Member Functions | |
OSPFHelloPacket (const char *name=nullptr, short kind=0) | |
OSPFHelloPacket (const OSPFHelloPacket &other) | |
virtual | ~OSPFHelloPacket () |
OSPFHelloPacket & | operator= (const OSPFHelloPacket &other) |
virtual OSPFHelloPacket * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual IPv4Address & | getNetworkMask () |
virtual const IPv4Address & | getNetworkMask () const |
virtual void | setNetworkMask (const IPv4Address &networkMask) |
virtual short | getHelloInterval () const |
virtual void | setHelloInterval (short helloInterval) |
virtual OSPFOptions & | getOptions () |
virtual const OSPFOptions & | getOptions () const |
virtual void | setOptions (const OSPFOptions &options) |
virtual char | getRouterPriority () const |
virtual void | setRouterPriority (char routerPriority) |
virtual long | getRouterDeadInterval () const |
virtual void | setRouterDeadInterval (long routerDeadInterval) |
virtual IPv4Address & | getDesignatedRouter () |
virtual const IPv4Address & | getDesignatedRouter () const |
virtual void | setDesignatedRouter (const IPv4Address &designatedRouter) |
virtual IPv4Address & | getBackupDesignatedRouter () |
virtual const IPv4Address & | getBackupDesignatedRouter () const |
virtual void | setBackupDesignatedRouter (const IPv4Address &backupDesignatedRouter) |
virtual void | setNeighborArraySize (unsigned int size) |
virtual unsigned int | getNeighborArraySize () const |
virtual IPv4Address & | getNeighbor (unsigned int k) |
virtual const IPv4Address & | getNeighbor (unsigned int k) const |
virtual void | setNeighbor (unsigned int k, const IPv4Address &neighbor) |
Public Member Functions inherited from inet::ospf::OSPFPacket | |
OSPFPacket (const char *name=nullptr, short kind=0) | |
OSPFPacket (const OSPFPacket &other) | |
virtual | ~OSPFPacket () |
OSPFPacket & | operator= (const OSPFPacket &other) |
virtual char | getVersion () const |
virtual void | setVersion (char version) |
virtual char | getType () const |
virtual void | setType (char type) |
virtual IPv4Address & | getRouterID () |
virtual const IPv4Address & | getRouterID () const |
virtual void | setRouterID (const IPv4Address &routerID) |
virtual IPv4Address & | getAreaID () |
virtual const IPv4Address & | getAreaID () const |
virtual void | setAreaID (const IPv4Address &areaID) |
virtual short | getAuthenticationType () const |
virtual void | setAuthenticationType (short authenticationType) |
virtual unsigned int | getAuthenticationArraySize () const |
virtual char | getAuthentication (unsigned int k) const |
virtual void | setAuthentication (unsigned int k, char authentication) |
Protected Member Functions | |
bool | operator== (const OSPFHelloPacket &) |
Protected Member Functions inherited from inet::ospf::OSPFPacket | |
bool | operator== (const OSPFPacket &) |
Protected Attributes | |
IPv4Address | networkMask |
short | helloInterval |
OSPFOptions | options |
char | routerPriority |
long | routerDeadInterval |
IPv4Address | designatedRouter |
IPv4Address | backupDesignatedRouter |
IPv4Address * | neighbor |
unsigned int | neighbor_arraysize |
Protected Attributes inherited from inet::ospf::OSPFPacket | |
char | version |
char | type |
IPv4Address | routerID |
IPv4Address | areaID |
short | authenticationType |
char | authentication [8] |
Private Member Functions | |
void | copy (const OSPFHelloPacket &other) |
Class generated from inet/routing/ospfv2/OSPFPacket.msg:67
by nedtool.
// // Represents an OSPF Hello packet // packet OSPFHelloPacket extends OSPFPacket { IPv4Address networkMask;
short helloInterval = 5;
OSPFOptions options;
char routerPriority = 0; long routerDeadInterval = 0;
IPv4Address designatedRouter; IPv4Address backupDesignatedRouter; IPv4Address neighbor[]; }
inet::ospf::OSPFHelloPacket::OSPFHelloPacket | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::ospf::OSPFHelloPacket::OSPFHelloPacket | ( | const OSPFHelloPacket & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::ospf::OSPFPacket.
|
virtual |
|
inlinevirtual |
Referenced by getBackupDesignatedRouter().
|
virtual |
|
inlinevirtual |
Referenced by getDesignatedRouter().
|
virtual |
Referenced by inet::ospf::HelloHandler::processPacket().
|
virtual |
|
inlinevirtual |
Referenced by getNeighbor().
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by getNetworkMask().
|
virtual |
Referenced by inet::ospf::HelloHandler::processPacket().
|
inlinevirtual |
Referenced by getOptions().
|
virtual |
Referenced by inet::ospf::HelloHandler::processPacket().
|
virtual |
Referenced by inet::ospf::HelloHandler::processPacket().
OSPFHelloPacket& inet::ospf::OSPFHelloPacket::operator= | ( | const OSPFHelloPacket & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::ospf::OSPFPacket.
Referenced by inet::ospf::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::ospf::OSPFPacket.
Referenced by inet::ospf::doParsimUnpacking().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
virtual |
Referenced by inet::ospf::Interface::sendHelloPacket().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |