Go to the source code of this file.
|
static u8 * | format_srv6_as_localsid_trace (u8 *s, va_list *args) |
|
static u8 * | format_srv6_as_rewrite_trace (u8 *s, va_list *args) |
|
static_always_inline void | end_as_processing (vlib_buffer_t *b0, ip6_header_t *ip0, srv6_as_localsid_t *ls0_mem, u32 *next0) |
| Function doing SRH processing for AS behavior. More...
|
|
static uword | srv6_as_localsid_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| SRv6 AS Localsid graph node. More...
|
|
static uword | srv6_as2_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_as4_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_as6_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...
|
|
◆ foreach_srv6_as_rewrite_counter
#define foreach_srv6_as_rewrite_counter |
Value:_(PROCESSED, "srv6-as rewritten packets") \
_(NO_RW, "(Error) No header for rewriting.")
Definition at line 69 of file node.c.
◆ srv6_as_localsid_next_t
Enumerator |
---|
SRV6_AS_LOCALSID_NEXT_ERROR | |
SRV6_AS_LOCALSID_NEXT_REWRITE4 | |
SRV6_AS_LOCALSID_NEXT_REWRITE6 | |
SRV6_AS_LOCALSID_NEXT_INTERFACE | |
SRV6_AS_LOCALSID_N_NEXT | |
Definition at line 90 of file node.c.
◆ srv6_as_rewrite_counters
Enumerator |
---|
SRV6_AS_REWRITE_N_COUNTERS | |
Definition at line 73 of file node.c.
◆ srv6_as_rewrite_next_t
Enumerator |
---|
SRV6_AS_REWRITE_NEXT_ERROR | |
SRV6_AS_REWRITE_NEXT_LOOKUP | |
SRV6_AS_REWRITE_N_NEXT | |
Definition at line 99 of file node.c.
◆ end_as_processing()
Function doing SRH processing for AS behavior.
Definition at line 113 of file node.c.
◆ format_srv6_as_localsid_trace()
static u8* format_srv6_as_localsid_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_srv6_as_rewrite_trace()
static u8* format_srv6_as_rewrite_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ srv6_as2_rewrite_fn()
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 264 of file node.c.
◆ srv6_as4_rewrite_fn()
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 398 of file node.c.
◆ srv6_as6_rewrite_fn()
Graph node for applying a SR policy into an IPv6 packet.
Encapsulation
Definition at line 542 of file node.c.
◆ srv6_as_localsid_fn()
SRv6 AS Localsid graph node.
Definition at line 167 of file node.c.
◆ srv6_as2_rewrite_node
Initial value:= {
.name = "srv6-as2-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
vl_api_fib_path_type_t type
static uword srv6_as2_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_as_rewrite_trace(u8 *s, va_list *args)
static char * srv6_as_rewrite_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_as2_rewrite_node)
Definition at line 377 of file node.c.
◆ srv6_as4_rewrite_node
Initial value:= {
.name = "srv6-as4-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
vl_api_fib_path_type_t type
static u8 * format_srv6_as_rewrite_trace(u8 *s, va_list *args)
static char * srv6_as_rewrite_counter_strings[]
static uword srv6_as4_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.
(constructor) VLIB_REGISTER_NODE (srv6_as4_rewrite_node)
Definition at line 63 of file node.c.
◆ srv6_as6_rewrite_node
Initial value:= {
.name = "srv6-as6-rewrite",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_as6_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.
vl_api_fib_path_type_t type
static u8 * format_srv6_as_rewrite_trace(u8 *s, va_list *args)
static char * srv6_as_rewrite_counter_strings[]
(constructor) VLIB_REGISTER_NODE (srv6_as6_rewrite_node)
Definition at line 64 of file node.c.
◆ srv6_as_localsid_node
Initial value:= {
.name = "srv6-as-localsid",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword srv6_as_localsid_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
SRv6 AS Localsid graph node.
vl_api_fib_path_type_t type
static u8 * format_srv6_as_localsid_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (srv6_as_localsid_node)
Definition at line 241 of file node.c.
◆ srv6_as_rewrite_counter_strings
char* srv6_as_rewrite_counter_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_srv6_as_rewrite_counter
Definition at line 81 of file node.c.