FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ioam_summary_export.h File Reference
+ Include dependency graph for ioam_summary_export.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
 

Macros

#define foreach_ioam_ipfix_info_element
 
#define foreach_ioam_ipfix_field
 

Enumerations

enum  ioam_ipfix_info_element_id_t { foreach_ioam_ipfix_info_element }
 

Functions

clib_error_tioam_flow_report_init (vlib_main_t *vm)
 
clib_error_tioam_flow_create (u8 del)
 
u8ioam_template_rewrite (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index)
 
u16 ioam_analyse_add_ipfix_record (flow_report_t *fr, ioam_analyser_data_t *record, vlib_buffer_t *b0, u16 offset, ip6_address_t *src, ip6_address_t *dst, u16 src_port, u16 dst_port)
 

Macro Definition Documentation

◆ foreach_ioam_ipfix_field

#define foreach_ioam_ipfix_field
Value:
_(pkt_sent, 0xffffffff, ioamPacketSent, 4) \
_(pkt_counter, 0xffffffff, ioamPacketCount, 4) \
_(bytes_counter, 0xffffffff, ioamByteCount, 4) \
_(pot_data.sfc_validated_count, 0xffffffff, ioamSfcValidatedCount, 4) \
_(pot_data.sfc_invalidated_count, 0xffffffff, ioamSfcInValidatedCount, 4) \
_(seqno_data.rx_packets, 0xffffffff, ioamSeqnoRxCount, 4) \
_(seqno_data.lost_packets, 0xffffffff, ioamSeqnoLostCount, 4) \
_(seqno_data.reordered_packets, 0xffffffff, ioamSeqnoReorderedCount, 4) \
_(seqno_data.dup_packets, 0xffffffff, ioamSeqnoDupCount, 4)

Definition at line 42 of file ioam_summary_export.h.

◆ foreach_ioam_ipfix_info_element

#define foreach_ioam_ipfix_info_element
Value:
_(ioamPacketSent, 5239, u32) \
_(ioamPacketCount, 5237, u32) \
_(ioamByteCount, 5238, u32) \
_(ioamPathMap, 5262, u32) \
_(ioamNumberOfPaths, 5264, u16) \
_(ioamSfcValidatedCount, 5278, u32) \
_(ioamSfcInValidatedCount, 5279, u32) \
_(ioamSeqnoRxCount, 5280, u32) \
_(ioamSeqnoLostCount, 5281, u32) \
_(ioamSeqnoReorderedCount, 5282, u32) \
_(ioamSeqnoDupCount, 5283, u32)

Definition at line 21 of file ioam_summary_export.h.

Enumeration Type Documentation

◆ ioam_ipfix_info_element_id_t

Enumerator
foreach_ioam_ipfix_info_element 

Definition at line 35 of file ioam_summary_export.h.

Function Documentation

◆ ioam_analyse_add_ipfix_record()

u16 ioam_analyse_add_ipfix_record ( flow_report_t fr,
ioam_analyser_data_t record,
vlib_buffer_t b0,
u16  offset,
ip6_address_t *  src,
ip6_address_t *  dst,
u16  src_port,
u16  dst_port 
)

Definition at line 148 of file ioam_summary_export.c.

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

◆ ioam_flow_create()

clib_error_t* ioam_flow_create ( u8  del)

Definition at line 397 of file ioam_summary_export.c.

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

◆ ioam_flow_report_init()

clib_error_t* ioam_flow_report_init ( vlib_main_t vm)

Definition at line 428 of file ioam_summary_export.c.

◆ ioam_template_rewrite()

u8* ioam_template_rewrite ( flow_report_main_t frm,
flow_report_t fr,
ip4_address_t collector_address,
ip4_address_t src_address,
u16  collector_port,
ipfix_report_element_t elts,
u32  n_elts,
u32 stream_index 
)

Definition at line 23 of file ioam_summary_export.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
u16
unsigned short u16
Definition: types.h:57
u32
unsigned int u32
Definition: types.h:88