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  

DnhWormApp Class Reference

#include <worm.h>

Inheritance diagram for DnhWormApp:

WormApp Application Process TclObject List of all members.

Public Member Functions

 DnhWormApp ()
void timeout ()
int command (int argc, const char *const *argv)

Protected Member Functions

void recv (int nbytes)
void send_probe ()
void probe ()

Protected Attributes

int infected_
double p_inv_

Static Protected Attributes

int infect_total_ = 0
int addr_low_ = 0
int addr_high_ = 0
float local_p_ = 0
int default_gw_ = 0

Constructor & Destructor Documentation


Member Function Documentation

int DnhWormApp::command int    argc,
const char *const *    argv

Reimplemented from WormApp.

void DnhWormApp::probe   [protected]

void DnhWormApp::recv int    nbytes [protected, virtual]

Reimplemented from WormApp.

void DnhWormApp::send_probe   [protected]

void DnhWormApp::timeout   [virtual]

Reimplemented from WormApp.

Member Data Documentation

int DnhWormApp::addr_high_ = 0 [static, protected]

int DnhWormApp::addr_low_ = 0 [static, protected]

int DnhWormApp::default_gw_ = 0 [static, protected]

int DnhWormApp::infect_total_ = 0 [static, protected]

int DnhWormApp::infected_ [protected]

float DnhWormApp::local_p_ = 0 [static, protected]

double DnhWormApp::p_inv_ [protected]

ProbingTimer* DnhWormApp::timer_ [protected]

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