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  

SFQ Class Reference

Inheritance diagram for SFQ:

Queue< T > Connector NsObject TclObject Handler List of all members.

Public Member Functions

 SFQ ()
virtual int command (int argc, const char *const *argv)
Packetdeque (void)
void enque (Packet *pkt)

Protected Member Functions

void initsfq ()
void clear ()
int hash (Packet *)

Protected Attributes

int maxqueue_
int buckets_
int occupied
int fairshare

Constructor & Destructor Documentation


Member Function Documentation

void SFQ::clear   [protected]

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

Reimplemented from Connector.

Packet * SFQ::deque void    [virtual]

Implements Queue< T >.

void SFQ::enque Packet   pkt [virtual]

Implements Queue< T >.

int SFQ::hash Packet   [protected]

void SFQ::initsfq   [protected]

Member Data Documentation

PacketSFQ* SFQ::active [protected]

PacketSFQ* SFQ::bucket [protected]

int SFQ::buckets_ [protected]

int SFQ::fairshare [protected]

int SFQ::maxqueue_ [protected]

int SFQ::occupied [protected]

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