+void session_queue_run_on_main_thread (vlib_main_t * vm);
+
+/**
+ * Add session node pending buffer with custom node
+ *
+ * @param thread_index worker thread expected to send the buffer
+ * @param bi buffer index
+ * @param next_node next node edge index for buffer. Edge to next node
+ * must exist
+ */
+always_inline void
+session_add_pending_tx_buffer (u32 thread_index, u32 bi, u32 next_node)
+{
+ session_worker_t *wrk = session_main_get_worker (thread_index);
+ vec_add1 (wrk->pending_tx_buffers, bi);
+ vec_add1 (wrk->pending_tx_nexts, next_node);
+}
+