class IPExternalNextHop

An IP nexthop that is not an intermediate neighbor. More...

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

Public Methods


Detailed Description

The nexthop that is a regular router's address, but the router is not one of our immediate neighbors.

Specialization of IPNextHop for a regular router's address, but the router is not one of our immediate neighbors. The normal case when this will happen is with IBGP, where the nexthop is either the exit router from the AS, or the entry router to the next AS.

 IPExternalNextHop (const A &from_addr)

IPExternalNextHop

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 EXTERNAL_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 Thu Aug 28 12:51:57 2003, using kdoc 2.0a54+XORP.