aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-01-05 03:20:25 -0800
committerDave Barach <openvpp@barachs.net>2018-01-09 18:33:08 +0000
commite86a8edd3c14fb41ace2a12efd17bc7772bf623f (patch)
tree480219864cadd743fdb95c21379aeaf88a985e23 /src/vnet/srv6
parent4363ad6c96b5641fca1b16c5a6ec22e2364adcfd (diff)
api: refactor vlibmemory
- separate client/server code for both memory and socket apis - separate memory api code from generic vlib api code - move unix_shared_memory_fifo to svm and rename to svm_fifo_t - overall declutter Change-Id: I90cdd98ff74d0787d58825b914b0f1eafcfa4dc2 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/srv6')
-rw-r--r--src/vnet/srv6/sr_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/srv6/sr_api.c b/src/vnet/srv6/sr_api.c
index 789bb27386c..8f5f4f90e5d 100644
--- a/src/vnet/srv6/sr_api.c
+++ b/src/vnet/srv6/sr_api.c
@@ -191,7 +191,7 @@ static void vl_api_sr_steering_add_del_t_handler
}
static void send_sr_localsid_details
- (ip6_sr_localsid_t * t, unix_shared_memory_queue_t * q, u32 context)
+ (ip6_sr_localsid_t * t, svm_queue_t * q, u32 context)
{
vl_api_sr_localsids_details_t *rmp;
@@ -212,7 +212,7 @@ static void send_sr_localsid_details
static void vl_api_sr_localsids_dump_t_handler
(vl_api_sr_localsids_dump_t * mp)
{
- unix_shared_memory_queue_t *q;
+ svm_queue_t *q;
ip6_sr_main_t *sm = &sr_main;
ip6_sr_localsid_t *t;