Go to the source code of this file.
#define foreach_mac_address_offset |
Value:_(0) \
_(1) \
_(2) \
_(3) \
_(4) \
_(5)
Definition at line 75 of file node.c.
#define foreach_sample_error _(SWAPPED, "Mac swap packets processed") |
Enumerator |
---|
SAMPLE_NEXT_INTERFACE_OUTPUT |
|
SAMPLE_N_NEXT |
|
Definition at line 70 of file node.c.
static u8* format_mac_address |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_sample_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* sample_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_sample_error
Definition at line 64 of file node.c.
Initial value:= {
.name = "sample",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_sample_trace(u8 *s, va_list *args)
static uword sample_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * sample_error_strings[]
(constructor) VLIB_REGISTER_NODE (sample_node)
Definition at line 52 of file node.c.