FD.io VPP  v17.07-30-g839fa73
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 429 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 498 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 128 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 415 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 282 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 213 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 185 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 449 of file ioam_analyse.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: