summaryrefslogtreecommitdiffstats
path: root/src/vnet/session-apps/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session-apps/proxy.c')
-rw-r--r--src/vnet/session-apps/proxy.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vnet/session-apps/proxy.c b/src/vnet/session-apps/proxy.c
index 6260ad350f0..f7896a5b0ae 100644
--- a/src/vnet/session-apps/proxy.c
+++ b/src/vnet/session-apps/proxy.c
@@ -116,7 +116,7 @@ delete_proxy_session (stream_session_t * s, int is_active_open)
if (ps)
{
if (CLIB_DEBUG > 0)
- memset (ps, 0xFE, sizeof (*ps));
+ clib_memset (ps, 0xFE, sizeof (*ps));
pool_put (pm->sessions, ps);
}
@@ -235,11 +235,11 @@ proxy_rx_callback (stream_session_t * s)
/* $$$ your message in this space: parse url, etc. */
- memset (a, 0, sizeof (*a));
+ clib_memset (a, 0, sizeof (*a));
clib_spinlock_lock_if_init (&pm->sessions_lock);
pool_get (pm->sessions, ps);
- memset (ps, 0, sizeof (*ps));
+ clib_memset (ps, 0, sizeof (*ps));
ps->server_rx_fifo = rx_fifo;
ps->server_tx_fifo = tx_fifo;
ps->vpp_server_handle = session_handle (s);
@@ -397,8 +397,8 @@ proxy_server_attach ()
vnet_app_attach_args_t _a, *a = &_a;
u32 segment_size = 512 << 20;
- memset (a, 0, sizeof (*a));
- memset (options, 0, sizeof (options));
+ clib_memset (a, 0, sizeof (*a));
+ clib_memset (options, 0, sizeof (options));
if (pm->private_segment_size)
segment_size = pm->private_segment_size;
@@ -431,8 +431,8 @@ active_open_attach (void)
vnet_app_attach_args_t _a, *a = &_a;
u64 options[16];
- memset (a, 0, sizeof (*a));
- memset (options, 0, sizeof (options));
+ clib_memset (a, 0, sizeof (*a));
+ clib_memset (options, 0, sizeof (options));
a->api_client_index = pm->active_open_client_index;
a->session_cb_vft = &active_open_clients;
@@ -463,7 +463,7 @@ proxy_server_listen ()
{
proxy_main_t *pm = &proxy_main;
vnet_bind_args_t _a, *a = &_a;
- memset (a, 0, sizeof (*a));
+ clib_memset (a, 0, sizeof (*a));
a->app_index = pm->server_app_index;
a->uri = (char *) pm->server_uri;
return vnet_bind_uri (a);