|
INET Framework for OMNeT++/OMNEST
|
Classes | |
| class | Flow |
| class | Classifier |
| class | WFQClassifier |
| class | ACLClassifier |
| class | DSCPClassifier |
| class | PRECClassifier |
| class | MatchAnyClassifier |
| class | MatchNoneClassifier |
| class | QueueConfig |
| class | SNPacket |
| class | SubQueue |
Enumerations | |
| enum | QueueType { Q_FIFO = 1, Q_PQ = 2, Q_CQ = 3, Q_WFQ = 4, Q_CBWFQ = 5, Q_WRED = 6 } |
| enum | SubQueueType { S_FIFO = 1, S_WFQ = 2, S_WRED = 3 } |
| enum | EnqueueingResult { QUEUED = 1, NOMATCH = 2, NOTQUEUED = 3 } |
Functions | |
| std::ostream & | operator<< (std::ostream &ostr, SubQueue &sbq) |
Definition at line 50 of file AnsaQosSystem.h.
| enum ANSAQOS::QueueType |
Definition at line 43 of file AnsaQosSystem.h.
| std::ostream& ANSAQOS::operator<< | ( | std::ostream & | ostr, |
| SubQueue & | sbq | ||
| ) | [inline] |
Definition at line 213 of file AnsaQosSystem.h.
{
switch (sbq.getQueueType())
{
case ANSAQOS::Q_FIFO :
ostr << "No subqueues in FIFO queue";
break;
case ANSAQOS::Q_WFQ :
ostr << "(depth/weight/total drops) ";
ostr << sbq.getQueueLength() << "/";
ostr << sbq.getWeight() << "/";
ostr << sbq.getDroped() << " ";
ostr << sbq.getClassifierInfo();
break;
case ANSAQOS::Q_PQ :
switch (sbq.getQueueId())
{
case 1 :
ostr << "High: ";
break;
case 2 :
ostr << "Medium: ";
break;
case 3 :
ostr << "Normal: ";
break;
case 4 :
ostr << "Low: ";
break;
default:
ostr << "Error";
}
ostr << sbq.getQueueLength() << "/";
ostr << sbq.getMaxLength() << "/";
ostr << sbq.getDroped() ;
ostr << " (size/max/drops) Classifier: ";
ostr << sbq.getClassifierInfo();
break;
case ANSAQOS::Q_CQ :
ostr << "Queue "<< sbq.getQueueId() <<": ";
ostr << sbq.getQueueLength() << "/";
ostr << sbq.getMaxLength() << "/";
ostr << sbq.getDroped() ;
ostr << " (size/max/drops) ByteCount: ";
ostr << sbq.getActualBytes() << "/";
ostr << sbq.getWeight() ;
ostr << " (actual/max) Classifier: ";
ostr << sbq.getClassifierInfo();
break;
default :
ostr << "Error";
}
return ostr;
}