XFusion API v1.3.0
|
结构体 | |
struct | _xf_iperf_cfg_t |
iperf 配置类型。 更多... | |
struct | _xf_iperf_ctx_t |
iperf 上下文. 更多... | |
类型定义 | |
typedef struct _xf_iperf_ctx_t * | xf_iperf_t |
iperf 句柄。 | |
typedef enum _xf_iperf_event_code_t | xf_iperf_event_code_t |
iperf 事件声明。 | |
typedef int32_t | xf_iperf_event_id_t |
iperf 事件 id。见 xf_iperf_event_code_t. | |
typedef void(* | xf_iperf_cb_t) (xf_iperf_event_id_t event_id, xf_iperf_t hdl, void *user_args) |
iperf 回调函数原型。 | |
typedef struct _xf_iperf_cfg_t | xf_iperf_cfg_t |
iperf 配置类型。 | |
typedef struct _xf_iperf_ctx_t | xf_iperf_ctx_t |
iperf 上下文. | |
枚举 | |
enum | _xf_iperf_event_code_t { XF_IPERF_EVENT_START = 0x00 , XF_IPERF_EVENT_REPORT , XF_IPERF_EVENT_END , XF_IPERF_EVENT_MAX } |
iperf 事件声明。 更多... | |
函数 | |
xf_err_t | xf_iperf_start (const xf_iperf_cfg_t *p_cfg, xf_iperf_cb_t cb_func, void *user_args) |
启动 iperf. | |
xf_iperf_t | xf_iperf_get_handle (void) |
获取 iperf 句柄。 | |
bool | xf_iperf_is_running (void) |
检查 iperf 是否正在运行。 | |
xf_err_t | xf_iperf_stop (void) |
停止 iperf. | |