xorp

IPNextHop< A > Class Template Reference

Template class for nexthop information. More...

#include <nexthop.hh>

Inheritance diagram for IPNextHop< A >:
NextHop IPEncapsNextHop< A > IPExternalNextHop< A > IPPeerNextHop< A >

List of all members.

Public Member Functions

 IPNextHop (const A &from_ipaddr)
 Constructor from an address.
const A & addr () const
 Get the address of the nexthop.

Protected Attributes

_addr

Detailed Description

template<class A>
class IPNextHop< A >

Template class for nexthop information.

The information contained is the nexthop address.


Constructor & Destructor Documentation

template<class A >
IPNextHop< A >::IPNextHop ( const A &  from_ipaddr)

Constructor from an address.

Parameters:
from_ipaddrIPv4 or IPv6 or IPvX address to initialize nexthop.

Member Function Documentation

template<class A>
const A& IPNextHop< A >::addr ( ) const [inline]

Get the address of the nexthop.

Returns:
the address of the nexthop.

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