|
INET Framework for OMNeT++/OMNEST
|
#include <Ospfv3RoutingTableEntry.h>
Public Member Functions | |
| Ospfv3RoutingTableEntry (const Ospfv3RoutingTableEntry &entry, Ipv6Address destPrefix, int prefixLength, SourceType sourceType) | |
| Ospfv3RoutingTableEntry (IInterfaceTable *ift, Ipv6Address destPrefix, int prefixLength, SourceType sourceType) | |
| virtual | ~Ospfv3RoutingTableEntry () |
| bool | operator== (const Ospfv3RoutingTableEntry &entry) const |
| bool | operator!= (const Ospfv3RoutingTableEntry &entry) const |
| void | setDestinationType (RoutingDestinationType type) |
| RoutingDestinationType | getDestinationType () const |
| void | setOptionalCapabilities (Ospfv3Options options) |
| Ospfv3Options | getOptionalCapabilities () const |
| void | setArea (AreaID source) |
| AreaID | getArea () const |
| void | setPathType (RoutingPathType type) |
| RoutingPathType | getPathType () const |
| void | setCost (Metric pathCost) |
| Metric | getCost () const |
| void | setType2Cost (Metric pathCost) |
| Metric | getType2Cost () const |
| void | setLinkStateOrigin (const Ospfv3Lsa *lsa) |
| const Ospfv3Lsa * | getLinkStateOrigin () const |
| void | addNextHop (NextHop hop) |
| void | clearNextHops () |
| unsigned int | getNextHopCount () const |
| NextHop | getNextHop (unsigned int index) const |
Public Member Functions inherited from inet::Ipv6Route | |
| Ipv6Route (Ipv6Address destPrefix, int prefixLength, SourceType sourceType) | |
| Constructor. More... | |
| virtual | ~Ipv6Route () |
| virtual std::string | str () const override |
| virtual std::string | detailedInfo () const |
| virtual void | setRoutingTable (Ipv6RoutingTable *rt) |
| To be called by the routing table when this route is added or removed from it. More... | |
| Ipv6RoutingTable * | getRoutingTable () const |
| void | setNextHop (const Ipv6Address &nextHop) |
| void | setExpiryTime (simtime_t expiryTime) |
| void | setMetric (int metric) override |
| void | setAdminDist (unsigned int adminDist) override |
| const Ipv6Address & | getDestPrefix () const |
| virtual int | getPrefixLength () const override |
| Represents length of prefix to match. More... | |
| virtual SourceType | getSourceType () const override |
| Source type of the route. More... | |
| const Ipv6Address & | getNextHop () const |
| simtime_t | getExpiryTime () const |
| virtual int | getMetric () const override |
| Cost to reach the destination. More... | |
| unsigned int | getAdminDist () const |
| virtual IRoutingTable * | getRoutingTableAsGeneric () const override |
| The routing table in which this route is inserted, or nullptr. More... | |
| virtual void | setDestination (const L3Address &dest) override |
| virtual void | setPrefixLength (int prefixLength) override |
| virtual void | setNextHop (const L3Address &nextHop) override |
| virtual void | setSource (cObject *source) override |
| virtual void | setSourceType (SourceType type) override |
| const char * | getSourceTypeAbbreviation () const |
| virtual L3Address | getDestinationAsGeneric () const override |
| Destination address prefix to match. More... | |
| virtual L3Address | getNextHopAsGeneric () const override |
| Next hop address. More... | |
| virtual NetworkInterface * | getInterface () const override |
| Next hop interface. More... | |
| virtual void | setInterface (NetworkInterface *ie) override |
| virtual cObject * | getSource () const override |
| Source of route. More... | |
| virtual cObject * | getProtocolData () const override |
| virtual void | setProtocolData (cObject *protocolData) override |
Public Member Functions inherited from inet::IRoute | |
| virtual | ~IRoute () |
Static Public Attributes | |
| static const unsigned char | NETWORK_DESTINATION = 0 |
| static const unsigned char | AREA_BORDER_ROUTER_DESTINATION = 1 |
| static const unsigned char | AS_BOUNDARY_ROUTER_DESTINATION = 2 |
Private Attributes | |
| IInterfaceTable * | ift = nullptr |
| RoutingDestinationType | destinationType = 0 |
| Ospfv3Options | optionalCapabilities |
| AreaID | area |
| RoutingPathType | pathType = (RoutingPathType) - 1 |
| Metric | cost = 0 |
| Metric | type2Cost = 0 |
| const Ospfv3Lsa * | linkStateOrigin = nullptr |
| std::vector< NextHop > | nextHops |
Additional Inherited Members | |
Static Public Member Functions inherited from inet::IRoute | |
| static const char * | sourceTypeName (SourceType sourceType) |
Protected Member Functions inherited from inet::Ipv6Route | |
| void | changed (int fieldCode) |
| Routing Protocol specific data. More... | |
Protected Attributes inherited from inet::Ipv6Route | |
| Ipv6RoutingTable * | _rt |
| Ipv6Address | _destPrefix |
| short | _prefixLength |
| SourceType | _sourceType |
| NetworkInterface * | _interfacePtr |
| Ipv6Address | _nextHop |
| simtime_t | _expiryTime |
| int | _metric |
| unsigned int | _adminDist |
| cObject * | _source |
| cObject * | _protocolData |
| Object identifying the source. More... | |
| typedef unsigned char inet::ospfv3::Ospfv3RoutingTableEntry::RoutingDestinationType |
| inet::ospfv3::Ospfv3RoutingTableEntry::Ospfv3RoutingTableEntry | ( | const Ospfv3RoutingTableEntry & | entry, |
| Ipv6Address | destPrefix, | ||
| int | prefixLength, | ||
| SourceType | sourceType | ||
| ) |
| inet::ospfv3::Ospfv3RoutingTableEntry::Ospfv3RoutingTableEntry | ( | IInterfaceTable * | ift, |
| Ipv6Address | destPrefix, | ||
| int | prefixLength, | ||
| SourceType | sourceType | ||
| ) |
| void inet::ospfv3::Ospfv3RoutingTableEntry::addNextHop | ( | NextHop | hop | ) |
Referenced by inet::ospfv3::Ospfv3Area::addRouterEntry(), inet::ospfv3::Ospfv3Area::calculateInterAreaRoutes(), inet::ospfv3::Ospfv3Area::calculateShortestPathTree(), inet::ospfv3::Ospfv3Area::createRoutingTableEntryFromInterAreaPrefixLSA(), and inet::ospfv3::Ospfv3Area::recheckInterAreaPrefixLSAs().
|
inline |
Referenced by inet::ospfv3::Ospfv3Area::recheckInterAreaPrefixLSAs().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by inet::ospfv3::operator<<().
|
inline |
| bool inet::ospfv3::Ospfv3RoutingTableEntry::operator== | ( | const Ospfv3RoutingTableEntry & | entry | ) | const |
|
inline |
| void inet::ospfv3::Ospfv3RoutingTableEntry::setCost | ( | Metric | pathCost | ) |
Referenced by inet::ospfv3::Ospfv3Area::addRouterEntry(), inet::ospfv3::Ospfv3Area::calculateShortestPathTree(), and inet::ospfv3::Ospfv3Area::createRoutingTableEntryFromInterAreaPrefixLSA().
|
inline |
|
inline |
|
inline |
| void inet::ospfv3::Ospfv3RoutingTableEntry::setPathType | ( | RoutingPathType | type | ) |
Referenced by inet::ospfv3::Ospfv3Area::addRouterEntry(), inet::ospfv3::Ospfv3Area::calculateShortestPathTree(), and inet::ospfv3::Ospfv3Area::createRoutingTableEntryFromInterAreaPrefixLSA().
| void inet::ospfv3::Ospfv3RoutingTableEntry::setType2Cost | ( | Metric | pathCost | ) |
|
private |
Referenced by operator==().
|
static |
|
static |
Referenced by inet::ospfv3::Ospfv3Area::addRouterEntry(), inet::ospfv3::Ospfv3Area::calculateInterAreaRoutes(), inet::ospfv3::Ospfv3Area::createRoutingTableEntryFromInterAreaPrefixLSA(), inet::ospfv3::Ospfv3Area::findSameOrWorseCostRoute(), inet::ospfv3::operator<<(), and inet::ospfv3::Ospfv3Area::recheckInterAreaPrefixLSAs().
|
private |
Referenced by operator==(), setCost(), setPathType(), and setType2Cost().
|
private |
Referenced by operator==().
|
private |
Referenced by addNextHop().
|
private |
Referenced by operator==().
|
static |
Referenced by inet::ospfv3::Ospfv3Area::addRouterEntry(), inet::ospfv3::Ospfv3Area::calculateInterAreaRoutes(), inet::ospfv3::Ospfv3Area::calculateShortestPathTree(), inet::ospfv3::Ospfv3Area::createRoutingTableEntryFromInterAreaPrefixLSA(), inet::ospfv3::Ospfv3Area::findSameOrWorseCostRoute(), inet::ospfv3::operator<<(), inet::ospfv3::Ospfv3Process::rebuildRoutingTable(), and inet::ospfv3::Ospfv3Area::recheckInterAreaPrefixLSAs().
|
private |
Referenced by addNextHop(), and operator==().
|
private |
Referenced by operator==().
|
private |
Referenced by operator==(), setCost(), setPathType(), and setType2Cost().
|
private |
Referenced by operator==(), setCost(), setPathType(), and setType2Cost().