aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/sapi
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-07-11 15:58:34 +0200
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-07-11 15:59:29 +0200
commitbc34b8f521c5c75addfb04b626c2a9b75d97cf3b (patch)
treefefda70bc014d63faf276b52b07c4ec56700dc86 /src/plugins/hs_apps/sapi
parent6955ecd5d72c919bddabc272a9fee023557f38d7 (diff)
quic: Fix quic_echo event flags
Type: fix Change-Id: Ibaa272b57f36b092897a99a65ca28f9d4caf29a7 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/hs_apps/sapi')
-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