Mistake on this page?
Report an issue in GitHub or email us
Typedefs | Enumerations
lwiperf.h File Reference

lwIP iPerf server implementation More...

#include "lwip/opt.h"
#include "lwip/ip_addr.h"

Go to the source code of this file.

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)
 Prototype of a report function that is called when a session is finished. More...
 

Enumerations

Detailed Description

lwIP iPerf server implementation

Definition in file lwiperf.h.

Typedef Documentation

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.

Parameters
report_typecontains the test result

Definition at line 80 of file lwiperf.h.

Enumeration Type Documentation

Control.

Enumerator
LWIPERF_CLIENT 

Unidirectional tx only test.

LWIPERF_DUAL 

Do a bidirectional test simultaneously.

LWIPERF_TRADEOFF 

Do a bidirectional test individually.

Definition at line 67 of file lwiperf.h.

lwIPerf test results

Enumerator
LWIPERF_TCP_DONE_SERVER 

The server side test is done.

LWIPERF_TCP_DONE_CLIENT 

The client side test is done.

LWIPERF_TCP_ABORTED_LOCAL 

Local error lead to test abort.

LWIPERF_TCP_ABORTED_LOCAL_DATAERROR 

Data check error lead to test abort.

LWIPERF_TCP_ABORTED_LOCAL_TXERROR 

Transmit error lead to test abort.

LWIPERF_TCP_ABORTED_REMOTE 

Remote side aborted the test.

Definition at line 50 of file lwiperf.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.