FD.io VPP  v16.06
Vector Packet Processing
flow_report_sample.c File Reference
+ Include dependency graph for flow_report_sample.c:

Go to the source code of this file.

Data Structures

struct  flow_report_sample_main_t
 

Functions

static u8template_rewrite (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address)
 
static vlib_frame_tsend_flows (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index)
 
static clib_error_tflow_sample_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tflow_report_sample_init (vlib_main_t *vm)
 

Variables

flow_report_sample_main_t flow_report_sample_main
 
vlib_cli_command_t flow_sample_command
 (constructor) VLIB_CLI_COMMAND (flow_sample_command) More...
 

Function Documentation

static clib_error_t* flow_report_sample_init ( vlib_main_t vm)
static

Definition at line 387 of file flow_report_sample.c.

+ Here is the call graph for this function:

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

Definition at line 329 of file flow_report_sample.c.

+ Here is the call graph for this function:

static vlib_frame_t* send_flows ( flow_report_main_t frm,
flow_report_t fr,
vlib_frame_t f,
u32 to_next,
u32  node_index 
)
static

Definition at line 139 of file flow_report_sample.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* template_rewrite ( flow_report_main_t frm,
flow_report_t fr,
ip4_address_t collector_address,
ip4_address_t src_address 
)
static

Definition at line 25 of file flow_report_sample.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

flow_report_sample_main_t flow_report_sample_main

Definition at line 23 of file flow_report_sample.c.

vlib_cli_command_t flow_sample_command
Initial value:
= {
.path = "flow sample",
.short_help = "flow sample",
}
static clib_error_t * flow_sample_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (flow_sample_command)

Definition at line 380 of file flow_report_sample.c.