class IPEncapsNextHop

An IP nexthop that is an encapsulation tunnel. More...

Definition#include <nexthop.hh>
Template formIPEncapsNextHop<class A>
InheritsIPNextHop [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Specialization of IPNextHop for gateways that are encapsulation tunnels.

 IPEncapsNextHop (const A &from_addr)

IPEncapsNextHop

Constructor from an address.

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

int  type ()

type

Get the type of the nexthop.

Returns: the nexthop type. In this case, it is ENCAPS_NEXTHOP.

Reimplemented from NextHop.

string  str ()

str

[const]

Convert this nexthop from binary form to presentation format.

Returns: C++ string with the human-readable ASCII representation of the nexthop.

Reimplemented from NextHop.


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:43 2003, using kdoc 2.0a54+XORP.