FD.io VPP  v21.01.1
Vector Packet Processing
flow_report.h File Reference
+ Include dependency graph for flow_report.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ipfix_report_element_t
 
struct  ip4_ipfix_template_packet_t
 
union  opaque_t
 
struct  flow_report_stream_t
 
struct  flow_report
 
struct  flow_report_main
 
struct  vnet_flow_report_add_del_args_t
 

Typedefs

typedef vlib_frame_t *() vnet_flow_data_callback_t(struct flow_report_main *, struct flow_report *, vlib_frame_t *, u32 *, u32)
 
typedef u8 *() vnet_flow_rewrite_callback_t(struct flow_report_main *, struct flow_report *, ip4_address_t *, ip4_address_t *, u16, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index)
 
typedef struct flow_report flow_report_t
 
typedef struct flow_report_main flow_report_main_t
 

Functions

u8vnet_flow_rewrite_generic_callback (struct flow_report_main *, struct flow_report *, ip4_address_t *, ip4_address_t *, u16, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index)
 
int vnet_flow_report_enable_disable (u32 sw_if_index, u32 table_index, int enable_disable)
 
int vnet_flow_report_add_del (flow_report_main_t *frm, vnet_flow_report_add_del_args_t *a, u16 *template_id)
 
clib_error_tflow_report_add_del_error_to_clib_error (int error)
 
void vnet_flow_reports_reset (flow_report_main_t *frm)
 
void vnet_stream_reset (flow_report_main_t *frm, u32 stream_index)
 
int vnet_stream_change (flow_report_main_t *frm, u32 old_domain_id, u16 old_src_port, u32 new_domain_id, u16 new_src_port)
 

Variables

flow_report_main_t flow_report_main
 
vlib_node_registration_t flow_report_process_node
 (constructor) VLIB_REGISTER_NODE (flow_report_process_node) More...
 

Typedef Documentation

◆ flow_report_main_t

◆ flow_report_t

typedef struct flow_report flow_report_t

◆ vnet_flow_data_callback_t

typedef vlib_frame_t*() vnet_flow_data_callback_t(struct flow_report_main *, struct flow_report *, vlib_frame_t *, u32 *, u32)

Definition at line 52 of file flow_report.h.

◆ vnet_flow_rewrite_callback_t

typedef u8*() vnet_flow_rewrite_callback_t(struct flow_report_main *, struct flow_report *, ip4_address_t *, ip4_address_t *, u16, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index)

Definition at line 57 of file flow_report.h.

Function Documentation

◆ flow_report_add_del_error_to_clib_error()

clib_error_t* flow_report_add_del_error_to_clib_error ( int  error)

Definition at line 415 of file flow_report.c.

+ Here is the caller graph for this function:

◆ vnet_flow_report_add_del()

int vnet_flow_report_add_del ( flow_report_main_t frm,
vnet_flow_report_add_del_args_t a,
u16 template_id 
)

Definition at line 335 of file flow_report.c.

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

◆ vnet_flow_report_enable_disable()

int vnet_flow_report_enable_disable ( u32  sw_if_index,
u32  table_index,
int  enable_disable 
)

◆ vnet_flow_reports_reset()

void vnet_flow_reports_reset ( flow_report_main_t frm)

Definition at line 436 of file flow_report.c.

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

◆ vnet_flow_rewrite_generic_callback()

u8* vnet_flow_rewrite_generic_callback ( struct flow_report_main ,
struct flow_report ,
ip4_address_t ,
ip4_address_t ,
u16  ,
ipfix_report_element_t elts,
u32  n_elts,
u32 stream_index 
)

Definition at line 169 of file flow_report.c.

+ Here is the call graph for this function:

◆ vnet_stream_change()

int vnet_stream_change ( flow_report_main_t frm,
u32  old_domain_id,
u16  old_src_port,
u32  new_domain_id,
u16  new_src_port 
)

Definition at line 468 of file flow_report.c.

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

◆ vnet_stream_reset()

void vnet_stream_reset ( flow_report_main_t frm,
u32  stream_index 
)

Definition at line 453 of file flow_report.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ flow_report_main

Definition at line 22 of file flow_report.c.

◆ flow_report_process_node

vlib_node_registration_t flow_report_process_node

(constructor) VLIB_REGISTER_NODE (flow_report_process_node)

Definition at line 327 of file flow_report.c.