version 1.1, 2016/10/18 13:28:18
|
version 1.1.1.3, 2023/09/27 11:14:54
|
Line 1
|
Line 1
|
.TH LIBIPERF 3 "September 2015" ESnet "User Manuals" | .TH LIBIPERF 3 "January 2022" ESnet "User Manuals" |
.SH NAME |
.SH NAME |
libiperf \- API for iperf3 network throughput tester |
libiperf \- API for iperf3 network throughput tester |
|
|
Line 25 Setting test parameters:
|
Line 25 Setting test parameters:
|
.nf |
.nf |
void iperf_set_test_role( struct iperf_test *pt, char role ); |
void iperf_set_test_role( struct iperf_test *pt, char role ); |
void iperf_set_test_bind_address( struct iperf_test *t, char *bind_address ); |
void iperf_set_test_bind_address( struct iperf_test *t, char *bind_address ); |
|
void iperf_set_test_bind_dev( struct iperf_test *t, char *bind_dev ); |
void iperf_set_test_server_hostname( struct iperf_test *t, char *server_host ); |
void iperf_set_test_server_hostname( struct iperf_test *t, char *server_host ); |
void iperf_set_test_server_port( struct iperf_test *t, int server_port ); |
void iperf_set_test_server_port( struct iperf_test *t, int server_port ); |
void iperf_set_test_duration( struct iperf_test *t, int duration ); |
void iperf_set_test_duration( struct iperf_test *t, int duration ); |
Line 33 Setting test parameters:
|
Line 34 Setting test parameters:
|
void iperf_set_test_json_output( struct iperf_test *t, int json_output ); |
void iperf_set_test_json_output( struct iperf_test *t, int json_output ); |
int iperf_has_zerocopy( void ); |
int iperf_has_zerocopy( void ); |
void iperf_set_test_zerocopy( struct iperf_test* t, int zerocopy ); |
void iperf_set_test_zerocopy( struct iperf_test* t, int zerocopy ); |
|
void iperf_set_test_tos( struct iperf_test* t, int tos ); |
.fi |
.fi |
|
Authentication functions: |
|
.nf |
|
void iperf_set_test_client_username(struct iperf_test *ipt, char *client_username) |
|
void iperf_set_test_client_password(struct iperf_test *ipt, char *client_password) |
|
void iperf_set_test_client_rsa_pubkey(struct iperf_test *ipt, char *client_rsa_pubkey_base64) |
|
.fi |
Running a test: |
Running a test: |
.nf |
.nf |
int iperf_run_client(struct iperf_test *); |
int iperf_run_client(struct iperf_test *); |
int iperf_run_server(struct iperf_test *); |
int iperf_run_server(struct iperf_test *); |
void iperf_test_reset(struct iperf_test *); | void iperf_reset_test(struct iperf_test *); |
.fi |
.fi |
Output: |
Output: |
.nf |
.nf |
Line 99 of the iperf3 source tree.
|
Line 107 of the iperf3 source tree.
|
.SH AUTHORS |
.SH AUTHORS |
A list of the contributors to iperf3 can be found within the |
A list of the contributors to iperf3 can be found within the |
documentation located at |
documentation located at |
\fChttp://software.es.net/iperf/dev.html#authors\fR. | \fChttps://software.es.net/iperf/dev.html#authors\fR. |
|
|
.SH "SEE ALSO" |
.SH "SEE ALSO" |
iperf3(1), |
iperf3(1), |
http://software.es.net/iperf/ | https://software.es.net/iperf/ |