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  

CMUPriQueue Class Reference

#include <dsr-priqueue.h>

Inheritance diagram for CMUPriQueue:

Connector NsObject TclObject Handler List of all members.

Public Member Functions

 CMUPriQueue ()
int command (int argc, const char *const *argv)
void recv (Packet *p, Handler *)
void prq_resume (void)
void Terminate (void)
Packetprq_get_nexthop (nsaddr_t id)
int prq_isfull (Packet *p)
int prq_length (void)

Protected Member Functions

void trace (char *fmt,...)
void log_stats (void)

Protected Attributes

int qlen_logthresh_
int fw_logthresh_
int last_ifqlen_ [IFQ_MAX]
int stat_send_
int stat_recv_
int stat_blocked_

Private Member Functions

int prq_assign_queue (Packet *p)
void prq_enqueue (Packet *p)
Packetprq_dequeue (void)
void prq_validate (void)

Private Attributes

ifqueue prq_snd_ [IFQ_MAX]
nsaddr_t prq_ipaddr_
int prq_blocked_
CMUPriQueueHandler prq_qh_

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from Connector.

void CMUPriQueue::log_stats void    [protected]

int CMUPriQueue::prq_assign_queue Packet   p [private]

Packet * CMUPriQueue::prq_dequeue void    [private]

void CMUPriQueue::prq_enqueue Packet   p [private]

Packet * CMUPriQueue::prq_get_nexthop nsaddr_t    id

int CMUPriQueue::prq_isfull Packet   p

int CMUPriQueue::prq_length void   

void CMUPriQueue::prq_resume void   

void CMUPriQueue::prq_validate void    [private]

void CMUPriQueue::recv Packet   p,

Reimplemented from Connector.

void CMUPriQueue::Terminate void   

void CMUPriQueue::trace char *    fmt,

Member Data Documentation

int CMUPriQueue::fw_logthresh_ [protected]

int CMUPriQueue::last_ifqlen_[IFQ_MAX] [protected]

int CMUPriQueue::prq_blocked_ [private]

nsaddr_t CMUPriQueue::prq_ipaddr_ [private]

Trace* CMUPriQueue::prq_logtarget_ [private]

CMUPriQueueHandler CMUPriQueue::prq_qh_ [private]

struct ifqueue CMUPriQueue::prq_snd_[IFQ_MAX] [private]

int CMUPriQueue::qlen_logthresh_ [protected]

int CMUPriQueue::stat_blocked_ [protected]

int CMUPriQueue::stat_recv_ [protected]

int CMUPriQueue::stat_send_ [protected]

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