FD.io VPP  v18.04-17-g3a0d853
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

#define IOAM_FLOW_TEMPLATE_ID   260

Definition at line 26 of file ioam_analyse.h.

#define IOAM_MAX_PATHS_PER_FLOW   10

Definition at line 28 of file ioam_analyse.h.

#define IOAM_TRACE_MAX_NODES   10

Definition at line 27 of file ioam_analyse.h.

Typedef Documentation

Analysed iOAM data.

Note
cache aligned.

Function Documentation

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

Definition at line 431 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ioam_analyse_init_data ( ioam_analyser_data_t data)
inlinestatic

Definition at line 500 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 130 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 417 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 284 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static void ip6_ioam_analyse_set_paths_down ( ioam_analyser_data_t data)
inlinestatic

Definition at line 187 of file ioam_analyse.h.

+ Here is the caller graph for this function:

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

Definition at line 451 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: