class DiscardNextHop

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

 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Detailed Description

Specialization of NextHop for blackholing traffic efficiently.

 DiscardNextHop ()


Default constructor

int  type ()


Get the type of the nexthop.

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

Reimplemented from NextHop.

string  str ()



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