A path for IP or MPLS routes.
More...
A path for IP or MPLS routes.
Definition at line 32 of file route.hpp.
constructor for special paths
Definition at line 36 of file route.cpp.
VOM::route::path::path |
( |
const boost::asio::ip::address & |
nh, |
|
|
const interface & |
interface, |
|
|
uint8_t |
weight = 1 , |
|
|
uint8_t |
preference = 0 |
|
) |
| |
Constructor for standard non-recursive paths.
Definition at line 47 of file route.cpp.
VOM::route::path::path |
( |
const route_domain & |
rd, |
|
|
const boost::asio::ip::address & |
nh, |
|
|
uint8_t |
weight = 1 , |
|
|
uint8_t |
preference = 0 |
|
) |
| |
Constructor for standard recursive paths.
Definition at line 61 of file route.cpp.
VOM::route::path::path |
( |
const interface & |
interface, |
|
|
const nh_proto_t & |
proto, |
|
|
uint8_t |
weight = 1 , |
|
|
uint8_t |
preference = 0 |
|
) |
| |
Constructor for DVR paths or attached paths.
Definition at line 75 of file route.cpp.
VOM::route::path::path |
( |
const path & |
p | ) |
|
Copy Constructor.
Definition at line 89 of file route.cpp.
VOM::route::path::~path |
( |
| ) |
|
std::shared_ptr< interface > VOM::route::path::itf |
( |
| ) |
const |
const boost::asio::ip::address & VOM::route::path::nh |
( |
| ) |
const |
bool VOM::route::path::operator< |
( |
const path & |
p | ) |
const |
Less than operator for set insertion.
Definition at line 101 of file route.cpp.
bool VOM::route::path::operator== |
( |
const path & |
p | ) |
const |
comparison operator
Definition at line 128 of file route.cpp.
uint8_t VOM::route::path::preference |
( |
| ) |
const |
std::shared_ptr< route_domain > VOM::route::path::rd |
( |
| ) |
const |
std::string VOM::route::path::to_string |
( |
void |
| ) |
const |
convert to string format for debug purposes
Definition at line 147 of file route.cpp.
uint8_t VOM::route::path::weight |
( |
| ) |
const |
The documentation for this class was generated from the following files: