|
INET Framework for OMNeT++/OMNEST
|
Table with networks for routing. More...
#include <EigrpNetworkTable.h>
Public Member Functions | |
| EigrpNetworkTable () | |
| virtual | ~EigrpNetworkTable () |
| EigrpNetwork< IPAddress > * | addNetwork (IPAddress &address, IPAddress &mask) |
| EigrpNetwork< IPAddress > * | findNetworkById (int netId) |
| std::vector< EigrpNetwork< IPAddress > * > * | getAllNetworks () |
| bool | isAddressIncluded (IPAddress &address, IPAddress &mask) |
| bool | isInterfaceIncluded (const IPAddress &ifAddress, const IPAddress &ifMask, int *resultNetId) |
| Returns true if interface with specified address is contained in EIGRP. More... | |
| bool | isInterfaceIncluded (const Ipv4Address &ifAddress, const Ipv4Address &ifMask, int *resultNetId) |
| bool | isInterfaceIncluded (const Ipv6Address &ifAddress, const Ipv6Address &ifMask, int *resultNetId) |
| Determines if specified netaddress/mask is included in eigrp process. More... | |
Static Public Attributes | |
| static const int | UNSPEC_NETID = 0 |
Protected Attributes | |
| std::vector< EigrpNetwork< IPAddress > * > | networkVec |
| int | networkCnt |
Table with networks for routing.
|
inline |
|
virtual |
| EigrpNetwork< IPAddress > * inet::eigrp::EigrpNetworkTable< IPAddress >::addNetwork | ( | IPAddress & | address, |
| IPAddress & | mask | ||
| ) |
| EigrpNetwork< IPAddress > * inet::eigrp::EigrpNetworkTable< IPAddress >::findNetworkById | ( | int | netId | ) |
|
inline |
| bool inet::eigrp::EigrpNetworkTable< IPAddress >::isAddressIncluded | ( | IPAddress & | address, |
| IPAddress & | mask | ||
| ) |
| bool inet::eigrp::EigrpNetworkTable< IPAddress >::isInterfaceIncluded | ( | const IPAddress & | ifAddress, |
| const IPAddress & | ifMask, | ||
| int * | resultNetId | ||
| ) |
Returns true if interface with specified address is contained in EIGRP.
| resultNetId | ID of network that belongs to the interface. If the interface does not belong to any network, it has undefined value. |
| bool inet::eigrp::EigrpNetworkTable< Ipv4Address >::isInterfaceIncluded | ( | const Ipv4Address & | ifAddress, |
| const Ipv4Address & | ifMask, | ||
| int * | resultNetId | ||
| ) |
| bool inet::eigrp::EigrpNetworkTable< Ipv6Address >::isInterfaceIncluded | ( | const Ipv6Address & | ifAddress, |
| const Ipv6Address & | ifMask, | ||
| int * | resultNetId | ||
| ) |
Determines if specified netaddress/mask is included in eigrp process.
| ifAddress | address of interface |
| ifMask | mask of interface |
| resultNetId | ID of network |
In IPv6 is netmask always specified, because it is strictly classless. Configuration is defined per interfaces, and there is no wildcard. In other words matching is much simpler that in the IPv4.
|
protected |
|
protected |
|
static |