iPerf type definitions#

Modules#

sl_iperf_opt

sl_iperf_stats

sl_iperf_conn

sl_iperf_log_str_buff

sl_iperf_log

sl_iperf_test

sl_iperf_udp_datagram

sl_iperf_udp_srv_hdr

sl_iperf_udp_clnt_hdr_v1

sl_iperf_clnt_hdr_ext

sl_iperf_clnt_hdr_isoch_payload

sl_iperf_clnt_hdr_ext_starttime_fq

sl_iperf_clnt_hdr_ext_isoch_settings

sl_iperf_udp_clnt_hdr

Enumerations#

enum
SL_IPERF_MODE_SERVER
SL_IPERF_MODE_CLIENT
}

Iperf mode.

enum
SL_IPERF_TEST_STATUS_FREE
SL_IPERF_TEST_STATUS_QUEUED
SL_IPERF_TEST_STATUS_RUNNING
SL_IPERF_TEST_STATUS_DONE
SL_IPERF_TEST_STATUS_ERR
}

Test status type definition.

enum
SL_IPERF_OPT_BW_FORMAT_BITS_PER_SEC
SL_IPERF_OPT_BW_FORMAT_KBITS_PER_SEC
SL_IPERF_OPT_BW_FORMAT_MBITS_PER_SEC
SL_IPERF_OPT_BW_FORMAT_GBITS_PER_SEC
SL_IPERF_OPT_BW_FORMAT_BYTES_PER_SEC
SL_IPERF_OPT_BW_FORMAT_KBYTES_PER_SEC
SL_IPERF_OPT_BW_FORMAT_MBYTES_PER_SEC
SL_IPERF_OPT_BW_FORMAT_GBYTES_PER_SEC
}

Bandwidth format enumeration type definition.

enum
SL_IPERF_ERR_NONE
SL_IPERF_ERR_NETWORK_CONNECTION
SL_IPERF_ERR_SERVER_SOCK_BIND
SL_IPERF_ERR_SERVER_SOCK_OPEN
SL_IPERF_ERR_SERVER_SOCK_CLOSE
SL_IPERF_ERR_SERVER_SOCK_LISTEN
SL_IPERF_ERR_SERVER_SOCK_ACCEPT
SL_IPERF_ERR_SERVER_SOCK_RX
SL_IPERF_ERR_SERVER_SOCK_WIN_SIZE
SL_IPERF_ERR_CLIENT_SOCK_OPEN
SL_IPERF_ERR_CLIENT_SOCK_BIND
SL_IPERF_ERR_CLIENT_SOCK_CONN
SL_IPERF_ERR_CLIENT_SOCK_TX
SL_IPERF_ERR_CLIENT_SOCK_TX_INV_ARG
SL_IPERF_ERR_CLIENT_SOCK_CLOSE
}

iPerf error enumeration type definition

Typedefs#

typedef enum sl_iperf_mode

Iperf mode.

typedef uint16_t

Test ID type definition.

typedef enum sl_iperf_status

Test status type definition.

Bandwidth format enumeration type definition.

typedef struct sl_iperf_opt

iPerf test option type definition

typedef struct sl_iperf_stats

iPerf statistic data type definition

typedef struct sl_iperf_conn

iPerf connection descriptor type definition

typedef enum sl_iperf_err

iPerf error enumeration type definition

typedef struct sl_iperf_log_str_buff

Log string buffer type definition.

typedef struct sl_iperf_log

iPerf log type definition

typedef int32_t(*
sl_iperf_log_print_t)(sl_iperf_log_t *const log, const char *format,...)

Printer function type definition.

typedef struct sl_iperf_test

iPerf test descriptor

typedef void(*
sl_iperf_test_callback_t)(sl_iperf_test_t *)

iPerf Test callback type definition

typedef struct sl_iperf_udp_datagram

iPerf UDP datagram structure type definition

typedef struct sl_iperf_udp_srv_hdr

iPerf server header

iPerf CLient Header v1

typedef struct sl_iperf_clnt_hdr_ext

iPerf Client Header extended

iPerf Client Isochronus payload

iPerf Client header extended FQ start time

typedef struct sl_iperf_udp_clnt_hdr

iPerf Client UDP header

Macros#

#define

iPerf UDP server final ack size

#define

iPerf header version1 mask

#define

iPerf header version2 mask

#define
SL_IPERF_HEADER_EXTEND (0x40000000UL)

iPerf header extended mask

#define

iPerf header seqno 64bit mask

#define

iPerf header UDP test mask

#define

iPerf header epoch start mask

