xorp

UnreachableNextHop Class Reference

A nexthop that is the unreachable interface. More...

#include <nexthop.hh>

Inheritance diagram for UnreachableNextHop:
NextHop

List of all members.

Public Member Functions

 UnreachableNextHop ()
 Default constructor.
int type ()
 Get the type of the nexthop.
string str () const
 Convert this nexthop from binary form to presentation format.

Detailed Description

A nexthop that is the unreachable interface.

Specialization of NextHop for adding routing entries that return ICMP destination unreachable messages.


Member Function Documentation

string UnreachableNextHop::str ( ) const [virtual]

Convert this nexthop from binary form to presentation format.

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

Implements NextHop.

int UnreachableNextHop::type ( ) [inline, virtual]

Get the type of the nexthop.

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

Implements NextHop.


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