Azinix

Q_Cos_t Struct Reference

Data structure for differentiated service based on class of service. More...

#include <q.h>


Data Fields

int numClasses
lsListpacketQueueArray
int numPktsInQueue


Detailed Description

Data structure for differentiated service based on class of service.

The class of service identified by a contiguous set of integers starting from 0. COS is strict: when sending packets on the egress, we consider packets of class k only when there are no packets of class k+1 or more.

Definition at line 39 of file q.h.


Field Documentation

int Q_Cos_t::numClasses

Definition at line 41 of file q.h.

lsList* Q_Cos_t::packetQueueArray

Definition at line 42 of file q.h.

int Q_Cos_t::numPktsInQueue

Definition at line 46 of file q.h.