ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <object.h>
#include <queue.h>
#include <drop-tail.h>
#include <packet.h>
#include "lib/bsd-list.h"
#include <cmu-trace.h>
Compounds | |
class | CMUPriQueue |
class | CMUPriQueueHandler |
struct | ifqueue |
Defines | |
#define | IFQ_MAXLEN 50 |
#define | IF_QFULL(ifq) ((ifq)->ifq_len >= (ifq)->ifq_maxlen) |
#define | IF_DROP(ifq) ((ifq)->ifq_drops++) |
#define | IF_ENQUEUE(ifq, p) |
#define | IF_DEQUEUE(ifq, p) |
#define | IFQ_RTPROTO 0 |
#define | IFQ_REALTIME 1 |
#define | IFQ_LOWDELAY 2 |
#define | IFQ_NORMAL 3 |
#define | IFQ_MAX 4 |
Typedefs | |
typedef int(* | PacketFilter )(Packet *, void *) |
|
Value: { \ (p) = (ifq)->ifq_head; \ if (p) { \ if (((ifq)->ifq_head = (p)->next_) == 0) \ (ifq)->ifq_tail = 0; \ (p)->next_ = 0; \ (ifq)->ifq_len--; \ } \ } |
|
|
|
Value: { \ (p)->next_ = 0; \ if ((ifq)->ifq_tail == 0) \ (ifq)->ifq_head = p; \ else \ (ifq)->ifq_tail->next_ = (p); \ (ifq)->ifq_tail = (p); \ (ifq)->ifq_len++; \ } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|