Type definitions#

Modules#

sl_iperf_clnt_hdr_ext

sl_iperf_clnt_hdr_ext_isoch_settings

sl_iperf_clnt_hdr_ext_starttime_fq

sl_iperf_clnt_hdr_isoch_payload

sl_iperf_conn

sl_iperf_log

sl_iperf_log_str_buff

sl_iperf_opt

sl_iperf_stats

sl_iperf_test

sl_iperf_udp_clnt_hdr

sl_iperf_udp_clnt_hdr_v1

sl_iperf_udp_datagram

sl_iperf_udp_srv_hdr

Enumerations#

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

enum
SL_IPERF_MODE_SERVER
SL_IPERF_MODE_CLIENT
}

iPerf mode

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_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.

Typedefs#

iPerf Client header extended FQ start time

typedef struct sl_iperf_clnt_hdr_ext

iPerf Client Header extended

iPerf Client Isochronus payload

iPerf CLient Header v1

typedef struct sl_iperf_conn

iPerf connection descriptor type definition

typedef enum sl_iperf_err

iPerf error enumeration 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_log_str_buff

Log string buffer type definition.

typedef struct sl_iperf_log

iPerf log type definition

typedef enum sl_iperf_mode

iPerf mode

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 enum sl_iperf_status

Test status type definition.

typedef void(*
sl_iperf_test_callback_t)(sl_iperf_test_t *)

iPerf Test callback type definition

typedef uint16_t

Test ID type definition.

typedef struct sl_iperf_test

iPerf test descriptor

typedef struct sl_iperf_udp_clnt_hdr

iPerf Client UDP header

typedef struct sl_iperf_udp_datagram

iPerf UDP datagram structure type definition

typedef struct sl_iperf_udp_srv_hdr

iPerf server header

Macros#

#define

iPerf ip address string max length definition

Enumeration Documentation#

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 214 of file /mnt/raid/workspaces/ws.obQFDUprC/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_mode#

sl_iperf_mode

iPerf mode

Enumerator
SL_IPERF_MODE_SERVER

Server mode.

SL_IPERF_MODE_CLIENT

Client mode.


Definition at line 63 of file /mnt/raid/workspaces/ws.obQFDUprC/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 91 of file /mnt/raid/workspaces/ws.obQFDUprC/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 74 of file /mnt/raid/workspaces/ws.obQFDUprC/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

Typedef Documentation#

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 445 of file /mnt/raid/workspaces/ws.obQFDUprC/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 423 of file /mnt/raid/workspaces/ws.obQFDUprC/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 385 of file /mnt/raid/workspaces/ws.obQFDUprC/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 407 of file /mnt/raid/workspaces/ws.obQFDUprC/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 357 of file /mnt/raid/workspaces/ws.obQFDUprC/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 211 of file /mnt/raid/workspaces/ws.obQFDUprC/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 245 of file /mnt/raid/workspaces/ws.obQFDUprC/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 272 of file /mnt/raid/workspaces/ws.obQFDUprC/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 255 of file /mnt/raid/workspaces/ws.obQFDUprC/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 269 of file /mnt/raid/workspaces/ws.obQFDUprC/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

sl_iperf_mode_t#

typedef enum sl_iperf_mode sl_iperf_mode_t

iPerf mode


Definition at line 68 of file /mnt/raid/workspaces/ws.obQFDUprC/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 108 of file /mnt/raid/workspaces/ws.obQFDUprC/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 138 of file /mnt/raid/workspaces/ws.obQFDUprC/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 193 of file /mnt/raid/workspaces/ws.obQFDUprC/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 85 of file /mnt/raid/workspaces/ws.obQFDUprC/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 295 of file /mnt/raid/workspaces/ws.obQFDUprC/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 71 of file /mnt/raid/workspaces/ws.obQFDUprC/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 292 of file /mnt/raid/workspaces/ws.obQFDUprC/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 463 of file /mnt/raid/workspaces/ws.obQFDUprC/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 311 of file /mnt/raid/workspaces/ws.obQFDUprC/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 339 of file /mnt/raid/workspaces/ws.obQFDUprC/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h

Macro Definition Documentation#

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 88 of file /mnt/raid/workspaces/ws.obQFDUprC/overlay/gsdk/app/wisun/component/iperf/sl_iperf_types.h