History log of /iperf/src/iperf.h (Results 1 – 25 of 156)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2b8ad3e4 24-May-2022 Dimitri Papadopoulos <[email protected]>

Fix typos found by codespell

Signed-off-by: Dimitri Papadopoulos <[email protected]>


# b97df9a9 29-Apr-2022 David Bar-On <[email protected]>

Add debug level option to --debug


# 7bdd5b0e 20-Feb-2022 David Bar-On <[email protected]>

Fix for issue 1215 - add TCP option


Revision tags: 3.11
# 15ec8e6e 15-Jan-2022 David Bar-On <[email protected]>

Check also for legacy connect reply from the server


# 2eace5a9 08-Jan-2022 David Bar-On <[email protected]>

Fix 1123/1212 - ignore out of order packts during UDP connection in Reverse mode


# e919e8c2 03-Sep-2021 a1346054 <[email protected]>

trim excess whitespace


# 50d6cce6 03-Sep-2021 a1346054 <[email protected]>

fix spelling


Revision tags: 3.10.1, 3.10
# 47985d7f 19-May-2021 Shuo Chen <[email protected]>

Add tcp_info.snd_wnd to JSON output.

tcp_info.snd_wnd is available on FreeBSD and NetBSD since TCP_INFO was
added. It was added to Linux 5.4 in late 2019 and becomes available
in Ubuntu 20.04 and D

Add tcp_info.snd_wnd to JSON output.

tcp_info.snd_wnd is available on FreeBSD and NetBSD since TCP_INFO was
added. It was added to Linux 5.4 in late 2019 and becomes available
in Ubuntu 20.04 and Debian 11.

Tested on:
* Debian 11 running on x86-64 with this field.
* Debian 10 armv7 running on Raspberry Pi 2 without this field.
* NetBSD 9.2 armv7 running on Raspberry Pi 3 with this field.
* FreeBSD 13 aarch64 running on Raspberry Pi 4 with this field.

show more ...


# 8ffe72e2 26-Feb-2021 David Bar-On <[email protected]>

