ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Filter Class Reference

#include <filter.h>

Inheritance diagram for Filter:

Connector NsObject TclObject Handler FieldFilter MultiFieldFilter List of all members.

Public Types

enum  filter_e { DROP, PASS, FILTER, DUPLIC }

Public Member Functions

 Filter ()
NsObjectfilter_target ()

Protected Member Functions

virtual filter_e filter (Packet *p)
int command (int argc, const char *const *argv)
void recv (Packet *, Handler *h=0)

Protected Attributes


Member Enumeration Documentation

enum Filter::filter_e

Enumeration values:

Constructor & Destructor Documentation


Member Function Documentation

int Filter::command int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from Connector.

Reimplemented in MultiFieldFilter.

Filter::filter_e Filter::filter Packet   p [protected, virtual]

Reimplemented in FieldFilter, and MultiFieldFilter.

NsObject* Filter::filter_target   [inline]

void Filter::recv Packet  ,
Handler   h = 0
[protected, virtual]

Reimplemented from Connector.

Member Data Documentation

NsObject* Filter::filter_target_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.