A UDP traffic generator and analyzer, for measuring packet loss, reordering, duplication and delay.
Udptool is a tool used to generate and receive traffic; udptool --tx generates a UDP stream of controllable packet size and delay distribution, having a 12-byte header and a randomized payload; udptool --rx receives such streams and computes reception statistics. Both tools log packets to an ASCII file with a one-line header that can be loaded into R with a the Boost ASIO library.
Here is the udptool GIT repository .