class DiscardNextHop

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

Definition#include <nexthop.hh>
InheritsNextHop [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Specialization of NextHop for blackholing traffic efficiently.

 DiscardNextHop ()

DiscardNextHop

Default constructor

int  type ()

type

Get the type of the nexthop.

Returns: the nexthop type. In this case, it is DISCARD_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 possum.icir.org on Wed Dec 11 16:50:31 2002, using kdoc 2.0a54+XORP.