class IPExternalNextHop

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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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 kobe.xorp.net on Wed Jan 7 19:10:36 2009, using kdoc 2.0a54+XORP.