FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
flow_report.c File Reference
+ Include dependency graph for flow_report.c:

Go to the source code of this file.

Functions

static_always_inline u8 stream_index_valid (u32 index)
 
static_always_inline flow_report_stream_tadd_stream (void)
 
static_always_inline void delete_stream (u32 index)
 
static i32 find_stream (u32 domain_id, u16 src_port)
 
int send_template_packet (flow_report_main_t *frm, flow_report_t *fr, u32 *buffer_indexp)
 
static uword flow_report_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
int vnet_flow_report_add_del (flow_report_main_t *frm, vnet_flow_report_add_del_args_t *a)
 
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)
 
static clib_error_tset_ipfix_exporter_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tflow_report_init (vlib_main_t *vm)
 

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...
 
static vlib_cli_command_t set_ipfix_exporter_command
 (constructor) VLIB_CLI_COMMAND (set_ipfix_exporter_command) More...
 

Function Documentation

Definition at line 30 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void delete_stream ( u32  index)

Definition at line 42 of file flow_report.c.

+ Here is the caller graph for this function:

static i32 find_stream ( u32  domain_id,
u16  src_port 
)
static

Definition at line 50 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* flow_report_add_del_error_to_clib_error ( int  error)

Definition at line 309 of file flow_report.c.

+ Here is the caller graph for this function:

static clib_error_t* flow_report_init ( vlib_main_t vm)
static

Definition at line 469 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword flow_report_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 162 of file flow_report.c.

+ Here is the call graph for this function:

int send_template_packet ( flow_report_main_t frm,
flow_report_t fr,
u32 buffer_indexp 
)

Definition at line 69 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* set_ipfix_exporter_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 374 of file flow_report.c.

+ Here is the call graph for this function:

static_always_inline u8 stream_index_valid ( u32  index)

Definition at line 23 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 
)

Definition at line 238 of file flow_report.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_flow_reports_reset ( flow_report_main_t frm)

Definition at line 329 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 358 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 345 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
Initial value:
= {
.function = flow_report_process,
.name = "flow-report-process",
}
static uword flow_report_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: flow_report.c:162

(constructor) VLIB_REGISTER_NODE (flow_report_process_node)

Definition at line 232 of file flow_report.c.

vlib_cli_command_t set_ipfix_exporter_command
static
Initial value:
= {
.path = "set ipfix exporter",
.short_help = "set ipfix exporter "
"collector <ip4-address> [port <port>] "
"src <ip4-address> [fib-id <fib-id>] "
"[path-mtu <path-mtu>] "
"[template-interval <template-interval>]",
"[udp-checksum]",
}
static clib_error_t * set_ipfix_exporter_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: flow_report.c:374

(constructor) VLIB_CLI_COMMAND (set_ipfix_exporter_command)

Definition at line 457 of file flow_report.c.