#define

iPerf header triptime mask

#define

iPerf header time mode mask

#define

iPerf Server TX FINACK max count to retry

#define

iPerf ip address string max length definition

Enumeration Documentation#

sl_iperf_mode#

sl_iperf_mode

Iperf mode.

Enumerator
SL_IPERF_MODE_SERVER

Server mode.

SL_IPERF_MODE_CLIENT

Client mode.


Definition at line 65 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_status#

sl_iperf_status

Test status type definition.

Enumerator
SL_IPERF_TEST_STATUS_FREE

Test unused.

SL_IPERF_TEST_STATUS_QUEUED

Test queued.

SL_IPERF_TEST_STATUS_RUNNING

Test running.

SL_IPERF_TEST_STATUS_DONE

Test done with no error.

SL_IPERF_TEST_STATUS_ERR

Test done with error.


Definition at line 76 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_opt_bw_format#

sl_iperf_opt_bw_format

Bandwidth format enumeration type definition.

Enumerator
SL_IPERF_OPT_BW_FORMAT_BITS_PER_SEC

Bits/sec format.

SL_IPERF_OPT_BW_FORMAT_KBITS_PER_SEC

KBits/sec format.

SL_IPERF_OPT_BW_FORMAT_MBITS_PER_SEC

MBits/sec format.

SL_IPERF_OPT_BW_FORMAT_GBITS_PER_SEC

GBits/sec format.

SL_IPERF_OPT_BW_FORMAT_BYTES_PER_SEC

Bytes/sec format.

SL_IPERF_OPT_BW_FORMAT_KBYTES_PER_SEC

KBytes/sec format.

SL_IPERF_OPT_BW_FORMAT_MBYTES_PER_SEC

MBytes/sec format.

SL_IPERF_OPT_BW_FORMAT_GBYTES_PER_SEC

GBytes/sec format.


Definition at line 93 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_err#

sl_iperf_err

iPerf error enumeration type definition

Enumerator
SL_IPERF_ERR_NONE

No error.

SL_IPERF_ERR_NETWORK_CONNECTION

Network connection error.

SL_IPERF_ERR_SERVER_SOCK_BIND

Server socket bind error.

SL_IPERF_ERR_SERVER_SOCK_OPEN

Server socket open error.

SL_IPERF_ERR_SERVER_SOCK_CLOSE

Server socket close error.

SL_IPERF_ERR_SERVER_SOCK_LISTEN

Server socket listen error.

SL_IPERF_ERR_SERVER_SOCK_ACCEPT

Server socket accept error.

SL_IPERF_ERR_SERVER_SOCK_RX

Server socket RX error.

SL_IPERF_ERR_SERVER_SOCK_WIN_SIZE

Server socket windows size error.

SL_IPERF_ERR_CLIENT_SOCK_OPEN

Client socket open error.

SL_IPERF_ERR_CLIENT_SOCK_BIND

Client socket bind error.

SL_IPERF_ERR_CLIENT_SOCK_CONN

Client socket connect error.

SL_IPERF_ERR_CLIENT_SOCK_TX

Client socket TX error.

SL_IPERF_ERR_CLIENT_SOCK_TX_INV_ARG

Client socket TX invalid argument error.

SL_IPERF_ERR_CLIENT_SOCK_CLOSE

Client socket socket close error.


Definition at line 216 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

Typedef Documentation#

sl_iperf_mode_t#

typedef enum sl_iperf_mode sl_iperf_mode_t

Iperf mode.


Definition at line 70 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_test_id_t#

typedef uint16_t sl_iperf_test_id_t

Test ID type definition.


Definition at line 73 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_status_t#

typedef enum sl_iperf_status sl_iperf_status_t

Test status type definition.


Definition at line 87 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_opt_bw_format#

typedef enum sl_iperf_opt_bw_format sl_iperf_opt_bw_format

Bandwidth format enumeration type definition.


Definition at line 110 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_opt_t#

typedef struct sl_iperf_opt sl_iperf_opt_t

iPerf test option type definition


Definition at line 140 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_stats_t#

typedef struct sl_iperf_stats sl_iperf_stats_t

iPerf statistic data type definition


Definition at line 195 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_conn_t#

typedef struct sl_iperf_conn sl_iperf_conn_t

iPerf connection descriptor type definition


Definition at line 213 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_error_t#

typedef enum sl_iperf_err sl_iperf_error_t

iPerf error enumeration type definition


Definition at line 247 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_log_str_buff_t#

typedef struct sl_iperf_log_str_buff sl_iperf_log_str_buff_t

