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) |
|
ip_null_dpo_action_t | ip_null_dpo_get_action (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) |
|
◆ ip_null_dpo_t
The data-path object representing dropping the packet.
A representation of the IP_NULL DPO
◆ ip_null_dpo_trace_t
◆ ip_null_next_t
Exit nodes from a IP_NULL.
◆ ip_null_next_t_
Exit nodes from a IP_NULL.
Enumerator |
---|
IP_NULL_NEXT_DROP | |
IP_NULL_NEXT_ICMP | |
IP_NULL_NEXT_NUM | |
Definition at line 172 of file ip_null_dpo.c.
◆ format_ip_null_dpo()
static u8* format_ip_null_dpo |
( |
u8 * |
s, |
|
|
va_list * |
ap |
|
) |
| |
|
static |
◆ format_ip_null_dpo_trace()
static u8* format_ip_null_dpo_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ip4_null_dpo_switch()
◆ ip6_null_dpo_switch()
◆ ip_null_dpo_add_and_lock()
◆ ip_null_dpo_get()
◆ ip_null_dpo_get_action()
◆ ip_null_dpo_lock()
static void ip_null_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
◆ ip_null_dpo_module_init()
void ip_null_dpo_module_init |
( |
void |
| ) |
|
◆ ip_null_dpo_switch()
◆ ip_null_dpo_unlock()
static void ip_null_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
◆ ip4_null_dpo_node
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 373 of file ip_null_dpo.c.
◆ ip4_null_nodes
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 147 of file ip_null_dpo.c.
◆ ip6_null_dpo_node
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 397 of file ip_null_dpo.c.
◆ ip6_null_nodes
const char* const ip6_null_nodes[] |
|
static |
◆ ip_null_action_strings
◆ ip_null_dpos
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.
◆ ip_null_nodes
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 158 of file ip_null_dpo.c.
◆ ip_null_vft
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 134 of file ip_null_dpo.c.