History log of /iperf/src/iperf_util.h (Results 1 – 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 3.11, 3.10.1, 3.10, 3.9
# 3888e044 12-Jun-2020 David Bar-On <[email protected]>

chore: Change applicable function arguments from 'char *' to 'const char *' (#1006)

Fixes #946. Should not present any functional changes.


Revision tags: 3.8.1, 3.8, 3.7, 3.6
# cbea72b6 20-Apr-2018 Phil Levchenko <[email protected]>

Add --repeating-payload option to the client side (#726)

This option simulates payload in iperf2, which is just repetitive pattern
(ASCII '0..9' repeating), as opposed to iperf3 where payload is ra

Add --repeating-payload option to the client side (#726)

This option simulates payload in iperf2, which is just repetitive pattern
(ASCII '0..9' repeating), as opposed to iperf3 where payload is random.
It might help in testing and reveal problems in networking gear with hardware
compression (including WiFi access points), where iperf2 and iperf3 perform
differently, just based on payload entropy.

show more ...


Revision tags: 3.5, 3.4
# 480824e3 11-Nov-2017 Todd C. Miller <[email protected]>

Remove a few unnecessary headers and unused functions. (#667)

* EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h, not sysexits.h
so no need to include the latter.

* No need to include pthre

Remove a few unnecessary headers and unused functions. (#667)

* EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h, not sysexits.h
so no need to include the latter.

* No need to include pthread.h.

* Remove the no longer used delay() function.
This also removes the reliance on nanosleep().

* Remove get_tcp_windowsize() and set_tcp_windowsize() which are unused.
These days, iperf uses get/setsockopt() with SO_SNDBUF SO_RCVBUF directly.

show more ...


# 73b02f98 11-Nov-2017 Bruce A. Mah <[email protected]>

Implement daemon(3) for systems that don't have it.

Fixes (and based on a patch in) #369, with some reworking by @bmah888 and @pprindeville.


# 95d40896 10-Nov-2017 Bruce A. Mah <[email protected]>

Add function declaration for our getline() compat implementation.
Should have been a part of #663, which fixes #607.


Revision tags: 3.3, 3.2, 3.2rc1
# e7ab564c 21-May-2017 Sami Farin <[email protected]>

Return random ascii-string in make_cookie. (#582)

Having hostname and microsecond timestamp in the cookie is not
necessary. Also fill test buffer with data from /dev/urandom
instead of using rand

Return random ascii-string in make_cookie. (#582)

Having hostname and microsecond timestamp in the cookie is not
necessary. Also fill test buffer with data from /dev/urandom
instead of using random().

show more ...


Revision tags: 3.1.7, 3.1.6, 3.1.5, 3.1.4, 3.0.12, 3.1.3, 3.1.2, 3.1.1, 3.1, 3.1b3, 3.1b2, 3.1b1, 3.0.11, 3.0.10, 3.0.9, 3.0.8
# da9f046f 29-Sep-2014 Bruce A. Mah <[email protected]>

Update license and copyright text to conform to LBNL standards.

Note that the license remains a 3-clause BSD license; the only
license changes were to add the name of the program and to add
some pun

Update license and copyright text to conform to LBNL standards.

Note that the license remains a 3-clause BSD license; the only
license changes were to add the name of the program and to add
some punctuation.

show more ...


Revision tags: 3.0.7, 3.0.6, 3.0.5
# 1ceacc13 16-Jun-2014 Fredrik Fornwall <[email protected]>

Include <sys/select.h> for select(2)

The sys/select.h include is the correct one and fixes building on Android.

See e.g. http://pubs.opengroup.org/onlinepubs/009604599/functions/pselect.html


Revision tags: 3.0.4
# 40050b7b 14-Apr-2014 Bruce A. Mah <[email protected]>

Fix breakage due to iperf.h depending on the autoconf config.h file but
not including it.

To fix this required us to change config.h to iperf_config.h (to
avoid potential filename collisions with th

Fix breakage due to iperf.h depending on the autoconf config.h file but
not including it.

To fix this required us to change config.h to iperf_config.h (to
avoid potential filename collisions with this generic name). Then
iperf.h could include this.

Adjust the existing header file inclusions to track this, and also
canonicalize their inclusion to be at the top of *.c files.

show more ...


Revision tags: 3.0.3, 3.0.2, 3.0.1
# a4c1383a 05-Dec-2013 Jef Poskanzer <[email protected]>

Fixed bug where -R mode selected on a closed file.

Also added a debugging routine to dump an fd_set.


# 056361fc 26-Nov-2013 Jef Poskanzer <[email protected]>

Show user/system CPU usage as well as total.


Revision tags: 3.0-BETA5
# e96ab740 09-Mar-2013 Jef Poskanzer <[email protected]>

Move the JSON initialization/finalization insode the API.


# b5e0751f 07-Feb-2013 Jef Poskanzer <[email protected]>

(Mostly) switched error reporting to a single routine that handles JSON mode.


# 9673370f 05-Dec-2012 Jef Poskanzer <[email protected]>

Move non-timer routines from timer.[hc] to iperf_util.[hc]


# 2ab386bf 10-Aug-2012 jef <[email protected]>

Got rid of libuuid stuff, for portability.


# 7d375156 20-Apr-2011 Jon Dugan <[email protected]>

update license info for all source files


Revision tags: 3.0-BETA4, 3.0-BETA3
# 8a0b5a5d 22-Jul-2010 sethdelliott <devnull@localhost>

Added support for adding new protocols. Slightly modified iperf_error()


Revision tags: 3.0-BETA2, 3.0-BETA1
# b0b16b86 09-Jul-2010 Jon Dugan <[email protected]>

rename uuid.[ch] to iperf_util.[ch] to avoid confusion on some platforms