aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/udp/udp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index 88a46db277e..f8eefdac8a1 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -36,9 +36,9 @@ typedef enum
typedef enum
{
- UDP_CONN_F_CONNECTED, /**< connected mode */
- UDP_CONN_F_OWNS_PORT, /**< port belong to conn (UDPC) */
- UDP_CONN_F_CLOSING, /**< conn closed with data */
+ UDP_CONN_F_CONNECTED = 1 << 0, /**< connected mode */
+ UDP_CONN_F_OWNS_PORT = 1 << 1, /**< port belong to conn (UDPC) */
+ UDP_CONN_F_CLOSING = 2 << 2, /**< conn closed with data */
} udp_conn_flags_t;
typedef struct