class Fte

Forwarding Table Entry. More...

Definition#include <fti.hh>
Template formFte<typename A>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Representation of a routing table entry.

 Fte ()

Fte

 Fte (const IPNet<A>& net, const A& gw, const string& ifname, const string& vifname)

Fte

 Fte (IPNet<A> net)

Fte

inline const IPNet<A>&  net ()

net

[const]

inline const A&  gateway ()

gateway

[const]

inline const string&  ifname ()

ifname

[const]

inline const string&  vifname ()

vifname

[const]

void  zero ()

zero

reset all members

inline bool  host_route ()

host_route

[const]

Returns: true if this is a host route.

string  str ()

str

[const]

dst = 127.0.0.1 gateway = 127.0.0.1 netmask = 255.255.255.255 if = lo0

Returns: A string representation of the entry.


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.