FD.io VPP  v21.01.1
Vector Packet Processing
ip6_ioam_analyse.h File Reference
+ Include dependency graph for ip6_ioam_analyse.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip6_ioam_analyser_main_t
 IP6-iOAM analyser main structure. More...
 

Functions

void ip6_ioam_analyse_register_handlers (void)
 
void ip6_ioam_analyse_unregister_handlers (void)
 
clib_error_tip6_ioam_analyse_init (vlib_main_t *vm)
 
static ioam_analyser_data_tioam_analyse_get_data_from_flow_id (u32 flow_id)
 
static void * ip6_ioam_find_hbh_option (ip6_hop_by_hop_header_t *hbh0, u8 option)
 
static int ip6_ioam_analyse_compare_path_delay (ip6_hop_by_hop_header_t *hbh0, ip6_hop_by_hop_header_t *hbh1, bool oneway)
 

Variables

ip6_ioam_analyser_main_t ioam_analyser_main
 
vlib_node_registration_t analyse_node_local
 (constructor) VLIB_REGISTER_NODE (analyse_node_local) More...
 
vlib_node_registration_t analyse_node_remote
 (constructor) VLIB_REGISTER_NODE (analyse_node_remote) More...
 

Function Documentation

◆ ioam_analyse_get_data_from_flow_id()

static ioam_analyser_data_t* ioam_analyse_get_data_from_flow_id ( u32  flow_id)
inlinestatic

Definition at line 50 of file ip6_ioam_analyse.h.

+ Here is the caller graph for this function:

◆ ip6_ioam_analyse_compare_path_delay()

static int ip6_ioam_analyse_compare_path_delay ( ip6_hop_by_hop_header_t hbh0,
ip6_hop_by_hop_header_t hbh1,
bool  oneway 
)
inlinestatic

Definition at line 90 of file ip6_ioam_analyse.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_ioam_analyse_init()

clib_error_t* ip6_ioam_analyse_init ( vlib_main_t vm)

◆ ip6_ioam_analyse_register_handlers()

void ip6_ioam_analyse_register_handlers ( void  )

Definition at line 449 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_ioam_analyse_unregister_handlers()

void ip6_ioam_analyse_unregister_handlers ( void  )

Definition at line 460 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_ioam_find_hbh_option()

static void* ip6_ioam_find_hbh_option ( ip6_hop_by_hop_header_t hbh0,
u8  option 
)
inlinestatic

Definition at line 62 of file ip6_ioam_analyse.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ analyse_node_local

vlib_node_registration_t analyse_node_local
Initial value:
= {
.name = "ip6-hbh-analyse-local",
.vector_size = sizeof (u32),
.format_trace = format_analyse_trace,
.error_strings = analyse_error_strings,
.n_next_nodes = ANALYSE_N_NEXT,
.next_nodes = {
[ANALYSE_NEXT_IP4_LOOKUP] = "ip4-lookup",
[ANALYSE_NEXT_IP4_DROP] = "ip4-drop",
},
}
static char * analyse_error_strings[]
Definition: node.c:51
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static u8 * format_analyse_trace(u8 *s, va_list *args)
Definition: node.c:68
#define ARRAY_LEN(x)
Definition: clib.h:67
static uword ip6_ioam_analyse_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
IPv6 InBandOAM Analyse node.
Definition: node.c:142

(constructor) VLIB_REGISTER_NODE (analyse_node_local)

Definition at line 474 of file node.c.

◆ analyse_node_remote

vlib_node_registration_t analyse_node_remote
Initial value:
=
{
.name = "ip6-hbh-analyse-remote",
.vector_size = sizeof (u32),
.format_trace = format_analyse_trace,
.error_strings = analyse_error_strings,
.n_next_nodes = ANALYSE_N_NEXT,
.next_nodes = {
[ANALYSE_NEXT_IP4_LOOKUP] = "ip4-lookup",
[ANALYSE_NEXT_IP4_DROP] = "ip4-drop",
},
}
static char * analyse_error_strings[]
Definition: node.c:51
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static u8 * format_analyse_trace(u8 *s, va_list *args)
Definition: node.c:68
#define ARRAY_LEN(x)
Definition: clib.h:67
static uword ip6_ioam_analyse_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
IPv6 InBandOAM Analyse node.
Definition: node.c:142

(constructor) VLIB_REGISTER_NODE (analyse_node_remote)

Definition at line 493 of file node.c.

◆ ioam_analyser_main

ip6_ioam_analyser_main_t ioam_analyser_main

Definition at line 64 of file node.c.