Go to the source code of this file.
|
static u8 * | format_analyse_trace (u8 *s, va_list *args) |
|
static u8 | ioam_analyse_hbh (u32 flow_id, ip6_hop_by_hop_header_t *hbh0, ip6_hop_by_hop_option_t *opt0, ip6_hop_by_hop_option_t *limit0, u16 len) |
|
static uword | ip6_ioam_analyse_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| IPv6 InBandOAM Analyse node. More...
|
|
int | ip6_ioam_analyse_hbh_trace_internal (u32 flow_id, ip6_hop_by_hop_option_t *opt, u16 len) |
|
int | ip6_ioam_analyse_hbh_pot (u32 flow_id, ip6_hop_by_hop_option_t *opt0, u16 len) |
|
int | ip6_ioam_analyse_hbh_e2e_internal (u32 flow_id, ip6_hop_by_hop_option_t *opt, u16 len) |
|
int | ip6_ioam_analyse_register_hbh_handler (u8 option, int options(u32 flow_id, ip6_hop_by_hop_option_t *opt, u16 len)) |
|
int | ip6_ioam_analyse_unregister_hbh_handler (u8 option) |
|
void | ip6_ioam_analyse_register_handlers () |
|
void | ip6_ioam_analyse_unregister_handlers () |
|
◆ foreach_analyse_error
#define foreach_analyse_error |
Value:_(ANALYSED, "Packets analysed for summarization") \
_(FAILED, "Packets analysis failed") \
Definition at line 39 of file node.c.
◆ analyse_error_t
Enumerator |
---|
ANALYSE_N_ERROR | |
Definition at line 43 of file node.c.
◆ analyse_next_t
Enumerator |
---|
ANALYSE_NEXT_IP4_LOOKUP | |
ANALYSE_NEXT_IP4_DROP | |
ANALYSE_N_NEXT | |
Definition at line 57 of file node.c.
◆ format_analyse_trace()
static u8* format_analyse_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ioam_analyse_hbh()
◆ ip6_ioam_analyse_hbh_e2e_internal()
◆ ip6_ioam_analyse_hbh_pot()
◆ ip6_ioam_analyse_hbh_trace_internal()
◆ ip6_ioam_analyse_node_fn()
IPv6 InBandOAM Analyse node.
- Node Identifier:
ip6-hbh-analyse-local
, ip6-hbh-analyse-remote
This function receives IP-FIX packets containing IPv6-iOAM records, analyses them and collects/aggregates the statistics.
- Parameters
-
- Graph mechanics: buffer, next index usage
Uses:
vlib_buffer_get_current(p0)
- Walks on each ioam record present in IP-Fix record, analyse them and store the statistics.
Next Index:
- Dispatches the packet to ip4-lookup if executed under ip6-hbh-analyse-local node context and to ip4-drop if executed under ip6-hbh-analyse-remote node context.
Definition at line 142 of file node.c.
◆ ip6_ioam_analyse_register_handlers()
void ip6_ioam_analyse_register_handlers |
( |
| ) |
|
◆ ip6_ioam_analyse_register_hbh_handler()
int ip6_ioam_analyse_register_hbh_handler |
( |
u8 |
option, |
|
|
int |
optionsu32 flow_id, ip6_hop_by_hop_option_t * opt, u16 len |
|
) |
| |
◆ ip6_ioam_analyse_unregister_handlers()
void ip6_ioam_analyse_unregister_handlers |
( |
| ) |
|
◆ ip6_ioam_analyse_unregister_hbh_handler()
int ip6_ioam_analyse_unregister_hbh_handler |
( |
u8 |
option | ) |
|
◆ analyse_error_strings
char* analyse_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 51 of file node.c.
◆ analyse_node_local
Initial value:= {
.name = "ip6-hbh-analyse-local",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (analyse_node_local)
Definition at line 36 of file node.c.
◆ analyse_node_remote
Initial value:=
{
.name = "ip6-hbh-analyse-remote",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (analyse_node_remote)
Definition at line 37 of file node.c.
◆ ioam_analyser_main