|
INET Framework for OMNeT++/OMNEST
|
#include <RipRouteData.h>
◆ RouteType
| Enumerator |
|---|
| RIP_ROUTE_RTE | |
| RIP_ROUTE_STATIC | |
| RIP_ROUTE_DEFAULT | |
| RIP_ROUTE_REDISTRIBUTE | |
| RIP_ROUTE_INTERFACE | |
◆ RipRoute()
| inet::RipRoute::RipRoute |
( |
IRoute * |
route, |
|
|
RouteType |
type, |
|
|
int |
metric, |
|
|
uint16_t |
routeTag |
|
) |
| |
|
inline |
◆ getDestination()
| L3Address inet::RipRoute::getDestination |
( |
| ) |
const |
|
inline |
◆ getFrom()
◆ getInterface()
◆ getLastInvalidationTime()
| simtime_t inet::RipRoute::getLastInvalidationTime |
( |
| ) |
const |
|
inline |
◆ getLastUpdateTime()
| simtime_t inet::RipRoute::getLastUpdateTime |
( |
| ) |
const |
|
inline |
◆ getMetric()
| int inet::RipRoute::getMetric |
( |
| ) |
const |
|
inline |
◆ getNextHop()
| L3Address inet::RipRoute::getNextHop |
( |
| ) |
const |
|
inline |
◆ getPrefixLength()
| int inet::RipRoute::getPrefixLength |
( |
| ) |
const |
|
inline |
◆ getRoute()
| IRoute* inet::RipRoute::getRoute |
( |
| ) |
const |
|
inline |
◆ getRouteTag()
| uint16_t inet::RipRoute::getRouteTag |
( |
| ) |
const |
|
inline |
◆ getType()
◆ isChanged()
| bool inet::RipRoute::isChanged |
( |
| ) |
const |
|
inline |
◆ setChanged()
| void inet::RipRoute::setChanged |
( |
bool |
changed | ) |
|
|
inline |
◆ setDestination()
| void inet::RipRoute::setDestination |
( |
const L3Address & |
dest | ) |
|
|
inline |
◆ setFrom()
| void inet::RipRoute::setFrom |
( |
const L3Address & |
from | ) |
|
|
inline |
◆ setInterface()
◆ setLastInvalidationTime()
| void inet::RipRoute::setLastInvalidationTime |
( |
simtime_t |
time | ) |
|
|
inline |
◆ setLastUpdateTime()
| void inet::RipRoute::setLastUpdateTime |
( |
simtime_t |
time | ) |
|
|
inline |
◆ setMetric()
| void inet::RipRoute::setMetric |
( |
int |
metric | ) |
|
|
inline |
◆ setNextHop()
| void inet::RipRoute::setNextHop |
( |
const L3Address & |
nextHop | ) |
|
|
inline |
◆ setPrefixLength()
| void inet::RipRoute::setPrefixLength |
( |
int |
prefixLength | ) |
|
|
inline |
◆ setRoute()
| void inet::RipRoute::setRoute |
( |
IRoute * |
route | ) |
|
|
inline |
◆ setRouteTag()
| void inet::RipRoute::setRouteTag |
( |
uint16_t |
routeTag | ) |
|
|
inline |
◆ setType()
| void inet::RipRoute::setType |
( |
RouteType |
type | ) |
|
|
inline |
◆ str()
| std::string inet::RipRoute::str |
( |
| ) |
const |
|
overridevirtual |
14 std::stringstream out;
26 out <<
"metric:" <<
metric <<
" ";
34 out <<
"from:" <<
from <<
" ";
36 out <<
"changed:" <<
changed <<
" ";
37 out <<
"tag:" <<
tag <<
" ";
58 out <<
"REDISTRIBUTE";
◆ changed
| bool inet::RipRoute::changed = false |
|
protected |
◆ dest
◆ from
◆ ie
◆ lastInvalid
| simtime_t inet::RipRoute::lastInvalid = 0 |
|
protected |
◆ lastUpdateTime
| simtime_t inet::RipRoute::lastUpdateTime = 0 |
|
protected |
◆ metric
| int inet::RipRoute::metric = 0 |
|
protected |
◆ nextHop
◆ prefixLength
| int inet::RipRoute::prefixLength = 0 |
|
protected |
◆ route
| IRoute* inet::RipRoute::route = nullptr |
|
protected |
◆ tag
| uint16_t inet::RipRoute::tag = 0 |
|
protected |
◆ type
The documentation for this class was generated from the following files:
int prefixLength
Definition: RipRouteData.h:36
simtime_t lastInvalid
Definition: RipRouteData.h:44
virtual void setMetric(int metric)=0
virtual void setInterface(NetworkInterface *ie)=0
IRoute * route
Definition: RipRouteData.h:31
RouteType type
Definition: RipRouteData.h:32
virtual L3Address getDestinationAsGeneric() const =0
Destination address prefix to match.
NetworkInterface * ie
Definition: RipRouteData.h:38
const char * getInterfaceName() const
Definition: NetworkInterface.h:233
bool changed
Definition: RipRouteData.h:42
virtual void setNextHop(const L3Address &nextHop)=0
virtual L3Address getNextHopAsGeneric() const =0
Next hop address.
bool isUnspecified() const
Definition: L3Address.cc:138
int metric
Definition: RipRouteData.h:37
virtual int getPrefixLength() const =0
Represents length of prefix to match.
simtime_t lastUpdateTime
Definition: RipRouteData.h:41
@ RIP_ROUTE_REDISTRIBUTE
Definition: RipRouteData.h:26
L3Address from
Definition: RipRouteData.h:40
@ RIP_ROUTE_DEFAULT
Definition: RipRouteData.h:25
L3Address nextHop
Definition: RipRouteData.h:35
@ RIP_ROUTE_RTE
Definition: RipRouteData.h:23
uint16_t tag
Definition: RipRouteData.h:43
L3Address dest
Definition: RipRouteData.h:34
@ RIP_ROUTE_INTERFACE
Definition: RipRouteData.h:27
@ RIP_ROUTE_STATIC
Definition: RipRouteData.h:24
virtual NetworkInterface * getInterface() const =0
Next hop interface.