Log string buffer type definition.


Definition at line 257 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_log_t#

typedef struct sl_iperf_log sl_iperf_log_t

iPerf log type definition


Definition at line 271 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_log_print_t#

typedef int32_t(* sl_iperf_log_print_t) (sl_iperf_log_t *const log, const char *format,...) )(sl_iperf_log_t *const log, const char *format,...)

Printer function type definition.


Definition at line 274 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_test_t#

typedef struct sl_iperf_test sl_iperf_test_t

iPerf test descriptor


Definition at line 294 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_test_callback_t#

typedef void(* sl_iperf_test_callback_t) (sl_iperf_test_t *) )(sl_iperf_test_t *)

iPerf Test callback type definition


Definition at line 297 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_udp_datagram_t#

typedef struct sl_iperf_udp_datagram sl_iperf_udp_datagram_t

iPerf UDP datagram structure type definition


Definition at line 312 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_udp_srv_hdr_t#

typedef struct sl_iperf_udp_srv_hdr sl_iperf_udp_srv_hdr_t

iPerf server header


Definition at line 338 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_clnt_hdr_v1_t#

typedef struct sl_iperf_udp_clnt_hdr_v1 sl_iperf_clnt_hdr_v1_t

iPerf CLient Header v1


Definition at line 354 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_clnt_hdr_ext_t#

typedef struct sl_iperf_clnt_hdr_ext sl_iperf_clnt_hdr_ext_t

iPerf Client Header extended


Definition at line 380 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_clnt_hdr_isoch_payload_t#

typedef struct sl_iperf_clnt_hdr_isoch_payload sl_iperf_clnt_hdr_isoch_payload_t

iPerf Client Isochronus payload


Definition at line 400 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_clnt_hdr_ext_starttime_fq_t#

typedef struct sl_iperf_clnt_hdr_ext_starttime_fq sl_iperf_clnt_hdr_ext_starttime_fq_t

iPerf Client header extended FQ start time


Definition at line 414 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_clnt_hdr_ext_isoch_settings_t#

typedef struct sl_iperf_clnt_hdr_ext_isoch_settings sl_iperf_clnt_hdr_ext_isoch_settings_t

iPerf Client Isochronus settings


Definition at line 434 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_udp_clnt_hdr_t#

typedef struct sl_iperf_udp_clnt_hdr sl_iperf_udp_clnt_hdr_t

iPerf Client UDP header


Definition at line 450 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

Macro Definition Documentation#

SL_IPERF_UDP_SERVER_FIN_ACK_SIZE#

#define SL_IPERF_UDP_SERVER_FIN_ACK_SIZE
Value:
(128U)

iPerf UDP server final ack size


Definition at line 65 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_VERSION1#

#define SL_IPERF_HEADER_VERSION1
Value:
(0x80000000UL)

iPerf header version1 mask


Definition at line 68 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_VERSION2#

#define SL_IPERF_HEADER_VERSION2
Value:
(0x04000000UL)

iPerf header version2 mask


Definition at line 71 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_EXTEND#

#define SL_IPERF_HEADER_EXTEND
Value:
(0x40000000UL)

iPerf header extended mask


Definition at line 74 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_SEQNO64B#

#define SL_IPERF_HEADER_SEQNO64B
Value:
(0x08000000UL)

iPerf header seqno 64bit mask


Definition at line 77 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_UDPTEST#

#define SL_IPERF_HEADER_UDPTEST
Value:
(0x20000000UL)

iPerf header UDP test mask


Definition at line 80 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_EPOCH_START#

#define SL_IPERF_HEADER_EPOCH_START
Value:
(0x00001000UL)

iPerf header epoch start mask


Definition at line 83 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_TRIPTIME#

#define SL_IPERF_HEADER_TRIPTIME
Value:
(0x00000010UL)

iPerf header triptime mask


Definition at line 86 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_HEADER_TIME_MODE#

#define SL_IPERF_HEADER_TIME_MODE
Value:
(0x80000000UL)

iPerf header time mode mask


Definition at line 89 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_SERVER_UDP_TX_FINACK_COUNT#

#define SL_IPERF_SERVER_UDP_TX_FINACK_COUNT
Value:
(10U)

iPerf Server TX FINACK max count to retry


Definition at line 92 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf.h

SL_IPERF_IP_STR_BUFF_LEN#

#define SL_IPERF_IP_STR_BUFF_LEN
Value:
(40U)

iPerf ip address string max length definition


Definition at line 90 of file /mnt/raid/workspaces/ws.x49WyIS5n/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h