From 11bdd2e3c8e5f385e02fe7378ebfcbb08f13c218 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Wed, 8 Mar 2017 18:02:10 +0100 Subject: [PATCH] flow-monitor: Keep track of the DSCP value of packets --- CHANGES.html | 4 ++ examples/traffic-control/traffic-control.cc | 10 +++- .../model/ipv4-flow-classifier.cc | 56 ++++++++++++++++++- src/flow-monitor/model/ipv4-flow-classifier.h | 17 ++++++ .../model/ipv6-flow-classifier.cc | 56 ++++++++++++++++++- src/flow-monitor/model/ipv6-flow-classifier.h | 17 ++++++ 6 files changed, 155 insertions(+), 5 deletions(-) diff --git a/CHANGES.html b/CHANGES.html index ea6f7f92b..d2af31c2e 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -86,6 +86,10 @@ us a note on ns-developers mailing list.

optional and if not specified defaults to the previous behavior (Time::S).
  • TxopTrace: new trace source exported by EdcaTxopN.
  • +
  • A GetDscpCounts method is added to Ipv4FlowClassifier and Ipv6FlowClassifier + which returns a vector of pairs (dscp,count), each of which indicates how many packets with the + associated dscp value have been classified for a given flow. +
  • Changes to existing API: