Discussion:
Re-ordering of Packets in network using ns-3
Shikha Bakshi
2018-11-27 05:35:50 UTC
Permalink
Hi All,

I'm working on evaluating the performance of TCP in cases where packets are
reordered in the network.

Can you suggest what would be best way to reorder packets in ns-3
simulation?

Is there an API that might help in achieving this?

Thanks,
Shikha Bakshi
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Tom Henderson
2018-12-03 15:15:23 UTC
Permalink
Post by Shikha Bakshi
Hi All,
I'm working on evaluating the performance of TCP in cases where packets
are reordered in the network.
Can you suggest what would be best way to reorder packets in ns-3
simulation?
Is there an API that might help in achieving this?
Thanks,
Shikha Bakshi
I'm not aware of any existing API to do this.

For training purposes, I once wrote a 'Reorder Queue' for ns-3 that
could reorder some packets. You can find the code here but it is no
longer compatible with ns-3 mainline code.

https://www.nsnam.org/tutorials/consortium15/reorder-queue.h
https://www.nsnam.org/tutorials/consortium15/reorder-queue.cc

There is a utility called DelayBox that could do this; it was ported to
ns-3 a while back but is not integrated into the current codebase and
would have to be ported to the latest ns-3.

https://github.com/weiglemc/tmix-ns3/releases/download/aug2012/delaybox-ns3-10.tgz

These may give you some hints on how to approach this, but you will need
to do some further work on it yourself.

- Tom
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Loading...