|
uword | flowprobe_walker_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
| VNET_FEATURE_INIT (flow_perpacket_ip4, static) |
|
| VNET_FEATURE_INIT (flow_perpacket_ip6, static) |
|
| VNET_FEATURE_INIT (flow_perpacket_l2, static) |
|
static ipfix_field_specifier_t * | flowprobe_template_ip4_fields (ipfix_field_specifier_t *f) |
|
static ipfix_field_specifier_t * | flowprobe_template_ip6_fields (ipfix_field_specifier_t *f) |
|
static ipfix_field_specifier_t * | flowprobe_template_l2_fields (ipfix_field_specifier_t *f) |
|
static ipfix_field_specifier_t * | flowprobe_template_common_fields (ipfix_field_specifier_t *f) |
|
static ipfix_field_specifier_t * | flowprobe_template_l4_fields (ipfix_field_specifier_t *f) |
|
static u8 * | flowprobe_template_rewrite_inline (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, flowprobe_variant_t which) |
| Create an IPFIX template packet rewrite string. More...
|
|
static u8 * | flowprobe_template_rewrite_ip6 (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) |
|
static u8 * | flowprobe_template_rewrite_ip4 (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) |
|
static u8 * | flowprobe_template_rewrite_l2 (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) |
|
static u8 * | flowprobe_template_rewrite_l2_ip4 (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) |
|
static u8 * | flowprobe_template_rewrite_l2_ip6 (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_t * | flowprobe_data_callback_ip4 (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
| Flush accumulated data. More...
|
|
vlib_frame_t * | flowprobe_data_callback_ip6 (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
|
vlib_frame_t * | flowprobe_data_callback_l2 (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
|
static int | flowprobe_template_add_del (u32 domain_id, u16 src_port, flowprobe_record_t flags, vnet_flow_data_callback_t *flow_data_callback, vnet_flow_rewrite_callback_t *rewrite_callback, bool is_add, u16 *template_id) |
|
static void | flowprobe_expired_timer_callback (u32 *expired_timers) |
|
static clib_error_t * | flowprobe_create_state_tables (u32 active_timer) |
|
static int | validate_feature_on_interface (flowprobe_main_t *fm, u32 sw_if_index, u8 which) |
|
static int | flowprobe_tx_interface_add_del_feature (flowprobe_main_t *fm, u32 sw_if_index, u8 which, int is_add) |
| configure / deconfigure the IPFIX flow-per-packet More...
|
|
void | vl_api_flowprobe_tx_interface_add_del_t_handler (vl_api_flowprobe_tx_interface_add_del_t *mp) |
| API message handler. More...
|
|
static void * | vl_api_flowprobe_tx_interface_add_del_t_print (vl_api_flowprobe_tx_interface_add_del_t *mp, void *handle) |
| API message custom-dump function. More...
|
|
static int | flowprobe_params (flowprobe_main_t *fm, u8 record_l2, u8 record_l3, u8 record_l4, u32 active_timer, u32 passive_timer) |
|
void | vl_api_flowprobe_params_t_handler (vl_api_flowprobe_params_t *mp) |
|
| VLIB_PLUGIN_REGISTER () |
|
u8 * | format_flowprobe_entry (u8 *s, va_list *args) |
|
static clib_error_t * | flowprobe_show_table_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cm) |
|
static clib_error_t * | flowprobe_show_stats_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cm) |
|
static clib_error_t * | flowprobe_tx_interface_add_del_feature_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | flowprobe_params_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static uword | timer_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | flowprobe_init (vlib_main_t *vm) |
| Set up the API message handling tables. More...
|
|
Per-packet IPFIX flow record generator plugin.
This file implements vpp plugin registration mechanics, debug CLI, and binary API handling.
Definition in file flowprobe.c.