Go to the source code of this file.
|
static u8 * | format_srv6_am_localsid_trace (u8 *s, va_list *args) |
|
static u8 * | format_srv6_am_rewrite_trace (u8 *s, va_list *args) |
|
static_always_inline void | end_am_processing (vlib_buffer_t *b0, ip6_header_t *ip0, ip6_sr_header_t *sr0, ip6_sr_localsid_t *ls0, u32 *next0) |
| SRv6 masquerading. More...
|
|
static uword | srv6_am_localsid_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Graph node for applying SRv6 masquerading. More...
|
|
static_always_inline void | end_am_rewriting (vlib_node_runtime_t *node, vlib_buffer_t *b0, ip6_header_t *ip0, ip6_sr_header_t *sr0, u32 *next0) |
| SRv6 de-masquerading. More...
|
|
static uword | srv6_am_rewrite_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Graph node for applying SRv6 de-masquerading. More...
|
|
#define foreach_srv6_am_rewrite_counter |
Value:_(PROCESSED, "srv6-am rewritten packets") \
_(NO_SRH, "(Error) No SRH.")
Definition at line 62 of file node.c.
Enumerator |
---|
SRV6_AM_LOCALSID_NEXT_ERROR |
|
SRV6_AM_LOCALSID_NEXT_REWRITE |
|
SRV6_AM_LOCALSID_N_NEXT |
|
Definition at line 83 of file node.c.
Enumerator |
---|
SRV6_AM_REWRITE_N_COUNTERS |
|
Definition at line 66 of file node.c.
Enumerator |
---|
SRV6_AM_REWRITE_NEXT_ERROR |
|
SRV6_AM_REWRITE_NEXT_LOOKUP |
|
SRV6_AM_REWRITE_N_NEXT |
|
Definition at line 90 of file node.c.
SRv6 masquerading.
Definition at line 104 of file node.c.
SRv6 de-masquerading.
Definition at line 238 of file node.c.
static u8* format_srv6_am_localsid_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_srv6_am_rewrite_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Graph node for applying SRv6 masquerading.
Definition at line 140 of file node.c.
Graph node for applying SRv6 de-masquerading.
Definition at line 264 of file node.c.
Initial value:= {
.name = "srv6-am-localsid",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_srv6_am_localsid_trace(u8 *s, va_list *args)
static uword srv6_am_localsid_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Graph node for applying SRv6 masquerading.
(constructor) VLIB_REGISTER_NODE (srv6_am_localsid_node)
Definition at line 217 of file node.c.
char* srv6_am_rewrite_counter_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_srv6_am_rewrite_counter
Definition at line 74 of file node.c.
Initial value:= {
.name = "srv6-am-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * srv6_am_rewrite_counter_strings[]
static uword srv6_am_rewrite_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Graph node for applying SRv6 de-masquerading.
static u8 * format_srv6_am_rewrite_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (srv6_am_rewrite_node)
Definition at line 57 of file node.c.