FD.io VPP  v17.04.2-2-ga8f93f8
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

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:

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:

clib_error_t* ip6_ioam_analyse_init ( vlib_main_t vm)
void ip6_ioam_analyse_register_handlers ( void  )

Definition at line 454 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ip6_ioam_analyse_unregister_handlers ( void  )

Definition at line 465 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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 u8 * format_analyse_trace(u8 *s, va_list *args)
Definition: node.c: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:141
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static char * analyse_error_strings[]
Definition: node.c:50

(constructor) VLIB_REGISTER_NODE (analyse_node_local)

Definition at line 479 of file node.c.

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 u8 * format_analyse_trace(u8 *s, va_list *args)
Definition: node.c: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:141
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static char * analyse_error_strings[]
Definition: node.c:50

(constructor) VLIB_REGISTER_NODE (analyse_node_remote)

Definition at line 498 of file node.c.

ip6_ioam_analyser_main_t ioam_analyser_main

Definition at line 63 of file node.c.