Go to the source code of this file.
|
static u8 * | format_srv6_ad_localsid_trace (u8 *s, va_list *args) |
|
static u8 * | format_srv6_ad_rewrite_trace (u8 *s, va_list *args) |
|
static_always_inline void | end_ad_processing (vlib_buffer_t *b0, ip6_header_t *ip0, ip6_sr_header_t *sr0, ip6_sr_localsid_t *ls0, u32 *next0) |
| Function doing SRH processing for AD behavior. More...
|
|
static uword | srv6_ad_localsid_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| SRv6 AD Localsid graph node. More...
|
|
static uword | srv6_ad2_rewrite_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Graph node for applying a SR policy into an IPv6 packet. More...
|
|
static uword | srv6_ad4_rewrite_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Graph node for applying a SR policy into an IPv6 packet. More...
|
|
static uword | srv6_ad6_rewrite_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Graph node for applying a SR policy into an IPv6 packet. More...
|
|
#define foreach_srv6_ad_rewrite_counter |
Value:_(PROCESSED, "srv6-ad rewritten packets") \
_(NO_RW, "(Error) No header for rewriting.")
Definition at line 69 of file node.c.
Enumerator |
---|
SRV6_AD_LOCALSID_NEXT_ERROR |
|
SRV6_AD_LOCALSID_NEXT_REWRITE4 |
|
SRV6_AD_LOCALSID_NEXT_REWRITE6 |
|
SRV6_AD_LOCALSID_NEXT_INTERFACE |
|
SRV6_AD_LOCALSID_N_NEXT |
|
Definition at line 90 of file node.c.
Enumerator |
---|
SRV6_AD_REWRITE_N_COUNTERS |
|
Definition at line 73 of file node.c.
Enumerator |
---|
SRV6_AD_REWRITE_NEXT_ERROR |
|
SRV6_AD_REWRITE_NEXT_LOOKUP |
|
SRV6_AD_REWRITE_N_NEXT |
|
Definition at line 99 of file node.c.
Function doing SRH processing for AD behavior.
Definition at line 113 of file node.c.
static u8* format_srv6_ad_localsid_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_srv6_ad_rewrite_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 297 of file node.c.
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 431 of file node.c.
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 574 of file node.c.
SRv6 AD Localsid graph node.
Definition at line 198 of file node.c.
Initial value:= {
.name = "srv6-ad2-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_ad2_rewrite_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Graph node for applying a SR policy into an IPv6 packet.
static u8 * format_srv6_ad_rewrite_trace(u8 *s, va_list *args)
static char * srv6_ad_rewrite_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_ad2_rewrite_node)
Definition at line 410 of file node.c.
Initial value:= {
.name = "srv6-ad4-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_srv6_ad_rewrite_trace(u8 *s, va_list *args)
static uword srv6_ad4_rewrite_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Graph node for applying a SR policy into an IPv6 packet.
static char * srv6_ad_rewrite_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_ad4_rewrite_node)
Definition at line 63 of file node.c.
Initial value:= {
.name = "srv6-ad6-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_ad6_rewrite_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Graph node for applying a SR policy into an IPv6 packet.
static u8 * format_srv6_ad_rewrite_trace(u8 *s, va_list *args)
static char * srv6_ad_rewrite_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_ad6_rewrite_node)
Definition at line 64 of file node.c.
Initial value:= {
.name = "srv6-ad-localsid",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_ad_localsid_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
SRv6 AD Localsid graph node.
static u8 * format_srv6_ad_localsid_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (srv6_ad_localsid_node)
Definition at line 274 of file node.c.
char* srv6_ad_rewrite_counter_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_srv6_ad_rewrite_counter
Definition at line 81 of file node.c.