#include <dropinterface.h>
Collaboration diagram for DropInterface:

Public Member Functions | |
| DropInterface () | |
| virtual | ~DropInterface () |
| virtual void | recv (Packet *p, Handler *h=0) |
| virtual int | command (int argc, const char *const *argv) |
Protected Attributes | |
| LinkChannelModule * | ch_ |
Definition at line 47 of file dropinterface.h.
| DropInterface::DropInterface | ( | ) |
Class constructor
Definition at line 40 of file dropinterface.cc.
| DropInterface::~DropInterface | ( | ) | [virtual] |
Class destructor
Definition at line 44 of file dropinterface.cc.
| void DropInterface::recv | ( | Packet * | p, | |
| Handler * | h = 0 | |||
| ) | [virtual] |
Entry point for the packets. This metod call the drop method of the associated LinkChannelModule ch_. If threre is not LinkChannelModule associated it free the packet
| p | packet which can be dropped | |
| h | this parameter is not considered |
Definition at line 64 of file dropinterface.cc.
References ch_, Module::drop(), DROPINTERFACE_TRACE_DEPTH, and DROPINTERFACE_TRACE_REASON.
Here is the call graph for this function:

1.5.2