diff options
author | Bruce A. Mah <bmah@es.net> | 2016-09-22 13:34:52 -0700 |
---|---|---|
committer | Bruce A. Mah <bmah@es.net> | 2016-09-22 13:34:52 -0700 |
commit | 7eeaa1cb070de41ff41d2d881ddb094db7f43352 (patch) | |
tree | 86b4ce72d41417cf1908413de23b0c8f6ee9d6e4 /src/iperf.h | |
parent | 353615b772201eb77786b25485bf20f4a50ce413 (diff) | |
download | iperf3-7eeaa1cb070de41ff41d2d881ddb094db7f43352.tar.gz |
First try at issue #461.
First, realize that we've been setting the congestion control (CC)
algorithm unnecessarily; rather than doing it for all listening or
connecting sockets, do it just for those sockets that are being used
for TCP test streams.
Record the CC algorithm in use (this handles the case where a CC algorithm
hasn't been specified), and have the client and server exchange this
information.
Report the CC algorithms that were used (note that it's theoretically
possible for the two ends of the test to be using different algorithms,
if no algorithm was explicitly specified and the two end hosts have
different defaults, or if one side allows setting the CC algorithm and
the other doesn't).
Committing to a branch to make it easier to test this code on a
wider combination of systems.
Diffstat (limited to 'src/iperf.h')
-rwxr-xr-x | src/iperf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iperf.h b/src/iperf.h index 5e56e48..235065c 100755 --- a/src/iperf.h +++ b/src/iperf.h @@ -220,6 +220,8 @@ struct iperf_test #endif /* HAVE_CPUSET_SETAFFINITY */ char *title; /* -T option */ char *congestion; /* -C option */ + char *congestion_used; /* what was actually used */ + char *remote_congestion_used; /* what the other side used */ char *pidfile; /* -P option */ char *logfile; /* --logfile option */ |