summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_socket.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-09-11 16:52:11 +0200
committerDave Barach <openvpp@barachs.net>2017-09-14 11:31:05 +0000
commitf49921f73f4e1f0b67823be445aafeb9ff2333a6 (patch)
tree4770cf05eb5102f4934804db191f5327ad815505 /src/vppinfra/test_socket.c
parentdaf5162f10b386f004a04466fdea12f792b0c98b (diff)
clib_socket: add sendmsg / recvmsg with ancillary data support
Change-Id: Ie18580e05ec12291e7026f21ad874e088a712c8e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/test_socket.c')
-rw-r--r--src/vppinfra/test_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/test_socket.c b/src/vppinfra/test_socket.c
index 0b05467af80..2f25eccd91f 100644
--- a/src/vppinfra/test_socket.c
+++ b/src/vppinfra/test_socket.c
@@ -50,15 +50,15 @@ test_socket_main (unformat_input_t * input)
clib_error_t *error;
s->config = "localhost:22";
- s->flags = SOCKET_IS_CLIENT;
+ s->flags = CLIB_SOCKET_F_IS_CLIENT;
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
{
if (unformat (input, "server %s %=", &config,
- &s->flags, SOCKET_IS_SERVER))
+ &s->flags, CLIB_SOCKET_F_IS_SERVER))
;
else if (unformat (input, "client %s %=", &config,
- &s->flags, SOCKET_IS_CLIENT))
+ &s->flags, CLIB_SOCKET_F_IS_CLIENT))
;
else
{