INET Framework for OMNeT++/OMNEST
|
Class holding information about a neighboring PIM router. More...
#include <PIMNeighborTable.h>
Public Member Functions | |
PIMNeighbor (InterfaceEntry *ie, IPv4Address address, int version) | |
virtual | ~PIMNeighbor () |
virtual std::string | info () const override |
int | getInterfaceId () const |
InterfaceEntry * | getInterfacePtr () const |
IPv4Address | getAddress () const |
int | getVersion () const |
unsigned int | getGenerationId () const |
long | getDRPriority () const |
cMessage * | getLivenessTimer () const |
void | setGenerationId (unsigned int genId) |
void | setDRPriority (long priority) |
Protected Member Functions | |
void | changed () |
Protected Attributes | |
PIMNeighborTable * | nt |
InterfaceEntry * | ie |
IPv4Address | address |
int | version |
unsigned int | generationId |
long | drPriority |
cMessage * | livenessTimer |
Friends | |
class | PIMNeighborTable |
Class holding information about a neighboring PIM router.
Routers are identified by the link to which they are connected and their address.
Currently only the version of the routers are stored. TODO add fields for options received in Hello Messages (RFC 3973 4.7.5, RFC 4601 4.9.2).
inet::PIMNeighbor::PIMNeighbor | ( | InterfaceEntry * | ie, |
IPv4Address | address, | ||
int | version | ||
) |
|
virtual |
|
protected |
|
inline |
|
inline |
Referenced by inet::operator<<(), and inet::PIMSM::updateDesignatedRouterAddress().
|
inline |
Referenced by inet::operator<<().
|
inline |
|
inline |
Referenced by inet::operator<<(), and inet::PIMSM::receiveSignal().
|
inline |
|
inline |
Referenced by inet::operator<<().
|
overridevirtual |
Referenced by inet::PIMNeighborTable::addNeighbor().
|
inline |
Referenced by inet::PIMBase::processHelloPacket().
|
inline |
Referenced by inet::PIMBase::processHelloPacket().
|
friend |
|
protected |
Referenced by info().
|
protected |
Referenced by info().
|
protected |
|
protected |
Referenced by info().
|
protected |
Referenced by PIMNeighbor(), and ~PIMNeighbor().
|
protected |
Referenced by inet::PIMNeighborTable::addNeighbor(), changed(), and inet::PIMNeighborTable::deleteNeighbor().
|
protected |
Referenced by info().