aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-07-23 10:24:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-07-23 16:46:13 +0000
commit3b7261978ee4ffdc1e92336e708ae05e2be25f71 (patch)
tree95c9f060f20d6e4e2a3efdf488a979998e6d481b /src
parent198cba8be543e58592e784f8c5bcc8c7edc0cfce (diff)
udp: fix connection flags
Change-Id: Ib69f9bd7970aeb2ee6a1c114d38dcb7f8698dc6d Type: fix Fixes: c754239 Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Diffstat (limited to 'src')
-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