Go to the source code of this file.
|
static u8 * | format_srv6_localsid_sample_trace (u8 *s, va_list *args) |
|
static_always_inline void | end_srh_processing (vlib_node_runtime_t *node, vlib_buffer_t *b0, ip6_header_t *ip0, ip6_sr_header_t *sr0, ip6_sr_localsid_t *ls0, u32 *next0, u8 psp, ip6_ext_header_t *prev0) |
| Function doing End processing. More...
|
|
static uword | srv6_localsid_sample_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
◆ foreach_srv6_localsid_counter
#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.
◆ srv6_localsid_sample_counters
Enumerator |
---|
SRV6_LOCALSID_N_COUNTERS | |
Definition at line 42 of file node.c.
◆ srv6_localsid_sample_next_t
Enumerator |
---|
SRV6_SAMPLE_LOCALSID_NEXT_ERROR | |
SRV6_SAMPLE_LOCALSID_NEXT_IP6LOOKUP | |
SRV6_SAMPLE_LOCALSID_N_NEXT | |
Definition at line 55 of file node.c.
◆ end_srh_processing()
Function doing End processing.
Definition at line 65 of file node.c.
◆ format_srv6_localsid_sample_trace()
static u8* format_srv6_localsid_sample_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ srv6_localsid_sample_fn()
◆ srv6_localsid_counter_strings
char* srv6_localsid_counter_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_srv6_localsid_counter
Definition at line 49 of file node.c.
◆ srv6_localsid_sample_node
Initial value:= {
.name = "srv6-localsid-sample",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
vl_api_fib_path_type_t type
static u8 * format_srv6_localsid_sample_trace(u8 *s, va_list *args)
static uword srv6_localsid_sample_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * srv6_localsid_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_localsid_sample_node)
Definition at line 36 of file node.c.