|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
15 #ifndef __included_ip6_ioam_flow_report_h__
16 #define __included_ip6_ioam_flow_report_h__
21 #define foreach_ioam_ipfix_info_element \
22 _(ioamPacketSent, 5239, u32) \
23 _(ioamPacketCount, 5237, u32) \
24 _(ioamByteCount, 5238, u32) \
25 _(ioamPathMap, 5262, u32) \
26 _(ioamNumberOfPaths, 5264, u16) \
27 _(ioamSfcValidatedCount, 5278, u32) \
28 _(ioamSfcInValidatedCount, 5279, u32) \
29 _(ioamSeqnoRxCount, 5280, u32) \
30 _(ioamSeqnoLostCount, 5281, u32) \
31 _(ioamSeqnoReorderedCount, 5282, u32) \
32 _(ioamSeqnoDupCount, 5283, u32)
37 #define _(n,v,t) n = v,
42 #define foreach_ioam_ipfix_field \
43 _(pkt_sent, 0xffffffff, ioamPacketSent, 4) \
44 _(pkt_counter, 0xffffffff, ioamPacketCount, 4) \
45 _(bytes_counter, 0xffffffff, ioamByteCount, 4) \
46 _(pot_data.sfc_validated_count, 0xffffffff, ioamSfcValidatedCount, 4) \
47 _(pot_data.sfc_invalidated_count, 0xffffffff, ioamSfcInValidatedCount, 4) \
48 _(seqno_data.rx_packets, 0xffffffff, ioamSeqnoRxCount, 4) \
49 _(seqno_data.lost_packets, 0xffffffff, ioamSeqnoLostCount, 4) \
50 _(seqno_data.reordered_packets, 0xffffffff, ioamSeqnoReorderedCount, 4) \
51 _(seqno_data.dup_packets, 0xffffffff, ioamSeqnoDupCount, 4)
72 u32 n_elts,
u32 * stream_index);
77 ip6_address_t *
src, ip6_address_t *
dst,
vl_api_ip_port_and_mask_t dst_port
clib_error_t * ioam_flow_create(u8 del)
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)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
clib_error_t * ioam_flow_report_init(vlib_main_t *vm)
vl_api_ip_port_and_mask_t src_port
template key/value backing page structure
#define foreach_ioam_ipfix_info_element
ioam_ipfix_info_element_id_t
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)
vl_api_address_union_t src_address
VLIB buffer representation.