summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/hs_apps/sapi/quic_echo.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/hs_apps/sapi/quic_echo.c b/src/plugins/hs_apps/sapi/quic_echo.c
index 13308b50458..a0bba575979 100644
--- a/src/plugins/hs_apps/sapi/quic_echo.c
+++ b/src/plugins/hs_apps/sapi/quic_echo.c
@@ -120,15 +120,15 @@ typedef enum
STATE_DETACHED
} connection_state_t;
-typedef enum
-{
- ECHO_EVT_START, /* app starts */
- ECHO_EVT_FIRST_QCONNECT, /* First connect Quic session sent */
- ECHO_EVT_LAST_QCONNECTED, /* All Quic session are connected */
- ECHO_EVT_FIRST_SCONNECT, /* First connect Stream session sent */
- ECHO_EVT_LAST_SCONNECTED, /* All Stream session are connected */
- ECHO_EVT_LAST_BYTE, /* Last byte received */
- ECHO_EVT_EXIT, /* app exits */
+typedef enum echo_test_evt_
+{
+ ECHO_EVT_START = 1, /* app starts */
+ ECHO_EVT_FIRST_QCONNECT = (1 << 1), /* First connect Quic session sent */
+ ECHO_EVT_LAST_QCONNECTED = (1 << 2), /* All Quic session are connected */
+ ECHO_EVT_FIRST_SCONNECT = (1 << 3), /* First connect Stream session sent */
+ ECHO_EVT_LAST_SCONNECTED = (1 << 4), /* All Stream session are connected */
+ ECHO_EVT_LAST_BYTE = (1 << 5), /* Last byte received */
+ ECHO_EVT_EXIT = (1 << 6), /* app exits */
} echo_test_evt_t;
typedef struct _quic_echo_cb_vft