FD.io VPP  v17.10-9-gd594711
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  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 u8 *( vnet_flow_rewrite_callback_t) (struct flow_report_main *, struct flow_report *, ip4_address_t *, ip4_address_t *, u16)
 
typedef vlib_frame_t *( vnet_flow_data_callback_t) (struct flow_report_main *, struct flow_report *, vlib_frame_t *, u32 *, u32)
 
typedef struct flow_report flow_report_t
 
typedef struct flow_report_main flow_report_main_t
 

Functions

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 50 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)

Definition at line 44 of file flow_report.h.

Function Documentation

clib_error_t* flow_report_add_del_error_to_clib_error ( int  error)

Definition at line 316 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 239 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 336 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller 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 365 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 352 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 233 of file flow_report.c.