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  

WormApp Class Reference

#include <worm.h>

Inheritance diagram for WormApp:

Application Process TclObject AnWormApp DnhWormApp List of all members.

Public Member Functions

 WormApp ()
virtual void timeout ()
void process_data (int, AppData *)
virtual int command (int argc, const char *const *argv)

Protected Member Functions

virtual void recv (int nbytes)

Protected Attributes

int my_addr_
double scan_rate_
int scan_port_
int p_size_

Static Protected Attributes

double total_addr_ = pow(2, 32)
int first_probe_ = 0

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from Application.

Reimplemented in DnhWormApp, and AnWormApp.

void WormApp::process_data int   ,

Reimplemented from Process.

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

Reimplemented from Application.

Reimplemented in DnhWormApp, and AnWormApp.

void WormApp::timeout   [virtual]

Reimplemented in DnhWormApp, and AnWormApp.

Member Data Documentation

int WormApp::first_probe_ = 0 [static, protected]

int WormApp::my_addr_ [protected]

int WormApp::p_size_ [protected]

int WormApp::scan_port_ [protected]

double WormApp::scan_rate_ [protected]

double WormApp::total_addr_ = pow(2, 32) [static, protected]

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