clib_socket: add sendmsg / recvmsg with ancillary data support
Change-Id: Ie18580e05ec12291e7026f21ad874e088a712c8e
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/test_socket.c b/src/vppinfra/test_socket.c
index 0b05467..2f25ecc 100644
--- a/src/vppinfra/test_socket.c
+++ b/src/vppinfra/test_socket.c
@@ -50,15 +50,15 @@
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
{