Zephyr API 3.6.99
Loading...
Searching...
No Matches
zperf.h File Reference

Zperf API. More...

Go to the source code of this file.

Data Structures

struct  zperf_results
 Performance results. More...
 

Typedefs

typedef void(* zperf_callback) (enum zperf_status status, struct zperf_results *result, void *user_data)
 Zperf callback function used for asynchronous operations.
 

Functions

int zperf_udp_upload (const struct zperf_upload_params *param, struct zperf_results *result)
 Synchronous UDP upload operation.
 
int zperf_tcp_upload (const struct zperf_upload_params *param, struct zperf_results *result)
 Synchronous TCP upload operation.
 
int zperf_udp_upload_async (const struct zperf_upload_params *param, zperf_callback callback, void *user_data)
 Asynchronous UDP upload operation.
 
int zperf_tcp_upload_async (const struct zperf_upload_params *param, zperf_callback callback, void *user_data)
 Asynchronous TCP upload operation.
 
int zperf_udp_download (const struct zperf_download_params *param, zperf_callback callback, void *user_data)
 Start UDP server.
 
int zperf_tcp_download (const struct zperf_download_params *param, zperf_callback callback, void *user_data)
 Start TCP server.
 
int zperf_udp_download_stop (void)
 Stop UDP server.
 
int zperf_tcp_download_stop (void)
 Stop TCP server.
 

Detailed Description

Zperf API.