Go to the source code of this file.
|
static u8 * | format_session_queue_trace (u8 *s, va_list *args) |
|
static void | session_tx_fifo_chain_tail (session_manager_main_t *smm, vlib_main_t *vm, u8 thread_index, svm_fifo_t *fifo, vlib_buffer_t *b0, u32 bi0, u8 n_bufs_per_seg, u32 left_from_seg, u32 *left_to_snd0, u16 *n_bufs, u32 *tx_offset, u16 deq_per_buf, u8 peek_data) |
|
static int | session_tx_fifo_read_and_snd_i (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_packets, u8 peek_data) |
|
int | session_tx_fifo_peek_and_snd (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_pkts) |
|
int | session_tx_fifo_dequeue_and_snd (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_pkts) |
|
int | session_tx_fifo_dequeue_internal (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_pkts) |
|
static stream_session_t * | session_event_get_session (session_fifo_event_t *e, u8 thread_index) |
|
void | dump_thread_0_event_queue (void) |
|
static u8 | session_node_cmp_event (session_fifo_event_t *e, svm_fifo_t *f) |
|
u8 | session_node_lookup_fifo_event (svm_fifo_t *f, session_fifo_event_t *e) |
|
static uword | session_queue_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | session_queue_exit (vlib_main_t *vm) |
|
#define foreach_session_queue_error |
Value:_(TX, "Packets transmitted") \
_(TIMER, "Timer events") \
_(NO_BUFFER, "Out of buffers")
Definition at line 48 of file session_node.c.
void dump_thread_0_event_queue |
( |
void |
| ) |
|
static u8* format_session_queue_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static stream_session_t* session_event_get_session |
( |
session_fifo_event_t * |
e, |
|
|
u8 |
thread_index |
|
) |
| |
|
inlinestatic |
static u8 session_node_cmp_event |
( |
session_fifo_event_t * |
e, |
|
|
svm_fifo_t * |
f |
|
) |
| |
|
static |
u8 session_node_lookup_fifo_event |
( |
svm_fifo_t * |
f, |
|
|
session_fifo_event_t * |
e |
|
) |
| |
static void session_tx_fifo_chain_tail |
( |
session_manager_main_t * |
smm, |
|
|
vlib_main_t * |
vm, |
|
|
u8 |
thread_index, |
|
|
svm_fifo_t * |
fifo, |
|
|
vlib_buffer_t * |
b0, |
|
|
u32 |
bi0, |
|
|
u8 |
n_bufs_per_seg, |
|
|
u32 |
left_from_seg, |
|
|
u32 * |
left_to_snd0, |
|
|
u16 * |
n_bufs, |
|
|
u32 * |
tx_offset, |
|
|
u16 |
deq_per_buf, |
|
|
u8 |
peek_data |
|
) |
| |
|
inlinestatic |
char* session_queue_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_session_queue_error
Definition at line 61 of file session_node.c.
Initial value:=
{
.name = "session-queue",
.state = VLIB_NODE_STATE_DISABLED,
}
static uword session_queue_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * session_queue_error_strings[]
static u8 * format_session_queue_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (session_queue_node)
Definition at line 25 of file session_node.c.