FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
ioam_analyse.h File Reference
+ Include dependency graph for 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  ioam_path_map_t
 
struct  ioam_analyse_trace_record
 Analysed iOAM trace data. More...
 
struct  ioam_analyse_trace_data
 
struct  ioam_analyse_pot_data
 Analysed iOAM pot data. More...
 
struct  ioam_analyser_data_t_
 Analysed iOAM data. More...
 

Macros

#define IOAM_FLOW_TEMPLATE_ID   260
 
#define IOAM_TRACE_MAX_NODES   10
 
#define IOAM_MAX_PATHS_PER_FLOW   10
 

Typedefs

typedef struct ioam_analyser_data_t_ ioam_analyser_data_t
 Analysed iOAM data. More...
 

Functions

static f64 ip6_ioam_analyse_calc_delay (ioam_trace_hdr_t *trace, u16 trace_len, u8 oneway)
 
static void ip6_ioam_analyse_set_paths_down (ioam_analyser_data_t *data)
 
static void ip6_ioam_analyse_hbh_trace_loopback (ioam_analyser_data_t *data, ioam_trace_hdr_t *trace, u16 trace_len)
 
static int ip6_ioam_analyse_hbh_trace (ioam_analyser_data_t *data, ioam_trace_hdr_t *trace, u16 pak_len, u16 trace_len)
 
static int ip6_ioam_analyse_hbh_e2e (ioam_analyser_data_t *data, ioam_e2e_packet_t *e2e, u16 len)
 
static u8format_path_map (u8 *s, va_list *args)
 
static u8print_analyse_flow (u8 *s, ioam_analyser_data_t *record)
 
static void ioam_analyse_init_data (ioam_analyser_data_t *data)
 

Macro Definition Documentation

◆ IOAM_FLOW_TEMPLATE_ID

#define IOAM_FLOW_TEMPLATE_ID   260

Definition at line 27 of file ioam_analyse.h.

◆ IOAM_MAX_PATHS_PER_FLOW

#define IOAM_MAX_PATHS_PER_FLOW   10

Definition at line 29 of file ioam_analyse.h.

◆ IOAM_TRACE_MAX_NODES

#define IOAM_TRACE_MAX_NODES   10

Definition at line 28 of file ioam_analyse.h.

Typedef Documentation

◆ ioam_analyser_data_t

Analysed iOAM data.

Note
cache aligned.

Function Documentation

◆ format_path_map()

static u8* format_path_map ( u8 s,
va_list *  args 
)
inlinestatic

Definition at line 429 of file ioam_analyse.h.

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

◆ ioam_analyse_init_data()

static void ioam_analyse_init_data ( ioam_analyser_data_t data)
inlinestatic

Definition at line 498 of file ioam_analyse.h.

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

◆ ip6_ioam_analyse_calc_delay()

static f64 ip6_ioam_analyse_calc_delay ( ioam_trace_hdr_t *  trace,
u16  trace_len,
u8  oneway 
)
inlinestatic

Definition at line 131 of file ioam_analyse.h.

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

◆ ip6_ioam_analyse_hbh_e2e()

static int ip6_ioam_analyse_hbh_e2e ( ioam_analyser_data_t data,
ioam_e2e_packet_t *  e2e,
u16  len 
)
inlinestatic

Definition at line 415 of file ioam_analyse.h.

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

◆ ip6_ioam_analyse_hbh_trace()

static int ip6_ioam_analyse_hbh_trace ( ioam_analyser_data_t data,
ioam_trace_hdr_t *  trace,
u16  pak_len,
u16  trace_len 
)
inlinestatic

Definition at line 283 of file ioam_analyse.h.

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

◆ ip6_ioam_analyse_hbh_trace_loopback()

static void ip6_ioam_analyse_hbh_trace_loopback ( ioam_analyser_data_t data,
ioam_trace_hdr_t *  trace,
u16  trace_len 
)
inlinestatic

Definition at line 215 of file ioam_analyse.h.

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

◆ ip6_ioam_analyse_set_paths_down()

static void ip6_ioam_analyse_set_paths_down ( ioam_analyser_data_t data)
inlinestatic

Definition at line 188 of file ioam_analyse.h.

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

◆ print_analyse_flow()

static u8* print_analyse_flow ( u8 s,
ioam_analyser_data_t record 
)
inlinestatic

Definition at line 449 of file ioam_analyse.h.

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