History log of /iperf/examples/mic.c (Results 1 – 8 of 8)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 3.11, 3.10.1, 3.10, 3.9, 3.8.1, 3.8, 3.7, 3.6, 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 ...


Revision tags: 3.3, 3.2, 3.2rc1, 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, 3.0.7, 3.0.6, 3.0.5, 3.0.4
# c110a92d 19-May-2014 Bruce A. Mah <[email protected]>

Programs using definitions from iperf_config.h (in particular
HAVE_STDINT_H) need to include that header.

Aftermath of #174.


# 426221a3 19-May-2014 Bruce A. Mah <[email protected]>

Check HAVE_STDINT_H before trying to include <stdint.h>.

Partial fix for compilation on some Solaris versions. Fixes #175.

Submitted by: @marksolaris


# 081ba8e4 16-Apr-2014 Bruce A. Mah <[email protected]>

Commit a version of the patch for #125 for testing.

Originally submitted by: @i2aaron


# 2939863b 07-Apr-2014 Bruce A. Mah <[email protected]>

Resolves #147.

Squashed commit of the following:

commit 23ef0d047fb5396df671be9245f7872153fc299c
Author: Bruce A. Mah <[email protected]>
Date: Mon Apr 7 13:35:29 2014 -0700

Add a few API calls to

Resolves #147.

Squashed commit of the following:

commit 23ef0d047fb5396df671be9245f7872153fc299c
Author: Bruce A. Mah <[email protected]>
Date: Mon Apr 7 13:35:29 2014 -0700

Add a few API calls to the client-side example program so we can
exercise recently-added JSON-related functionality.

commit 5f8301e8d0380133d533da9b2e39ca4ac522e1c3
Author: Bruce A. Mah <[email protected]>
Date: Mon Apr 7 13:16:39 2014 -0700

Revert part of earlier change.

We still want to save the JSON for libiperf consumers that might want it,
but preserve the prior behavior of writing that JSON to stdout. This
maintains (roughly) the behavior of older libiperf, in which libiperf
consumers (such as the iperf3 executable) do not need to explicitly print
the JSON if that's all they're doing with it.

commit 173dcdb05867af00103205bfe39d1b71e18689e9
Author: Bruce A. Mah <[email protected]>
Date: Tue Mar 25 13:55:45 2014 -0700

Update manpage for newly-added library calls.

Bump document date while here.

Part of Issue #147.

commit 51a275de9463febc440d41cee9d971fcd381e01c
Author: Bruce A. Mah <[email protected]>
Date: Tue Mar 25 13:30:09 2014 -0700

Allow consumers of libiperf3 to get the JSON output for a just-completed test.

This changes the behavior of iperf_json_finish() so that it no longer
outputs JSON output, but saves the rendered output in a NUL-terminated
string buffer. After calling iperf_run_server() or iperf_run_client(),
the client application should check iperf_get_test_json_output() to see
if it returns a non-NULL pointer. If so, there is JSON data available
for it to print or otherwise consume. The buffer is automatically
deallocated when the containing iperf_test structure is deallocated
with iperf_free_test().

Also adds a new API call iperf_get_test_outfile() to find the output
FILE* structure.

Modifies the iperf3 application to use the new API. Users of iperf3
will not notice any functional change.

No effect in "normal" output mode (non-JSON).

show more ...


Revision tags: 3.0.3, 3.0.2, 3.0.1
# 8bdc8fff 29-Aug-2013 Jef Poskanzer <[email protected]>

Fix bug in reverse mode.


# a27f6534 09-Apr-2013 Jef Poskanzer <[email protected]>

Added second concurrency model based on SIGALRM.


Revision tags: 3.0-BETA5
# 3e587542 12-Mar-2013 Jef Poskanzer <[email protected]>

Added library man page and examples subdir.