class PolicyFilter

A generic policy filter. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

It may accept/reject/modify any route which supports VarRW.

ConfError (class)

ConfError

 PolicyFilter ()

PolicyFilter

 ~PolicyFilter ()

~PolicyFilter

void  configure (const string& str)

configure

Configure the filter

Parameters:

strfilter configuration.

Reimplemented from FilterBase.

void  reset ()

reset

Reset the filter.

Filter becomes a NO-operation -- default action should be returned everytime an acceptRoute is called.

Reimplemented from FilterBase.

bool  acceptRoute (VarRW& varrw)

acceptRoute

See if a route is accepted by the filter. The route may be modified by the filter [through VarRW].

Parameters:

varrwthe VarRW associated with the route being filtered.

Returns: true if the route is accepted, false otherwise.

Reimplemented from FilterBase.

void  set_profiler_exec (PolicyProfiler* profiler)

set_profiler_exec


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:01 2009, using kdoc 2.0a54+XORP.