Go to the source code of this file.
|
u8 * | format_vnet_interface_output_trace (u8 *s, va_list *va) |
|
static void | vnet_interface_output_trace (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, uword n_buffers) |
|
static never_inline u32 | slow_path (vlib_main_t *vm, u32 bi, vlib_buffer_t *b, u32 n_left_to_tx, u32 *to_tx, u32 *n_slow_bytes_result) |
|
static_always_inline void | incr_output_stats (vnet_main_t *vnm, u32 cpu_index, u32 length, u32 sw_if_index, u32 *last_sw_if_index, u32 *n_packets, u32 *n_bytes) |
|
uword | vnet_interface_output_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
always_inline uword | vnet_interface_output_node_no_flatten_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int with_features) |
|
uword | vnet_interface_output_node_no_flatten (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | vnet_per_buffer_interface_output (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
always_inline u32 | counter_index (vlib_main_t *vm, vlib_error_t e) |
|
static u8 * | format_vnet_error_trace (u8 *s, va_list *va) |
|
static void | trace_errors_with_buffers (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | validate_error (vlib_main_t *vm, vlib_error_t *e, u32 index) |
|
static u8 * | validate_error_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
always_inline void | do_packet (vlib_main_t *vm, vlib_error_t a) |
|
static_always_inline uword | process_drop_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, vnet_error_disposition_t disposition) |
|
static void | pcap_drop_trace (vlib_main_t *vm, vnet_interface_main_t *im, vlib_frame_t *f) |
|
void | vnet_pcap_drop_trace_filter_add_del (u32 error_index, int is_add) |
|
static uword | process_drop (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | process_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | vnet_per_buffer_interface_output_hw_interface_add_del (vnet_main_t *vnm, u32 hw_if_index, u32 is_create) |
|
| VNET_HW_INTERFACE_ADD_DEL_FUNCTION (vnet_per_buffer_interface_output_hw_interface_add_del) |
|
static clib_error_t * | pcap_drop_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
Enumerator |
---|
VNET_ERROR_DISPOSITION_DROP |
|
VNET_ERROR_DISPOSITION_PUNT |
|
VNET_ERROR_N_DISPOSITION |
|
Definition at line 851 of file interface_output.c.
static u8* format_vnet_error_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
u8* format_vnet_interface_output_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
void vnet_pcap_drop_trace_filter_add_del |
( |
u32 |
error_index, |
|
|
int |
is_add |
|
) |
| |
Initial value:= {
.name = "error-drop",
.vector_size =
sizeof (
u32),
}
#define VLIB_NODE_FLAG_IS_DROP
static u8 * validate_error_frame(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
static u8 * format_vnet_error_trace(u8 *s, va_list *va)
static uword process_drop(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (drop_buffers)
Definition at line 1152 of file interface_output.c.
Initial value:= {
.path = "pcap drop trace",
.short_help =
"pcap drop trace on off max <nn> intfc <intfc> file <name> status",
}
static clib_error_t * pcap_drop_trace_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (pcap_trace_command)
Definition at line 1322 of file interface_output.c.
Initial value:= {
.name = "error-punt",
.vector_size =
sizeof (
u32),
}
static u8 * validate_error_frame(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
static u8 * format_vnet_error_trace(u8 *s, va_list *va)
#define VLIB_NODE_FLAG_IS_PUNT
static uword process_punt(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
#define VLIB_NODE_FLAG_FRAME_NO_FREE_AFTER_DISPATCH
(constructor) VLIB_REGISTER_NODE (punt_buffers)
Definition at line 1161 of file interface_output.c.
Initial value:= {
.name = "interface-output",
.vector_size =
sizeof (
u32),
}
static uword vnet_per_buffer_interface_output(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (vnet_per_buffer_interface_output_node)
Definition at line 1171 of file interface_output.c.