FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
flow_report_classify.c File Reference
+ Include dependency graph for flow_report_classify.c:

Go to the source code of this file.

Data Structures

struct  tcpudp_header_t
 

Functions

u8ipfix_classify_template_rewrite (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index)
 
vlib_frame_tipfix_classify_send_flows (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index)
 
static clib_error_tipfix_classify_table_add_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_ipfix_classify_stream_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tflow_report_classify_init (vlib_main_t *vm)
 

Variables

flow_report_classify_main_t flow_report_classify_main
 
static vlib_cli_command_t ipfix_classify_table_add_del_command
 (constructor) VLIB_CLI_COMMAND (ipfix_classify_table_add_del_command) More...
 
static vlib_cli_command_t set_ipfix_classify_stream_command
 (constructor) VLIB_CLI_COMMAND (set_ipfix_classify_stream_command) More...
 

Function Documentation

◆ flow_report_classify_init()

static clib_error_t* flow_report_classify_init ( vlib_main_t vm)
static

Definition at line 540 of file flow_report_classify.c.

+ Here is the call graph for this function:

◆ ipfix_classify_send_flows()

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

Definition at line 159 of file flow_report_classify.c.

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

◆ ipfix_classify_table_add_del_command_fn()

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

Definition at line 393 of file flow_report_classify.c.

+ Here is the call graph for this function:

◆ ipfix_classify_template_rewrite()

u8* ipfix_classify_template_rewrite ( flow_report_main_t frm,
flow_report_t fr,
ip4_address_t collector_address,
ip4_address_t src_address,
u16  collector_port,
ipfix_report_element_t elts,
u32  n_elts,
u32 stream_index 
)

Definition at line 30 of file flow_report_classify.c.

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

◆ set_ipfix_classify_stream_command_fn()

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

Definition at line 496 of file flow_report_classify.c.

+ Here is the call graph for this function:

Variable Documentation

◆ flow_report_classify_main

flow_report_classify_main_t flow_report_classify_main

Definition at line 27 of file flow_report_classify.c.

◆ ipfix_classify_table_add_del_command

vlib_cli_command_t ipfix_classify_table_add_del_command
static
Initial value:
= {
.path = "ipfix classify table",
.short_help = "ipfix classify table add|del <table-index>",
}
static clib_error_t * ipfix_classify_table_add_del_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (ipfix_classify_table_add_del_command)

Definition at line 488 of file flow_report_classify.c.

◆ set_ipfix_classify_stream_command

vlib_cli_command_t set_ipfix_classify_stream_command
static
Initial value:
= {
.path = "set ipfix classify stream",
.short_help = "set ipfix classify stream"
"[domain <domain-id>] [src-port <src-port>]",
}
static clib_error_t * set_ipfix_classify_stream_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (set_ipfix_classify_stream_command)

Definition at line 531 of file flow_report_classify.c.