aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index a3b84a6c8ef..ed42e5476e9 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -389,6 +389,13 @@ transport_max_tx_dequeue (transport_connection_t * tc)
}
always_inline u32
+transport_max_rx_dequeue (transport_connection_t * tc)
+{
+ session_t *s = session_get (tc->s_index, tc->thread_index);
+ return svm_fifo_max_dequeue (s->rx_fifo);
+}
+
+always_inline u32
transport_rx_fifo_size (transport_connection_t * tc)
{
session_t *s = session_get (tc->s_index, tc->thread_index);