enh: Add --rcv-timeout option (#1125)

Enhancement to PR #1101 - add --rcv-timeout option to allow setting the timeout for receiving packet from the sender in a running test, instead of the constant

enh: Add --rcv-timeout option (#1125)

Enhancement to PR #1101 - add --rcv-timeout option to allow setting the timeout for receiving packet from the sender in a running test, instead of the constant 120 seconds set in #1101. This is to allow short timeout, so the server will not be "busy" for long time doing nothing. Also, the resolution is set to ms (with minimum of 100ms), as at least in fast networks that may be required.

Since both the server and the client can be a sender, the option is allowed for both. The server setting is for all tests - the client is not sending its --rcv-timeout setting to the server.

While changing the help message, few printf constants from other help lines were changed to parameters.

show more ...


# 49a5771a 16-Feb-2021 David Bar-On <[email protected]>

IP don't fragment support (#1119)

Adds an --dont-fragment flag that sets the DF flag in the header for UDP/IPv4 tests.

Co-authored-by: root <[email protected]>
Co-authored-by: Bru

IP don't fragment support (#1119)

Adds an --dont-fragment flag that sets the DF flag in the header for UDP/IPv4 tests.

Co-authored-by: root <[email protected]>
Co-authored-by: Bruce A. Mah <[email protected]>

show more ...


# be66b575 02-Feb-2021 David Bar-On <[email protected]>

Server select timeout to prevent server to get stuck because of client or network errors (#1101)


# 21581a72 22-Dec-2020 Bruce A. Mah <[email protected]>

enh: Support SO_BINDTODEVICE (#1097)

This lets iperf work better with multi-homed machines and
VRF.

Fixes #1089.

Based on a patch by Ben Greear <[email protected]> via PR #817.

Co-au

enh: Support SO_BINDTODEVICE (#1097)

This lets iperf work better with multi-homed machines and
VRF.

Fixes #1089.

Based on a patch by Ben Greear <[email protected]> via PR #817.

Co-authored-by: Ben Greear <[email protected]>

show more ...


# d1260e6f 21-Dec-2020 Tony Weng <[email protected]>

fix (tcp): Fix behavior with partial sends when using -k with TCP (#1082)

We now only count an attempted send once all of its bytes are sent
(and will perform partial sends if necessary to finish s

fix (tcp): Fix behavior with partial sends when using -k with TCP (#1082)

We now only count an attempted send once all of its bytes are sent
(and will perform partial sends if necessary to finish sending all the bytes).
Previously, partial sends were counted as completed, for the purpose
of the -k option.

show more ...


# bd143779 12-Nov-2020 ralcini <[email protected]>

Configurable value for time drift between client/server for authentication request issue1065 (#1070)

* Issue 1065

* feat: Allow to configure a custom value for time drift between client/server fo

Configurable value for time drift between client/server for authentication request issue1065 (#1070)

* Issue 1065

* feat: Allow to configure a custom value for time drift between client/server for authentication

The use case is to support scenarios where it's not possible to enforce sync between client and server times.

* enh: drift redefined with skew

Co-authored-by: Francesco Marino <[email protected]>

show more ...


Revision tags: 3.9
# 70c85f62 14-Aug-2020 Bruce A. Mah <[email protected]>

fix: Unbreak build on CentOS 6. (#1040)

The fix eliminates a duplicate definition of the iperf_size_t datatype
when both iperf.h and iperf_api.h are included.

Fixes #1039.


# 1a908ce1 23-Jul-2020 Bruce A. Mah <[email protected]>

feat: Add a --timestamps flag to prepend a timestamp per output line. (#1028)

This flag takes an optional argument, which is a format specification to strftime(3)...this allows for custom timestamp

feat: Add a --timestamps flag to prepend a timestamp per output line. (#1028)

This flag takes an optional argument, which is a format specification to strftime(3)...this allows for custom timestamp formats. Based on a suggested implementation by @davidBar-On. Towards #909.

show more ...


# a0c6f0ec 10-Jul-2020 David Bar-On <[email protected]>

feat: Issue #937 - Add a server option to limit total allowed throughput (#999)


Revision tags: 3.8.1, 3.8
# a0af1e68 16-Nov-2019 Xiang Xiao <[email protected]>

change some file mode from 100755 to 100644

Part of #935.

Change-Id: I5c563ad0cffce1a75b6a8039aa9a2e1543763880
Signed-off-by: Xiang Xiao <[email protected]>
(cherry picked from commit d7e30bea79

change some file mode from 100755 to 100644

Part of #935.

Change-Id: I5c563ad0cffce1a75b6a8039aa9a2e1543763880
Signed-off-by: Xiang Xiao <[email protected]>
(cherry picked from commit d7e30bea791e7bcd28eebf1ca6fe39e4f00ddc3c)
Signed-off-by: Bruce A. Mah <[email protected]>

show more ...


Revision tags: 3.7
# 38bac802 18-Jun-2019 Bruce A. Mah <[email protected]>

fix: Emit appropriate error messages from getaddrinfo(3). (#888)

* fix: Emit appropriate error messages from getaddrinfo(3).

This fixes an omission likely caused when switching resolver
library

fix: Emit appropriate error messages from getaddrinfo(3). (#888)

* fix: Emit appropriate error messages from getaddrinfo(3).

This fixes an omission likely caused when switching resolver
library calls. Fixes #846.

show more ...


# 0778f04c 13-Dec-2018 Boris Okunev <[email protected]>

Bidirect mode implementation (#780)

Adds the `--bidir` flag to support simultaneous two-way tests.

Submitted by @LikHait. Fixes #201.


Revision tags: 3.6
# cde81d76 16-May-2018 Ben Fox-Moore <[email protected]>

Add initial portable time abstraction


# 829d619a 10-May-2018 Bruce A. Mah <[email protected]>

First try at implementing --extra-data. (#729)

Towards #600.


# e28f12c7 27-Apr-2018 ralcini <[email protected]>

Add authentication functions to libiperf (#713)

Fixes #712. A subsequent commit will add some information to the libiperf manual page.


# 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
# 19329249 16-Nov-2017 Bruce A. Mah <[email protected]>

Fix some compile-time warnings on macOS (#671)

* Attempt to quiet a warning with print(3) formatting. As a part of this, factor out PRIu64 support / compatibility (added in #664) into a header file

Fix some compile-time warnings on macOS (#671)

* Attempt to quiet a warning with print(3) formatting. As a part of this, factor out PRIu64 support / compatibility (added in #664) into a header file and make it more portable by taking into account the size of a long integer. Based on email conversation with: @pprindeville.

* Follow-up to pull request #669, fixing compiler warnings on platforms that don't have HAVE_TCP_CONGESTION defined.

show more ...


1234567