Go to the source code of this file.
|
static interface_dpo_t * | interface_dpo_alloc (void) |
|
static interface_dpo_t * | interface_dpo_get_from_dpo (const dpo_id_t *dpo) |
|
static index_t | interface_dpo_get_index (interface_dpo_t *ido) |
|
static void | interface_dpo_lock (dpo_id_t *dpo) |
|
static void | interface_dpo_unlock (dpo_id_t *dpo) |
|
void | interface_dpo_add_or_lock (dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo) |
|
static clib_error_t * | interface_dpo_interface_state_change (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (interface_dpo_interface_state_change) |
|
static clib_error_t * | interface_dpo_hw_interface_state_change (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
| Registered callback for HW interface state changes. More...
|
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (interface_dpo_hw_interface_state_change) |
|
static clib_error_t * | interface_dpo_interface_delete (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (interface_dpo_interface_delete) |
|
u8 * | format_interface_dpo (u8 *s, va_list *ap) |
|
static void | interface_dpo_mem_show (void) |
|
void | interface_dpo_module_init (void) |
|
static uword | interface_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static u8 * | format_interface_dpo_trace (u8 *s, va_list *args) |
|
static uword | interface_dpo_ip4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | interface_dpo_ip6 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (interface_dpo_ip4_node, interface_dpo_ip4) |
| (constructor) VLIB_REGISTER_NODE (interface_dpo_ip6_node) More...
|
|
Interface DPO trace data.
Enumerator |
---|
INTERFACE_DPO_DROP |
|
INTERFACE_DPO_INPUT |
|
Definition at line 222 of file interface_dpo.c.
u8* format_interface_dpo |
( |
u8 * |
s, |
|
|
va_list * |
ap |
|
) |
| |
static u8* format_interface_dpo_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Registered callback for HW interface state changes.
Definition at line 128 of file interface_dpo.c.
static void interface_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
static void interface_dpo_mem_show |
( |
void |
| ) |
|
|
static |
void interface_dpo_module_init |
( |
void |
| ) |
|
static void interface_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
(constructor) VLIB_REGISTER_NODE (interface_dpo_ip6_node)
Definition at line 398 of file interface_dpo.c.
Initial value:= {
.name = "interface-dpo-ip4",
.vector_size =
sizeof (
u32),
.n_next_nodes = 2,
.next_nodes = {
},
}
static uword interface_dpo_ip4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static u8 * format_interface_dpo_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (interface_dpo_ip4_node)
Definition at line 385 of file interface_dpo.c.
const char* const interface_dpo_ip4_nodes[] |
|
static |
Initial value:
The per-protocol VLIB graph nodes that are assigned to a glean object.
this means that these graph nodes are ones from which a glean is the parent object in the DPO-graph.
Definition at line 188 of file interface_dpo.c.
const char* const interface_dpo_ip6_nodes[] |
|
static |
Initial value:=
{
}
static const char *const interface_dpo_ip6_nodes[]
static const char *const interface_dpo_ip4_nodes[]
The per-protocol VLIB graph nodes that are assigned to a glean object.
Definition at line 199 of file interface_dpo.c.
Initial value:= {
}
static void interface_dpo_lock(dpo_id_t *dpo)
u8 * format_interface_dpo(u8 *s, va_list *ap)
static void interface_dpo_unlock(dpo_id_t *dpo)
static void interface_dpo_mem_show(void)
Definition at line 174 of file interface_dpo.c.