diff options
Diffstat (limited to 'src/plugins/hs_apps/vcl/vcl_test.h')
-rw-r--r-- | src/plugins/hs_apps/vcl/vcl_test.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/hs_apps/vcl/vcl_test.h b/src/plugins/hs_apps/vcl/vcl_test.h index 6bb3446cf48..5b3ae653860 100644 --- a/src/plugins/hs_apps/vcl/vcl_test.h +++ b/src/plugins/hs_apps/vcl/vcl_test.h @@ -67,6 +67,8 @@ #define VCL_TEST_CFG_MAX_TEST_SESS 32 #define VCL_TEST_CFG_MAX_EPOLL_EVENTS 16 +#define VCL_TEST_CTRL_LISTENER (~0 - 1) +#define VCL_TEST_DATA_LISTENER (~0) #define VCL_TEST_DELAY_DISCONNECT 1 #define VCL_TEST_SEPARATOR_STRING \ " -----------------------------\n" @@ -79,11 +81,19 @@ typedef enum VCL_TEST_TYPE_EXIT, } vcl_test_t; +typedef enum +{ + VCL_TEST_CMD_SYNC, + VCL_TEST_CMD_START, + VCL_TEST_CMD_STOP, +} vcl_test_cmd_t; + typedef struct __attribute__ ((packed)) { uint32_t magic; uint32_t seq_num; uint32_t test; + uint32_t cmd; uint32_t ctrl_handle; uint32_t num_test_sessions; uint32_t num_test_sessions_perq; |