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  

LmsSender Class Reference

Inheritance diagram for LmsSender:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

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

Public Attributes

LmsSender * next_

Protected Member Functions

void handle_lms_pkt (Packet *pkt)
virtual void sendmsg (int nbytes, const char *flags=0)
void send_lms_pkt (int, int)
void send_dmcast (hdr_lms *lh, int seqno, int fid)
int add_req (Packet *rq)
void send_spm ()
void solicit_naks ()
void print_stats ()
void print_all_stats (int drops)

Protected Attributes

char uname_ [16]
int spm_seqno_
int lms_cost_
int lms_ttl_
int packetSize_
int lmsPacketSize_
int req_list_sz_
int req_rcvd_
int dup_reqs_
int dmcasts_sent_
int seqno_

Static Protected Attributes

int max_dup_naks_ = 0

Constructor & Destructor Documentation


Member Function Documentation

int LmsSender::add_req Packet   rq [protected]

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

Reimplemented from Agent.

void LmsSender::handle_lms_pkt Packet   pkt [protected]

void LmsSender::print_all_stats int    drops [protected]

void LmsSender::print_stats   [protected]

void LmsSender::recv Packet   pkt,

Reimplemented from Agent.

void LmsSender::send_dmcast hdr_lms   lh,
int    seqno,
int    fid

void LmsSender::send_lms_pkt int   ,

void LmsSender::send_spm   [protected]

void LmsSender::sendmsg int    nbytes,
const char *    flags = 0
[protected, virtual]

Reimplemented from Agent.

void LmsSender::solicit_naks   [protected]

Member Data Documentation

int LmsSender::dmcasts_sent_ [protected]

int LmsSender::dup_reqs_ [protected]

int LmsSender::lms_cost_ [protected]

int LmsSender::lms_ttl_ [protected]

int LmsSender::lmsPacketSize_ [protected]

int LmsSender::max_dup_naks_ = 0 [static, protected]

LmsSender* LmsSender::next_

int LmsSender::packetSize_ [protected]

Packet* LmsSender::req_list_ [protected]

int LmsSender::req_list_sz_ [protected]

int LmsSender::req_rcvd_ [protected]

int LmsSender::seqno_ [protected]

int LmsSender::spm_seqno_ [protected]

char LmsSender::uname_[16] [protected]

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