Go to the source code of this file.
#define foreach_srv6_localsid_counter |
Value:_(PROCESSED, "srv6-sample-localsid processed packets") \
_(NO_SRH, "(Error) No SRH.")
Definition at line 38 of file node.c.
Enumerator |
---|
SRV6_LOCALSID_N_COUNTERS |
|
Definition at line 42 of file node.c.
Enumerator |
---|
SRV6_SAMPLE_LOCALSID_NEXT_ERROR |
|
SRV6_SAMPLE_LOCALSID_NEXT_IP6LOOKUP |
|
SRV6_SAMPLE_LOCALSID_N_NEXT |
|
Definition at line 55 of file node.c.
Function doing End processing.
Definition at line 66 of file node.c.
static u8* format_srv6_localsid_sample_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char* srv6_localsid_counter_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_srv6_localsid_counter
Definition at line 49 of file node.c.
Initial value:= {
.name = "srv6-localsid-sample",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_localsid_sample_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_srv6_localsid_sample_trace(u8 *s, va_list *args)
static char * srv6_localsid_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_localsid_sample_node)
Definition at line 36 of file node.c.