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 () |
|
#define foreach_analyse_error |
Value:_(ANALYSED, "Packets analysed for summarization") \
_(FAILED, "Packets analysis failed") \
Definition at line 38 of file node.c.
Enumerator |
---|
ANALYSE_N_ERROR |
|
Definition at line 42 of file node.c.
Enumerator |
---|
ANALYSE_NEXT_IP4_LOOKUP |
|
ANALYSE_NEXT_IP4_DROP |
|
ANALYSE_N_NEXT |
|
Definition at line 56 of file node.c.
static u8* format_analyse_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
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 141 of file node.c.
void ip6_ioam_analyse_register_handlers |
( |
void |
| ) |
|
int ip6_ioam_analyse_register_hbh_handler |
( |
u8 |
option, |
|
|
int |
optionsu32 flow_id,ip6_hop_by_hop_option_t *opt, u16 len |
|
) |
| |
void ip6_ioam_analyse_unregister_handlers |
( |
void |
| ) |
|
int ip6_ioam_analyse_unregister_hbh_handler |
( |
u8 |
option | ) |
|
char* analyse_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_analyse_error
Definition at line 50 of file node.c.
Initial value:= {
.name = "ip6-hbh-analyse-local",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_analyse_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static uword ip6_ioam_analyse_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
IPv6 InBandOAM Analyse node.
static char * analyse_error_strings[]
(constructor) VLIB_REGISTER_NODE (analyse_node_local)
Definition at line 35 of file node.c.
Initial value:=
{
.name = "ip6-hbh-analyse-remote",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_analyse_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static uword ip6_ioam_analyse_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
IPv6 InBandOAM Analyse node.
static char * analyse_error_strings[]
(constructor) VLIB_REGISTER_NODE (analyse_node_remote)
Definition at line 36 of file node.c.