xorp

DiscardNextHop Class Reference

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

#include <nexthop.hh>

Inheritance diagram for DiscardNextHop:
NextHop

List of all members.

Public Member Functions

 DiscardNextHop ()
 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 discard interface.

Specialization of NextHop for blackholing traffic efficiently.


Member Function Documentation

string DiscardNextHop::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 DiscardNextHop::type ( ) [inline, virtual]

Get the type of the nexthop.

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

Implements NextHop.


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