Prusa MINI Firmware overview
|
Go to the source code of this file.
Macros | |
#define | LWIPERF_TCP_PORT_DEFAULT 5001 |
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_abort (void *lwiperf_session) |
lwIP iPerf server implementation
#define LWIPERF_TCP_PORT_DEFAULT 5001 |
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.
report_type | contains the test result |
enum lwiperf_report_type |
lwIPerf test results
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 | ||
) |