lwIP 2.2.0
Lightweight IP stack
|
Typedefs | |
typedef void(* | lwiperf_report_fn) (void *arg, enum lwiperf_report_type report_type, const ip_addr_t *local_addr, u16_t local_port, const ip_addr_t *remote_addr, u16_t remote_port, u32_t bytes_transferred, u32_t ms_duration, u32_t bandwidth_kbitpsec) |
Functions | |
void * | lwiperf_start_tcp_server (const ip_addr_t *local_addr, u16_t local_port, lwiperf_report_fn report_fn, void *report_arg) |
void * | lwiperf_start_tcp_server_default (lwiperf_report_fn report_fn, void *report_arg) |
void * | lwiperf_start_tcp_client (const ip_addr_t *remote_addr, u16_t remote_port, enum lwiperf_client_type type, lwiperf_report_fn report_fn, void *report_arg) |
void * | lwiperf_start_tcp_client_default (const ip_addr_t *remote_addr, lwiperf_report_fn report_fn, void *report_arg) |
void | lwiperf_abort (void *lwiperf_session) |
lwIP iPerf server implementation
typedef void(* lwiperf_report_fn) (void *arg, enum lwiperf_report_type report_type, const ip_addr_t *local_addr, u16_t local_port, const ip_addr_t *remote_addr, u16_t remote_port, u32_t bytes_transferred, u32_t ms_duration, u32_t bandwidth_kbitpsec) |
Prototype of a report function that is called when a session is finished. This report function can show the test results.
arg | Report_arg from when the test was started. |
report_type | contains the test result |
local_addr | The local address from the session |
local_port | The local port |
remote_addr | The remote address from the session |
remote_port | The remote port |
bytes_transferred | Total transferred bytes |
ms_duration | Total session duration, in milliseconds |
bandwidth_kbitpsec | Average bandwidth during the session, in kbps |
enum lwiperf_client_type |
enum lwiperf_report_type |
lwIPerf test results