|
lwIP
2.1.1
Lightweight IP stack
|
Data Structures | |
| struct | _lwiperf_settings |
| struct | _lwiperf_state_tcp |
Macros | |
| #define | LWIPERF_TCP_MAX_IDLE_SEC 10U |
| #define | LWIPERF_SERVER_IP_TYPE IPADDR_TYPE_ANY |
| #define | LWIPERF_CHECK_RX_DATA 0 |
Typedefs | |
| typedef struct _lwiperf_settings | lwiperf_settings_t |
| typedef struct _lwiperf_state_tcp | lwiperf_state_tcp_t |
Functions | |
| void * | lwiperf_start_tcp_server_default (lwiperf_report_fn report_fn, void *report_arg) |
| 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_client_default (const ip_addr_t *remote_addr, 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_abort (void *lwiperf_session) |
lwIP iPerf server implementation
| #define LWIPERF_CHECK_RX_DATA 0 |
If this is 1, check that received data has the correct format
| #define LWIPERF_SERVER_IP_TYPE IPADDR_TYPE_ANY |
Change this if you don't want to lwiperf to listen to any IP version
| #define LWIPERF_TCP_MAX_IDLE_SEC 10U |
Specify the idle timeout (in seconds) after that the test fails
| typedef struct _lwiperf_settings lwiperf_settings_t |
This is the Iperf settings struct sent from the client
| typedef struct _lwiperf_state_tcp lwiperf_state_tcp_t |
Connection handle for a TCP iperf session