Go to the source code of this file.
#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.
Enumerator |
---|
NSIM_NEXT_DROP |
|
NSIM_N_NEXT |
|
NSIM_NEXT_DROP |
|
NSIM_N_NEXT |
|
Definition at line 75 of file node.c.
static u8* format_nsim_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* nsim_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_nsim_error
Definition at line 68 of file node.c.
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.