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  

ScoreBoard Class Reference

#include <scoreboard.h>

Inheritance diagram for ScoreBoard:

ScoreBoardRQ List of all members.

Public Member Functions

 ScoreBoard (ScoreBoardNode *sbn, int sz)
virtual ~ScoreBoard ()
virtual int IsEmpty ()
virtual void ClearScoreBoard ()
virtual int GetNextRetran ()
virtual void MarkRetran (int retran_seqno)
virtual void MarkRetran (int retran_seqno, int snd_nxt)
virtual int UpdateScoreBoard (int last_ack_, hdr_tcp *)
virtual int CheckUpdate ()
virtual int CheckSndNxt (hdr_tcp *)
virtual int GetNextUnacked (int seqno)

Protected Member Functions

void resizeSB (int sz)

Protected Attributes

int first_
int length_
int sbsize_
int changed_

Constructor & Destructor Documentation

ScoreBoard::ScoreBoard ScoreBoardNode   sbn,
int    sz

virtual ScoreBoard::~ScoreBoard   [inline, virtual]

Member Function Documentation

int ScoreBoard::CheckSndNxt hdr_tcp   [virtual]

Reimplemented in ScoreBoardRQ.

virtual int ScoreBoard::CheckUpdate   [inline, virtual]

Reimplemented in ScoreBoardRQ.

void ScoreBoard::ClearScoreBoard   [virtual]

Reimplemented in ScoreBoardRQ.

int ScoreBoard::GetNextRetran   [virtual]

Reimplemented in ScoreBoardRQ.

int ScoreBoard::GetNextUnacked int    seqno [virtual]

Reimplemented in ScoreBoardRQ.

virtual int ScoreBoard::IsEmpty   [inline, virtual]

Reimplemented in ScoreBoardRQ.

void ScoreBoard::MarkRetran int    retran_seqno,
int    snd_nxt

Reimplemented in ScoreBoardRQ.

void ScoreBoard::MarkRetran int    retran_seqno [virtual]

Reimplemented in ScoreBoardRQ.

void ScoreBoard::resizeSB int    sz [protected]

int ScoreBoard::UpdateScoreBoard int    last_ack_,

Reimplemented in ScoreBoardRQ.

Member Data Documentation

int ScoreBoard::changed_ [protected]

int ScoreBoard::first_ [protected]

int ScoreBoard::length_ [protected]

ScoreBoardNode* ScoreBoard::SBN [protected]

int ScoreBoard::sbsize_ [protected]

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