summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/session/session.c2
-rw-r--r--src/vnet/session/session.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 8b268c00b64..bd69f752de4 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -283,7 +283,7 @@ session_delete (session_t * s)
session_free_w_fifos (s);
}
-static session_t *
+session_t *
session_alloc_for_connection (transport_connection_t * tc)
{
session_t *s;
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 777984b519b..486c976cdf5 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -636,6 +636,8 @@ ssvm_private_t *session_main_get_evt_q_segment (void);
void session_node_enable_disable (u8 is_en);
clib_error_t *vnet_session_enable_disable (vlib_main_t * vm, u8 is_en);
+session_t *session_alloc_for_connection (transport_connection_t * tc);
+
#endif /* __included_session_h__ */
/*