|
INET Framework for OMNeT++/OMNEST
|
Table with disabled EIGRP interfaces. More...
#include <EigrpDisabledInterfaces.h>
Public Member Functions | |
| EigrpDisabledInterfaces () | |
| virtual | ~EigrpDisabledInterfaces () |
| int | getNumInterfaces () const |
| Returns number of interfaces in the table. More... | |
| EigrpInterface * | removeInterface (EigrpInterface *iface) |
| Removes specified interface from table and returns it. More... | |
| void | addInterface (EigrpInterface *interface) |
| Adds interface to the table. More... | |
| EigrpInterface * | findInterface (int ifaceId) |
| Finds interface by ID in table and returns it. More... | |
| EigrpInterface * | getInterface (int k) const |
| Returns interface by its position in the table. More... | |
Protected Attributes | |
| std::vector< EigrpInterface * > | ifVector |
Table with disabled EIGRP interfaces.
Used to store the settings of interfaces.
|
virtual |
| void inet::eigrp::EigrpDisabledInterfaces::addInterface | ( | EigrpInterface * | interface | ) |
Adds interface to the table.
Referenced by inet::eigrp::EigrpIpv4Pdm::addInterfaceToEigrp(), inet::eigrp::EigrpIpv6Pdm::addInterfaceToEigrp(), inet::eigrp::EigrpIpv4Pdm::disableInterface(), and inet::eigrp::EigrpIpv6Pdm::disableInterface().
| EigrpInterface * inet::eigrp::EigrpDisabledInterfaces::findInterface | ( | int | ifaceId | ) |
Finds interface by ID in table and returns it.
If interface with specified ID does not exist in the table, returns null.
Referenced by inet::eigrp::EigrpIpv4Pdm::getInterfaceById(), and inet::eigrp::EigrpIpv6Pdm::getInterfaceById().
|
inline |
Returns interface by its position in the table.
Referenced by inet::eigrp::EigrpIpv4Pdm::cancelHelloTimers(), and inet::eigrp::EigrpIpv6Pdm::cancelHelloTimers().
|
inline |
Returns number of interfaces in the table.
Referenced by inet::eigrp::EigrpIpv4Pdm::cancelHelloTimers(), and inet::eigrp::EigrpIpv6Pdm::cancelHelloTimers().
| EigrpInterface * inet::eigrp::EigrpDisabledInterfaces::removeInterface | ( | EigrpInterface * | iface | ) |
Removes specified interface from table and returns it.
If interface does not exist in the table, returns null.
Referenced by inet::eigrp::EigrpIpv4Pdm::enableInterface(), and inet::eigrp::EigrpIpv6Pdm::enableInterface().
|
protected |
Referenced by addInterface(), findInterface(), getInterface(), getNumInterfaces(), removeInterface(), and ~EigrpDisabledInterfaces().