16 lines
396 B
C
Raw Normal View History

2025-10-10 16:07:00 +08:00
#include "cli.h"
#if CONFIG_IPERF_TEST
extern void iperf(char *pcWriteBuffer, int xWriteBufferLen, int argc, char **argv);
#define IPERF_CMD_CNT (sizeof(s_iperf_commands) / sizeof(struct cli_command))
static const struct cli_command s_iperf_commands[] = {
{"iperf", "iperf help", iperf },
};
int cli_iperf_init(void)
{
return cli_register_commands(s_iperf_commands, IPERF_CMD_CNT);
}
#endif