FD.io VPP  v19.04-6-g6f05f72
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

typedef struct flow_report flow_report_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.

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

clib_error_t* flow_report_add_del_error_to_clib_error ( int  error)

Definition at line 414 of file flow_report.c.

+ Here is the caller graph for this function:

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 334 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_flow_report_enable_disable ( u32  sw_if_index,
u32  table_index,
int  enable_disable 
)
void vnet_flow_reports_reset ( flow_report_main_t frm)

Definition at line 435 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 168 of file flow_report.c.

+ Here is the call graph for this function:

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 467 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_stream_reset ( flow_report_main_t frm,
u32  stream_index 
)

Definition at line 452 of file flow_report.c.

+ Here is the caller graph for this function:

Variable Documentation

Definition at line 21 of file flow_report.c.

vlib_node_registration_t flow_report_process_node

(constructor) VLIB_REGISTER_NODE (flow_report_process_node)

Definition at line 326 of file flow_report.c.