INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/ospfv2/OSPFPacket.msg:52
by nedtool.
More...
#include <OSPFPacket_m.h>
Public Member Functions | |
OSPFPacket (const char *name=nullptr, short kind=0) | |
OSPFPacket (const OSPFPacket &other) | |
virtual | ~OSPFPacket () |
OSPFPacket & | operator= (const OSPFPacket &other) |
virtual OSPFPacket * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
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 OSPFPacket &) |
Protected Attributes | |
char | version |
char | type |
IPv4Address | routerID |
IPv4Address | areaID |
short | authenticationType |
char | authentication [8] |
Private Member Functions | |
void | copy (const OSPFPacket &other) |
Class generated from inet/routing/ospfv2/OSPFPacket.msg:52
by nedtool.
// // Represents an OSPF packet header // packet OSPFPacket { char version = 2; char type @enum(OSPFPacketType) = HELLO_PACKET;
IPv4Address routerID; IPv4Address areaID;
short authenticationType = 0; char authentication[8]; }
inet::ospf::OSPFPacket::OSPFPacket | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::ospf::OSPFPacket::OSPFPacket | ( | const OSPFPacket & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::ospf::OSPFLinkStateAcknowledgementPacket, inet::ospf::OSPFLinkStateUpdatePacket, inet::ospf::OSPFLinkStateRequestPacket, inet::ospf::OSPFDatabaseDescriptionPacket, and inet::ospf::OSPFHelloPacket.
|
virtual |
|
inlinevirtual |
Referenced by getAreaID().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by getRouterID().
|
virtual |
Referenced by inet::ospf::MessageHandler::processPacket(), and inet::ospf::MessageHandler::sendPacket().
|
virtual |
Referenced by inet::ospf::MessageHandler::processPacket().
OSPFPacket& inet::ospf::OSPFPacket::operator= | ( | const OSPFPacket & | other | ) |
|
protected |
|
overridevirtual |
|
overridevirtual |
|
virtual |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Interface::sendHelloPacket(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
|
virtual |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Interface::sendHelloPacket(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
|
virtual |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Interface::sendHelloPacket(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
|
virtual |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Interface::sendHelloPacket(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
|
virtual |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |