INET Framework for OMNeT++/OMNEST
|
Holds the RIP configuration of the interfaces. More...
#include <RIPRouting.h>
Public Member Functions | |
RIPInterfaceEntry (const InterfaceEntry *ie) | |
void | configure (cXMLElement *config) |
Fills in the parameters of the interface from the matching <interface> element of the configuration. More... | |
Public Attributes | |
const InterfaceEntry * | ie = nullptr |
int | metric = 0 |
RIPMode | mode = NO_RIP |
Holds the RIP configuration of the interfaces.
We could store this data in the InterfaceEntry* itself, but it contains only 5 holes for protocol data, and they are used by network layer protocols only. Therefore RIPRouting manages its own table of these entries.
inet::RIPInterfaceEntry::RIPInterfaceEntry | ( | const InterfaceEntry * | ie | ) |
void inet::RIPInterfaceEntry::configure | ( | cXMLElement * | config | ) |
Fills in the parameters of the interface from the matching <interface> element of the configuration.
Referenced by inet::RIPRouting::addInterface().
const InterfaceEntry* inet::RIPInterfaceEntry::ie = nullptr |
Referenced by inet::RIPRouting::configureInitialRoutes(), inet::RIPRouting::configureInterfaces(), inet::RIPRouting::deleteInterface(), inet::RIPRouting::importRoute(), inet::RIPRouting::isLocalInterfaceRoute(), inet::RIPRouting::isLoopbackInterfaceRoute(), inet::operator<<(), inet::RIPRouting::processResponse(), inet::RIPRouting::receiveSignal(), inet::RIPRouting::sendRIPRequest(), inet::RIPRouting::sendRoutes(), and inet::RIPRouting::updateRoute().
int inet::RIPInterfaceEntry::metric = 0 |