INET Framework for OMNeT++/OMNEST
|
Class generated from inet/routing/rip/RIPPacket.msg:69
by nedtool.
More...
#include <RIPPacket_m.h>
Public Member Functions | |
RIPPacket (const char *name=nullptr, short kind=0) | |
RIPPacket (const RIPPacket &other) | |
virtual | ~RIPPacket () |
RIPPacket & | operator= (const RIPPacket &other) |
virtual RIPPacket * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual unsigned char | getCommand () const |
virtual void | setCommand (unsigned char command) |
virtual void | setEntryArraySize (unsigned int size) |
virtual unsigned int | getEntryArraySize () const |
virtual RIPEntry & | getEntry (unsigned int k) |
virtual const RIPEntry & | getEntry (unsigned int k) const |
virtual void | setEntry (unsigned int k, const RIPEntry &entry) |
Protected Member Functions | |
bool | operator== (const RIPPacket &) |
Protected Attributes | |
unsigned char | command |
RIPEntry * | entry |
unsigned int | entry_arraysize |
Private Member Functions | |
void | copy (const RIPPacket &other) |
Class generated from inet/routing/rip/RIPPacket.msg:69
by nedtool.
// // RIPv2 packet // // note: Authentication entry is not allowed // packet RIPPacket { unsigned char command @enum(RIPCommand); // version is fixed: 2 RIPEntry entry[]; }
inet::RIPPacket::RIPPacket | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::RIPPacket::RIPPacket | ( | const RIPPacket & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
Referenced by inet::InetPacketPrinter2::formatRIPPacket(), and inet::RIPRouting::handleMessage().
|
virtual |
|
inlinevirtual |
Referenced by getEntry().
|
virtual |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::RIPRouting::sendRIPRequest(), and inet::RIPRouting::sendRoutes().
|
protected |
|
protected |
|
protected |