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_always_inline void | calc_checksums (vlib_main_t *vm, vlib_buffer_t *b) |
|
static_always_inline uword | vnet_interface_output_node_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, vnet_main_t *vnm, vnet_hw_interface_t *hi, int do_tx_offloads) |
|
static_always_inline uword | vnet_interface_output_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH_CLONE (vnet_interface_output_node) |
|
| CLIB_MULTIARCH_SELECT_FN (vnet_interface_output_node) |
|
static uword | vnet_per_buffer_interface_output (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static 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) |
|
static 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) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (drop_buffers, process_drop) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (punt_buffers, process_punt) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (vnet_per_buffer_interface_output_node, vnet_per_buffer_interface_output) |
|
static uword | interface_tx_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
| VNET_FEATURE_ARC_INIT (interface_output, static) |
|
| VNET_FEATURE_INIT (span_tx, static) |
|
| VNET_FEATURE_INIT (interface_tx, static) |
|
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 688 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 |
|
) |
| |
VNET_FEATURE_ARC_INIT |
( |
interface_output |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
span_tx |
, |
|
|
static |
|
|
) |
| |
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 985 of file interface_output.c.
Initial value:= {
.name = "interface-tx",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static uword interface_tx_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
(constructor) VLIB_REGISTER_NODE (interface_tx)
Definition at line 1069 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 1246 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 998 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 1012 of file interface_output.c.