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  

LmsReceiver Class Reference

Inheritance diagram for LmsReceiver:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 LmsReceiver ()
int command (int argc, const char *const *argv)
void recv (Packet *pkt, Handler *)
virtual void timeout (int type, int lo, int hi)

Public Attributes

LmsReceiver * next_

Protected Member Functions

void handle_lms_pkt (Packet *pkt)
void send_refresh ()
void send_dmcast (hdr_lms *lh, int seqno, int fid)
int add_req (Packet *rq)
void send_nak (int sqn, int lo, int hi)
void create_nak (int lo, int hi)
void delete_nak (LmsNak *n)
LmsNakfind_nak (int i)
void add_rdl (int rseq, double clock)
int exists_rdl (int rseq)
void print_stats ()
void print_all_stats (int drops)

Protected Attributes

char uname_ [8]
int dataSize_
double rtt_
nsaddr_t lms_src_
nsaddr_t lms_group_
nsaddr_t upstream_lms_
int lms_cost_
int rql_sz_
int rdl_sz_
int ls_last_rq_
int ls_last_seq_
int ls_smpl_ivl_
int ls_cntdown_
int req_sent_
int req_rcvd_
int dup_reqs_

Static Protected Attributes

int max_dup_naks_ = 0

Constructor & Destructor Documentation


Member Function Documentation

void LmsReceiver::add_rdl int    rseq,
double    clock

int LmsReceiver::add_req Packet   rq [protected]

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

Reimplemented from Agent.

void LmsReceiver::create_nak int    lo,
int    hi

void LmsReceiver::delete_nak LmsNak   n [protected]

int LmsReceiver::exists_rdl int    rseq [protected]

LmsNak * LmsReceiver::find_nak int    i [protected]

void LmsReceiver::handle_lms_pkt Packet   pkt [protected]

void LmsReceiver::print_all_stats int    drops [protected]

void LmsReceiver::print_stats   [protected]

void LmsReceiver::recv Packet   pkt,

Reimplemented from Agent.

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

void LmsReceiver::send_nak int    sqn,
int    lo,
int    hi

void LmsReceiver::send_refresh   [protected]

void LmsReceiver::timeout int    type,
int    lo,
int    hi

Member Data Documentation

int LmsReceiver::dataSize_ [protected]

int LmsReceiver::dup_reqs_ [protected]

int LmsReceiver::lms_cost_ [protected]

nsaddr_t LmsReceiver::lms_group_ [protected]

nsaddr_t LmsReceiver::lms_src_ [protected]

int LmsReceiver::ls_cntdown_ [protected]

int LmsReceiver::ls_last_rq_ [protected]

int LmsReceiver::ls_last_seq_ [protected]

int LmsReceiver::ls_smpl_ivl_ [protected]

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

LmsNak* LmsReceiver::nak_ [protected]

LmsReceiver* LmsReceiver::next_

RcvBuffer* LmsReceiver::rcvbuf_ [protected]

struct lms_rdl* LmsReceiver::rdl_ [protected]

int LmsReceiver::rdl_sz_ [protected]

int LmsReceiver::req_rcvd_ [protected]

int LmsReceiver::req_sent_ [protected]

Packet* LmsReceiver::rql_ [protected]

int LmsReceiver::rql_sz_ [protected]

double LmsReceiver::rtt_ [protected]

char LmsReceiver::uname_[8] [protected]

nsaddr_t LmsReceiver::upstream_lms_ [protected]

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