diff options
author | Dimitri Staessens <[email protected]> | 2018-06-05 15:55:31 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-06-05 15:59:01 +0200 |
commit | 6a44d1437bf4cd57f1783942f5d8f5c7c9a1cd74 (patch) | |
tree | d3b462cac6a26ddab99557a2ef6e12ab3fa1c847 /src/tools/oping/oping.c | |
parent | f9bd3b31c8152b037bf1dbc3409a017d57d4a2e6 (diff) | |
download | ouroboros-6a44d1437bf4cd57f1783942f5d8f5c7c9a1cd74.tar.gz ouroboros-6a44d1437bf4cd57f1783942f5d8f5c7c9a1cd74.zip |
tools: Add out-of-order statistics to oping
This adds out-of-order statistics to the oping tool. A packet is
considered out-of-order if its sequence number is lower than the
highest sequence number already received.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools/oping/oping.c')
-rw-r--r-- | src/tools/oping/oping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c index 40578742..99f1e9d1 100644 --- a/src/tools/oping/oping.c +++ b/src/tools/oping/oping.c @@ -75,6 +75,7 @@ struct c { /* stats */ uint32_t sent; uint32_t rcvd; + size_t ooo; double rtt_min; double rtt_max; |