37 #ifndef LWIP_HDR_APPS_LWIPERF_H
38 #define LWIP_HDR_APPS_LWIPERF_H
47 #define LWIPERF_TCP_PORT_DEFAULT 5001
uint32_t u32_t
Definition: arch.h:129
uint16_t u16_t
Definition: arch.h:127
ip6_addr_t ip_addr_t
Definition: ip_addr.h:318
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)
Definition: lwiperf.h:80
void * lwiperf_start_tcp_client_default(const ip_addr_t *remote_addr, lwiperf_report_fn report_fn, void *report_arg)
lwiperf_client_type
Definition: lwiperf.h:68
@ LWIPERF_DUAL
Definition: lwiperf.h:72
@ LWIPERF_TRADEOFF
Definition: lwiperf.h:74
@ LWIPERF_CLIENT
Definition: lwiperf.h:70
lwiperf_report_type
Definition: lwiperf.h:51
@ LWIPERF_TCP_ABORTED_LOCAL_TXERROR
Definition: lwiperf.h:61
@ LWIPERF_TCP_DONE_CLIENT
Definition: lwiperf.h:55
@ LWIPERF_TCP_DONE_SERVER
Definition: lwiperf.h:53
@ LWIPERF_TCP_ABORTED_LOCAL
Definition: lwiperf.h:57
@ LWIPERF_TCP_ABORTED_LOCAL_DATAERROR
Definition: lwiperf.h:59
@ LWIPERF_TCP_ABORTED_REMOTE
Definition: lwiperf.h:63
void lwiperf_abort(void *lwiperf_session)
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_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)