diff options
author | Bruce A. Mah <bmah@es.net> | 2014-12-22 14:45:40 -0800 |
---|---|---|
committer | Bruce A. Mah <bmah@es.net> | 2014-12-22 14:45:40 -0800 |
commit | dba611dbe4914f3eb908cec782cd9b5eee1450da (patch) | |
tree | abd84ff5defdbc5d280ede35120b9258e0b69012 /src/iperf.h | |
parent | 4450b1b86d4d6f61d3f408c44f4e87f3c1a5d700 (diff) | |
download | iperf3-dba611dbe4914f3eb908cec782cd9b5eee1450da.tar.gz |
Add one-off mode, where the server serves exactly one request.
Primarily useful for bwctl integration, this is enabled with the -1
and/or --one-off flags.
Fixes #230, based on a patch by @i2aaron.
Signed-off-by: Bruce A. Mah <bmah@es.net>
Diffstat (limited to 'src/iperf.h')
-rw-r--r-- | src/iperf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iperf.h b/src/iperf.h index 15e7ddb..8a9e941 100644 --- a/src/iperf.h +++ b/src/iperf.h @@ -217,6 +217,7 @@ struct iperf_test /* boolean variables for Options */ int daemon; /* -D option */ + int one_off; /* -1 option */ int no_delay; /* -N option */ int reverse; /* -R option */ int verbose; /* -V option - verbose mode */ |