Go to the source code of this file.
|
static u8 * | format_snort_deq_trace (u8 *s, va_list *args) |
|
static_always_inline uword | snort_deq_instance (vlib_main_t *vm, u32 instance_index, snort_qpair_t *qp, u32 *buffer_indices, u16 *nexts, u32 max_recv) |
|
static_always_inline u32 | snort_process_all_buffer_indices (snort_qpair_t *qp, u32 *b, u16 *nexts, u32 max_recv, u8 drop_on_disconnect) |
|
static_always_inline uword | snort_deq_instance_all_interrupt (vlib_main_t *vm, u32 instance_index, snort_qpair_t *qp, u32 *buffer_indices, u16 *nexts, u32 max_recv, u8 drop_on_disconnect) |
|
static u32 | snort_deq_node_interrupt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static_always_inline uword | snort_deq_instance_poll (vlib_main_t *vm, snort_qpair_t *qp, u32 *buffer_indices, u16 *nexts, u32 max_recv) |
|
static_always_inline uword | snort_deq_instance_all_poll (vlib_main_t *vm, snort_qpair_t *qp, u32 *buffer_indices, u16 *nexts, u32 max_recv, u8 drop_on_disconnect) |
|
static u32 | snort_deq_node_polling (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| if (sm->input_mode==VLIB_NODE_STATE_POLLING) return snort_deq_node_polling(vm |
|
return | snort_deq_node_interrupt (vm, node, frame) |
|
◆ foreach_snort_deq_error
#define foreach_snort_deq_error |
Value: _ (BAD_DESC, "bad descriptor") \
_ (BAD_DESC_INDEX, "bad descriptor index")
Definition at line 28 of file dequeue.c.
◆ snort_deq_error_t
Enumerator |
---|
SNORT_DEQ_N_ERROR | |
Definition at line 32 of file dequeue.c.
◆ format_snort_deq_trace()
static u8* format_snort_deq_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ if()
if |
( |
sm-> |
input_mode = = VLIB_NODE_STATE_POLLING | ) |
|
◆ snort_deq_instance()
◆ snort_deq_instance_all_interrupt()
◆ snort_deq_instance_all_poll()
◆ snort_deq_instance_poll()
◆ snort_deq_node_interrupt() [1/2]
◆ snort_deq_node_interrupt() [2/2]
◆ snort_deq_node_polling()
◆ snort_process_all_buffer_indices()
◆ frame
◆ node
◆ snort_deq_error_strings
char* snort_deq_error_strings[] |
|
static |
Initial value:= {
#define _(sym, string)
}
Definition at line 40 of file dequeue.c.
◆ snort_deq_node
Initial value:= {
.name = "snort-deq",
.vector_size =
sizeof (
u32),
.
state = VLIB_NODE_STATE_DISABLED,
.sibling_of = "snort-enq",
.n_next_nodes = 0,
}
(constructor) VLIB_REGISTER_NODE (snort_deq_node)
Definition at line 354 of file dequeue.c.
◆ vm