#include <RIPRouting.h>
Enumerator |
---|
RIP_ROUTE_RTE |
|
RIP_ROUTE_STATIC |
|
RIP_ROUTE_DEFAULT |
|
RIP_ROUTE_REDISTRIBUTE |
|
RIP_ROUTE_INTERFACE |
|
Definition: RIPRouting.h:39
Definition: RIPRouting.h:37
Definition: RIPRouting.h:40
Definition: RIPRouting.h:38
Definition: RIPRouting.h:36
virtual L3Address getDestinationAsGeneric() const =0
Destination address prefix to match.
L3Address dest
Definition: RIPRouting.h:46
int prefixLength
Definition: RIPRouting.h:47
int metric
Definition: RIPRouting.h:51
IRoute * route
Definition: RIPRouting.h:45
RouteType type
Definition: RIPRouting.h:44
uint16 tag
Definition: RIPRouting.h:52
bool changed
Definition: RIPRouting.h:53
virtual L3Address getNextHopAsGeneric() const =0
Next hop address.
virtual int getPrefixLength() const =0
Represents length of prefix to match.
simtime_t lastUpdateTime
Definition: RIPRouting.h:54
L3Address nextHop
Definition: RIPRouting.h:48
virtual InterfaceEntry * getInterface() const =0
Next hop interface.
InterfaceEntry * ie
Definition: RIPRouting.h:49
L3Address inet::RIPRoute::getDestination |
( |
| ) |
const |
|
inline |
simtime_t inet::RIPRoute::getLastUpdateTime |
( |
| ) |
const |
|
inline |
int inet::RIPRoute::getMetric |
( |
| ) |
const |
|
inline |
L3Address inet::RIPRoute::getNextHop |
( |
| ) |
const |
|
inline |
int inet::RIPRoute::getPrefixLength |
( |
| ) |
const |
|
inline |
IRoute* inet::RIPRoute::getRoute |
( |
| ) |
const |
|
inline |
uint16 inet::RIPRoute::getRouteTag |
( |
| ) |
const |
|
inline |
std::string inet::RIPRoute::info |
( |
| ) |
const |
|
overridevirtual |
Referenced by inet::operator<<().
56 std::stringstream out;
69 out <<
"metric:" <<
metric <<
" ";
74 out <<
ie->getName() <<
" ";
75 out <<
"tag:" <<
tag <<
" ";
95 out <<
"REDISTRIBUTE";
Definition: RIPRouting.h:39
L3Address dest
Definition: RIPRouting.h:46
int prefixLength
Definition: RIPRouting.h:47
int metric
Definition: RIPRouting.h:51
Definition: RIPRouting.h:37
RouteType type
Definition: RIPRouting.h:44
uint16 tag
Definition: RIPRouting.h:52
bool isUnspecified() const
Definition: L3Address.cc:133
Definition: RIPRouting.h:40
simtime_t lastUpdateTime
Definition: RIPRouting.h:54
Definition: RIPRouting.h:38
L3Address nextHop
Definition: RIPRouting.h:48
Definition: RIPRouting.h:36
InterfaceEntry * ie
Definition: RIPRouting.h:49
bool inet::RIPRoute::isChanged |
( |
| ) |
const |
|
inline |
void inet::RIPRoute::setChanged |
( |
bool |
changed | ) |
|
|
inline |
void inet::RIPRoute::setDestination |
( |
const L3Address & |
dest | ) |
|
|
inline |
void inet::RIPRoute::setFrom |
( |
const L3Address & |
from | ) |
|
|
inline |
void inet::RIPRoute::setLastUpdateTime |
( |
simtime_t |
time | ) |
|
|
inline |
void inet::RIPRoute::setMetric |
( |
int |
metric | ) |
|
|
inline |
void inet::RIPRoute::setNextHop |
( |
const L3Address & |
nextHop | ) |
|
|
inline |
void inet::RIPRoute::setPrefixLength |
( |
int |
prefixLength | ) |
|
|
inline |
void inet::RIPRoute::setRoute |
( |
IRoute * |
route | ) |
|
|
inline |
void inet::RIPRoute::setRouteTag |
( |
uint16 |
routeTag | ) |
|
|
inline |
void inet::RIPRoute::setType |
( |
RouteType |
type | ) |
|
|
inline |
bool inet::RIPRoute::changed = false |
|
private |
simtime_t inet::RIPRoute::lastUpdateTime |
|
private |
int inet::RIPRoute::metric = 0 |
|
private |
int inet::RIPRoute::prefixLength = 0 |
|
private |
IRoute* inet::RIPRoute::route = nullptr |
|
private |
uint16 inet::RIPRoute::tag = 0 |
|
private |
The documentation for this struct was generated from the following files: