Go to the source code of this file.
|
static u8 * | format_bond_input_trace (u8 *s, va_list *args) |
|
static_always_inline u8 | packet_is_cdp (ethernet_header_t *eth) |
|
static u32 | bond_sw_if_idx_rewrite (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, u32 bond_sw_if_index) |
|
static void | bond_update_next (vlib_main_t *vm, vlib_node_runtime_t *node, u32 *last_slave_sw_if_index, u32 slave_sw_if_index, u32 packet_count, u32 *bond_sw_if_index, vlib_buffer_t *b, u32 *next_index, vlib_error_t *error) |
|
VLIB_NODE_FN() | bond_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | bond_input_init (vlib_main_t *vm) |
|
| VNET_FEATURE_INIT (bond_input, static) |
|
static clib_error_t * | bond_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (bond_sw_interface_up_down) |
|
static clib_error_t * | bond_hw_interface_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (bond_hw_interface_up_down) |
|
#define foreach_bond_input_error |
Value:_(NONE, "no error") \
_(IF_DOWN, "interface down") \
_(PASS_THRU, "pass through (CDP, LLDP, slow protocols)")
Definition at line 26 of file node.c.
Enumerator |
---|
BOND_INPUT_N_ERROR |
|
Definition at line 31 of file node.c.
Enumerator |
---|
BOND_INPUT_NEXT_DROP |
|
BOND_INPUT_N_NEXT |
|
Definition at line 63 of file node.c.
static u8* format_bond_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
VNET_FEATURE_INIT |
( |
bond_input |
, |
|
|
static |
|
|
) |
| |
char* bond_input_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_bond_input_error
Definition at line 39 of file node.c.
Initial value:= {
.name = "bond-input",
.vector_size =
sizeof (
u32),
.next_nodes =
{
}
}
static u8 * format_bond_input_trace(u8 *s, va_list *args)
u8 * format_ethernet_header_with_length(u8 *s, va_list *args)
static char * bond_input_error_strings[]
(constructor) VLIB_REGISTER_NODE (bond_input_node)
Definition at line 367 of file node.c.