Fte< A, N > Class Template Reference

Forwarding Table Entry. More...

#include <fte.hh>

Inheritance diagram for Fte< A, N >:

List of all members.

Public Member Functions

 Fte (int family)
 Fte (const N &net, const A &nexthop, const string &ifname, const string &vifname, uint32_t metric, uint32_t admin_distance, bool xorp_route)
 Fte (const N &net)
const N & net () const
const A & nexthop () const
const string & ifname () const
const string & vifname () const
uint32_t metric () const
uint32_t admin_distance () const
bool xorp_route () const
bool is_deleted () const
void mark_deleted ()
bool is_unresolved () const
void mark_unresolved ()
bool is_connected_route () const
void mark_connected_route ()
void zero ()
 Reset all members.
bool is_host_route () const
string str () const

Private Attributes

string _ifname
string _vifname
uint32_t _metric
uint32_t _admin_distance
bool _xorp_route
bool _is_deleted
bool _is_unresolved
bool _is_connected_route

Detailed Description

template<typename A, typename N>
class Fte< A, N >

Forwarding Table Entry.

Representation of a forwarding table entry.

Member Function Documentation

template<typename A, typename N>
bool Fte< A, N >::is_host_route ( ) const [inline]
true if this is a host route.
template<typename A, typename N>
string Fte< A, N >::str ( ) const [inline]
a string representation of the entry.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations