summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_table.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-11-17 16:35:04 -0800
committerDave Barach <vpp@barachs.net>2023-11-20 16:13:44 +0000
commit894d0a6762caefa50a4cb4391eaa9ae78bd67676 (patch)
tree5e09e80451454f2237a0152e04cd0451c291191d /src/vnet/session/session_table.h
parentc4d989d6f39799a94321d4a53c982d65a00a0826 (diff)
session: add session lookup cli for stats
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I96bff47206ef64ea7369ae92e1b9ff1f74dfd71b
Diffstat (limited to 'src/vnet/session/session_table.h')
-rw-r--r--src/vnet/session/session_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session_table.h b/src/vnet/session/session_table.h
index 2127ea45d01..8e10b2f9cbd 100644
--- a/src/vnet/session/session_table.h
+++ b/src/vnet/session/session_table.h
@@ -69,6 +69,9 @@ u32 session_table_index (session_table_t * slt);
void session_table_init (session_table_t * slt, u8 fib_proto);
void session_table_free (session_table_t *slt, u8 fib_proto);
+u32 session_table_memory_size (session_table_t *st);
+u8 *format_session_table (u8 *s, va_list *args);
+
/* Internal, try not to use it! */
session_table_t *_get_session_tables ();