From ca5fbe955517feeb7790a68a36ddd4a369fdf445 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Thu, 7 Jun 2018 23:55:24 +0200 Subject: [PATCH] traffic-control: Add Prio queue disc --- CHANGES.html | 1 + doc/models/Makefile | 1 + doc/models/source/traffic-control.rst | 1 + .../traffic-control/queue-discs-benchmark.cc | 12 +- src/traffic-control/doc/prio.rst | 76 ++++ src/traffic-control/model/prio-queue-disc.cc | 224 ++++++++++++ src/traffic-control/model/prio-queue-disc.h | 113 ++++++ .../test/prio-queue-disc-test-suite.cc | 324 ++++++++++++++++++ src/traffic-control/wscript | 3 + 9 files changed, 753 insertions(+), 2 deletions(-) create mode 100644 src/traffic-control/doc/prio.rst create mode 100644 src/traffic-control/model/prio-queue-disc.cc create mode 100644 src/traffic-control/model/prio-queue-disc.h create mode 100644 src/traffic-control/test/prio-queue-disc-test-suite.cc diff --git a/CHANGES.html b/CHANGES.html index 0758fd006..615786106 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -61,6 +61,7 @@ us a note on ns-developers mailing list.

nodes to be placed outside of buildings defined in the scenario.
  • The Hash() method has been added to the QueueDiscItem class to compute the hash of various fields of the packet header (depending on the packet type).
  • +
  • Added a priority queue disc (PrioQueueDisc).
  • Changes to existing API: