Representation of a forwarding table entry.
Fte ()
| Fte |
explicit Fte (int family)
| Fte |
Fte (const N& net,
const A& nexthop,
const string& ifname,
const string& vifname,
uint32_t metric,
uint32_t admin_distance,
bool xorp_route)
| Fte |
Fte (const N& net)
| Fte |
const N& net ()
| net |
[const]
const A& nexthop ()
| nexthop |
[const]
const string& ifname ()
| ifname |
[const]
const string& vifname ()
| vifname |
[const]
uint32_t metric ()
| metric |
[const]
uint32_t admin_distance ()
| admin_distance |
[const]
bool xorp_route ()
| xorp_route |
[const]
bool is_deleted ()
| is_deleted |
[const]
void mark_deleted ()
| mark_deleted |
bool is_unresolved ()
| is_unresolved |
[const]
void mark_unresolved ()
| mark_unresolved |
bool is_connected_route ()
| is_connected_route |
[const]
void mark_connected_route ()
| mark_connected_route |
void zero ()
| zero |
inline bool is_host_route ()
| is_host_route |
[const]
Returns: true if this is a host route.
string str ()
| str |
[const]
dst = 127.0.0.1 nexthop = 127.0.0.1 netmask = 255.255.255.255 if = lo0 metric = 10 admin_distance = 20
Returns: A string representation of the entry.