|
|
Mrib (int family)
| Mrib |
Constructor for a given address family
Parameters:
family | the address family. |
Mrib (const IPvXNet& dest_prefix)
| Mrib |
Constructor for a given network address prefix.
Parameters:
dest_prefix | the network address prefix. |
Mrib (const Mrib& mrib)
| Mrib |
Copy constructor for a given Mrib entry.
Parameters:
mrib | the Mrib entry to copy. |
bool operator== (const Mrib& other)
| operator== |
[const]
Equality Operator
Parameters:
other | the right-hand operand to compare against. |
Returns: true if the left-hand operand is numerically same as the right-hand operand.
const IPvXNet& dest_prefix ()
| dest_prefix |
[const]
Get the network prefix address.
Returns: the network prefix address.
void set_dest_prefix (const IPvXNet& v)
| set_dest_prefix |
Set the network prefix address.
Parameters:
v | the value of the network prefix address to set. |
const IPvX& next_hop_router_addr ()
| next_hop_router_addr |
[const]
Get the next-hop router address.
Returns: the next-hop router address.
void set_next_hop_router_addr (const IPvX& v)
| set_next_hop_router_addr |
Set the next-hop router address.
Parameters:
v | the value of the next-hop router address to set. |
uint32_t next_hop_vif_index ()
| next_hop_vif_index |
[const]
Get the vif index of the interface toward the next-hop router.
Returns: the vif index of the interface toward the next-hop router.
void set_next_hop_vif_index (uint32_t v)
| set_next_hop_vif_index |
Set the vif index of the interface toward the next-hop router.
Parameters:
v | the value of the vif index to set. |
uint32_t metric_preference ()
| metric_preference |
[const]
Get the metric preference value.
Returns: the metric preference value.
void set_metric_preference (uint32_t v)
| set_metric_preference |
Set the metric preference value.
Parameters:
v | the value of the metric preference to set. |
uint32_t metric ()
| metric |
[const]
Get the metric value.
Returns: the metric value.
void set_metric (uint32_t v)
| set_metric |
Set the metric value.
Parameters:
v | the value of the metric to set. |
string str ()
| str |
[const]
Convert this entry from binary form to presentation format.
Returns: C++ string with the human-readable ASCII representation of the entry.