Go to the source code of this file.
|
void | ip_null_dpo_add_and_lock (dpo_proto_t proto, ip_null_dpo_action_t action, dpo_id_t *dpo) |
|
static const ip_null_dpo_t * | ip_null_dpo_get (index_t indi) |
|
static void | ip_null_dpo_lock (dpo_id_t *dpo) |
|
static void | ip_null_dpo_unlock (dpo_id_t *dpo) |
|
static u8 * | format_ip_null_dpo (u8 *s, va_list *ap) |
|
static uword | ip_null_dpo_switch (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 is_ip4) |
|
static u8 * | format_ip_null_dpo_trace (u8 *s, va_list *args) |
|
static uword | ip4_null_dpo_switch (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_null_dpo_switch (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
void | ip_null_dpo_module_init (void) |
|
The data-path object representing dropping the packet.
A representation of the IP_NULL DPO
Exit nodes from a IP_NULL.
Exit nodes from a IP_NULL.
Enumerator |
---|
IP_NULL_NEXT_DROP |
|
IP_NULL_NEXT_ICMP |
|
IP_NULL_NEXT_NUM |
|
Definition at line 166 of file ip_null_dpo.c.
static u8* format_ip_null_dpo |
( |
u8 * |
s, |
|
|
va_list * |
ap |
|
) |
| |
|
static |
static u8* format_ip_null_dpo_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void ip_null_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
void ip_null_dpo_module_init |
( |
void |
| ) |
|
static void ip_null_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
Initial value:= {
.name = "ip4-null",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword ip4_null_dpo_switch(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_ip_null_dpo_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_null_dpo_node)
Definition at line 367 of file ip_null_dpo.c.
const char* const ip4_null_nodes[] |
|
static |
Initial value:
The per-protocol VLIB graph nodes that are assigned to a ip_null object.
this means that these graph nodes are ones from which a ip_null is the parent object in the DPO-graph.
Definition at line 141 of file ip_null_dpo.c.
Initial value:= {
.name = "ip6-null",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_ip_null_dpo_trace(u8 *s, va_list *args)
static uword ip6_null_dpo_switch(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip6_null_dpo_node)
Definition at line 391 of file ip_null_dpo.c.
const char* const ip6_null_nodes[] |
|
static |
Initial value:= {
[0] = {
},
[1] = {
},
[2] = {
},
[3] = {
},
[4] = {
},
[5] = {
},
}
the IP_NULL dpos are shared by all routes, hence they are global.
As the neame implies this is only for IP, hence 2.
Definition at line 45 of file ip_null_dpo.c.
Initial value:=
{
}
static const char *const ip6_null_nodes[]
static const char *const ip4_null_nodes[]
The per-protocol VLIB graph nodes that are assigned to a ip_null object.
Definition at line 152 of file ip_null_dpo.c.
Initial value:= {
}
static void ip_null_dpo_unlock(dpo_id_t *dpo)
static u8 * format_ip_null_dpo(u8 *s, va_list *ap)
static void ip_null_dpo_lock(dpo_id_t *dpo)
Definition at line 128 of file ip_null_dpo.c.