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  

FloodingAgent Class Reference

#include <flooding.h>

Inheritance diagram for FloodingAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 FloodingAgent ()
int command (int argc, const char *const *argv)
void recv (Packet *, Handler *)

Public Attributes

Flooding_Entry routing_table [MAX_DATA_TYPE]

Protected Member Functions

void send_to_dmux (Packet *pkt, Handler *h)
void Terminate ()
void reset ()
void ConsiderNew (Packet *pkt)
Packetcreate_packet ()
Packetprepare_message (unsigned int dtype, ns_addr_t to_addr, int msg_type)
void DataForSink (Packet *pkt)
void StopSource ()
void MACprepare (Packet *pkt)
void MACsend (Packet *pkt, Time delay=0)
void trace (char *fmt,...)

Protected Attributes

int pk_count
Pkt_Hash_Table PktTable

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from Agent.

void FloodingAgent::ConsiderNew Packet   pkt [protected]

Packet * FloodingAgent::create_packet   [protected]

void FloodingAgent::DataForSink Packet   pkt [protected]

void FloodingAgent::MACprepare Packet   pkt [protected]

void FloodingAgent::MACsend Packet   pkt,
Time    delay = 0

Packet * FloodingAgent::prepare_message unsigned int    dtype,
ns_addr_t    to_addr,
int    msg_type

void FloodingAgent::recv Packet  ,

Reimplemented from Agent.

void FloodingAgent::reset   [protected, virtual]

Reimplemented from NsObject.

void FloodingAgent::send_to_dmux Packet   pkt,
Handler   h
[inline, protected]

void FloodingAgent::StopSource   [protected]

void FloodingAgent::Terminate   [protected]

void FloodingAgent::trace char *    fmt,

Member Data Documentation

NsObject* FloodingAgent::ll [protected]

Node* FloodingAgent::node [protected]

int FloodingAgent::pk_count [protected]

Pkt_Hash_Table FloodingAgent::PktTable [protected]

NsObject* FloodingAgent::port_dmux [protected]

Flooding_Entry FloodingAgent::routing_table[MAX_DATA_TYPE]

Trace* FloodingAgent::tracetarget [protected]

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