#include <virusthrottle.h>
Inheritance diagram for VirusThrottle:

Public Member Functions | |
| VirusThrottle () | |
| virtual void | Handle (Event *, Time_t) |
| void | ProcessOutPacket (Packet *, IPAddr_t, int, Interface *) |
| bool | InWorkingSet (IPAddr_t) |
| void | Delay (IPV4Header *, Packet *, IPAddr_t, int, Interface *) |
Static Public Member Functions | |
| void | SetWorkingSetSize (int size) |
| void | SetDelayQueueLimit (int size) |
| Count_t | TotalBlocked () |
| Count_t | FalseDetected () |
Static Public Attributes | |
| unsigned int | delayqueuelimit = 100 |
| unsigned int | workingsetsize = 5 |
| unsigned int | blocked = 0 |
| unsigned int | falsedetection = 0 |
Private Attributes | |
| DelayQueue_t | delayqueue |
| WorkingSet_t | workingset |
| bool | conn |
| bool | scheduled |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Implements Handler. |
|
|
|
|
||||||||||||||||||||
|
Reimplemented from WormContainment. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1