summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/socket.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-26 10:21:10 -0700
committerDave Wallace <dwallacelf@gmail.com>2021-05-26 18:47:41 +0000
commit57e0af924b8b48cf39b1020bf11f10e3c227f22c (patch)
tree0f18adca9384fe9f8bf759bd795442baef2b4c17 /src/vppinfra/socket.h
parent46cb4c40941e06d726c116975c321603766d24bd (diff)
vppinfra: explicit blocking mode for sock connects
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I3a33230de13fef613dc9523cf24a9968d200c2e5
Diffstat (limited to 'src/vppinfra/socket.h')
-rw-r--r--src/vppinfra/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/socket.h b/src/vppinfra/socket.h
index b5f005839e4..78a56fee53e 100644
--- a/src/vppinfra/socket.h
+++ b/src/vppinfra/socket.h
@@ -62,7 +62,7 @@ typedef struct _socket_t
#define CLIB_SOCKET_F_ALLOW_GROUP_WRITE (1 << 4)
#define CLIB_SOCKET_F_SEQPACKET (1 << 5)
#define CLIB_SOCKET_F_PASSCRED (1 << 6)
-
+#define CLIB_SOCKET_F_BLOCKING (1 << 7)
/* Transmit buffer. Holds data waiting to be written. */
u8 *tx_buffer;