class IPPeerNextHop

A nexthop that is an immediate neighbor. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Specialization of IPNextHop for gateways that are the immediate neighbors of this router. Most IGP nexthops should be PeerNextHops.

 IPPeerNextHop (const A &from_addr)

IPPeerNextHop

Constructor from an address.

Parameters:

ipv4IPv4 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 PEER_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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:24 2008, using kdoc 2.0a54+XORP.