diff options
author | Bruce A. Mah <bmah@es.net> | 2014-04-14 13:43:02 -0700 |
---|---|---|
committer | Bruce A. Mah <bmah@es.net> | 2014-04-14 13:43:02 -0700 |
commit | 3e9b0eb334781971dca88bf975ef1a63fb307a67 (patch) | |
tree | f2e56e7aa7027126f688d2f317889277c4d644e8 /src/iperf_api.c | |
parent | a57bcc2d77804f6e60162014f641830e942daa22 (diff) | |
download | iperf3-3e9b0eb334781971dca88bf975ef1a63fb307a67.tar.gz |
Recent feature detection changes have gotten the -C (TCP congestion
algorithm selection) option to work on FreeBSD for free, starting with
FreeBSD 9. Update various documentation places to note this. One
specifies the congestion algorithm in the same was on Linux, although
the names of the algorithms are (at least in the general case) different.
"sysctl net.inet.tcp.cc" on FreeBSD provides a list of available
algorithms, which are implemented as loadable kernel modules.
Rename the --linux-congestion long option to --congestion (retaining
the old option as a deprecated synonym).
Diffstat (limited to 'src/iperf_api.c')
-rw-r--r-- | src/iperf_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iperf_api.c b/src/iperf_api.c index dc62ff7..e6bc671 100644 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -574,6 +574,7 @@ iperf_parse_arguments(struct iperf_test *test, int argc, char **argv) #endif /* HAVE_CPU_AFFINITY */ {"title", required_argument, NULL, 'T'}, #if defined(HAVE_TCP_CONGESTION) + {"congestion", required_argument, NULL, 'C'}, {"linux-congestion", required_argument, NULL, 'C'}, #endif /* HAVE_TCP_CONGESTION */ #if defined(HAVE_SCTP) |