summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/ip_session_redirect/CMakeLists.txt3
-rw-r--r--src/plugins/ip_session_redirect/redirect.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/ip_session_redirect/CMakeLists.txt b/src/plugins/ip_session_redirect/CMakeLists.txt
index f77500fc9fc..09b93d72759 100644
--- a/src/plugins/ip_session_redirect/CMakeLists.txt
+++ b/src/plugins/ip_session_redirect/CMakeLists.txt
@@ -21,4 +21,7 @@ add_vpp_plugin(ip_session_redirect
API_TEST_SOURCES
test_api.c
+
+ INSTALL_HEADERS
+ ip_session_redirect.h
)
diff --git a/src/plugins/ip_session_redirect/redirect.c b/src/plugins/ip_session_redirect/redirect.c
index d925d12cde7..ea18182e309 100644
--- a/src/plugins/ip_session_redirect/redirect.c
+++ b/src/plugins/ip_session_redirect/redirect.c
@@ -80,7 +80,7 @@ ip_session_redirect_find (ip_session_redirect_main_t *im, u32 table_index,
return pool_elt_at_index (im->pool, p[0]);
}
-int
+__clib_export int
ip_session_redirect_add (vlib_main_t *vm, u32 table_index, u32 opaque_index,
dpo_proto_t proto, int is_punt, const u8 *match,
const fib_route_path_t *rpaths)
@@ -138,7 +138,7 @@ ip_session_redirect_add (vlib_main_t *vm, u32 table_index, u32 opaque_index,
return ip_session_redirect_stack (ipr);
}
-int
+__clib_export int
ip_session_redirect_del (vlib_main_t *vm, u32 table_index, const u8 *match)
{
ip_session_redirect_main_t *im = &ip_session_redirect_main;