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  

ReassemblyQueue Class Reference

#include <rq.h>

List of all members.

Public Member Functions

 ReassemblyQueue (TcpSeq &rcvnxt)
int empty ()
int add (TcpSeq sseq, TcpSeq eseq, TcpFlag pflags, RqFlag rqflags=0)
int maxseq ()
int minseq ()
int total ()
int nexthole (TcpSeq seq, int &, int &)
int gensack (int *sacks, int maxsblock)
void clear ()
void init (TcpSeq rcvnxt)
TcpFlag clearto (TcpSeq)
TcpFlag cleartonxt ()
void dumplist ()

Static Public Member Functions

seginfonewseginfo ()
void deleteseginfo (seginfo *)

Protected Member Functions

TcpFlag coalesce (seginfo *, seginfo *, seginfo *)
void fremove (seginfo *)
void sremove (seginfo *)
void push (seginfo *)
void cnts (seginfo *, int &, int &)

Protected Attributes

int total_

Static Protected Attributes

seginfofreelist_ = NULL

Constructor & Destructor Documentation

ReassemblyQueue::ReassemblyQueue TcpSeq   rcvnxt [inline]

Member Function Documentation

TcpFlag ReassemblyQueue::add TcpSeq    sseq,
TcpSeq    eseq,
TcpFlag    pflags,
RqFlag    rqflags = 0

void ReassemblyQueue::clear  

TcpFlag ReassemblyQueue::clearto TcpSeq   

TcpFlag ReassemblyQueue::cleartonxt   [inline]

void ReassemblyQueue::cnts seginfo  ,
int &   ,
int &   

TcpFlag ReassemblyQueue::coalesce seginfo  ,
seginfo  ,

void ReassemblyQueue::deleteseginfo seginfo   [static]

void ReassemblyQueue::dumplist  

int ReassemblyQueue::empty   [inline]

void ReassemblyQueue::fremove seginfo   [protected]

int ReassemblyQueue::gensack int *    sacks,
int    maxsblock

void ReassemblyQueue::init TcpSeq    rcvnxt [inline]

int ReassemblyQueue::maxseq   [inline]

int ReassemblyQueue::minseq   [inline]

ReassemblyQueue::seginfo * ReassemblyQueue::newseginfo   [static]

int ReassemblyQueue::nexthole TcpSeq    seq,
int &   ,
int &   

void ReassemblyQueue::push seginfo   [protected]

void ReassemblyQueue::sremove seginfo   [protected]

int ReassemblyQueue::total   [inline]

Member Data Documentation

seginfo* ReassemblyQueue::bottom_ [protected]

ReassemblyQueue::seginfo * ReassemblyQueue::freelist_ = NULL [static, protected]

seginfo* ReassemblyQueue::head_ [protected]

seginfo* ReassemblyQueue::hint_ [protected]

TcpSeq& ReassemblyQueue::rcv_nxt_ [protected]

seginfo* ReassemblyQueue::tail_ [protected]

seginfo* ReassemblyQueue::top_ [protected]

int ReassemblyQueue::total_ [protected]

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