Go to the source code of this file.
◆ foreach_nsim_error
#define foreach_nsim_error |
Value:_(BUFFERED, "Packets buffered") \
_(DROPPED, "Packets dropped due to lack of space") \
_(LOSS, "Network loss simulation drop packets")
Definition at line 54 of file node.c.
◆ nsim_error_t
◆ nsim_next_t
Enumerator |
---|
NSIM_NEXT_DROP | |
NSIM_N_NEXT | |
NSIM_NEXT_DROP | |
NSIM_N_NEXT | |
Definition at line 75 of file node.c.
◆ format_nsim_trace()
static u8* format_nsim_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ nsim_inline()
◆ nsim_node()
◆ nsim_error_strings
char* nsim_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_nsim_error
Definition at line 68 of file node.c.
◆ nsim_node
Initial value:=
{
.name = "nsim",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * nsim_error_strings[]
static u8 * format_nsim_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (nsim_node)
Definition at line 51 of file node.c.