FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
classify_api.c File Reference
+ Include dependency graph for classify_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_vpe_api_msg
 
#define foreach_classify_add_del_table_field
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_classify_add_del_table_t_handler (vl_api_classify_add_del_table_t *mp)
 
static void vl_api_classify_add_del_session_t_handler (vl_api_classify_add_del_session_t *mp)
 
static void vl_api_policer_classify_set_interface_t_handler (vl_api_policer_classify_set_interface_t *mp)
 
static void send_policer_classify_details (u32 sw_if_index, u32 table_index, vl_api_registration_t *reg, u32 context)
 
static void vl_api_policer_classify_dump_t_handler (vl_api_policer_classify_dump_t *mp)
 
static void vl_api_classify_table_ids_t_handler (vl_api_classify_table_ids_t *mp)
 
static void vl_api_classify_table_by_interface_t_handler (vl_api_classify_table_by_interface_t *mp)
 
static void vl_api_classify_table_info_t_handler (vl_api_classify_table_info_t *mp)
 
static void send_classify_session_details (vl_api_registration_t *reg, u32 table_id, u32 match_length, vnet_classify_entry_t *e, u32 context)
 
static void vl_api_classify_session_dump_t_handler (vl_api_classify_session_dump_t *mp)
 
static void vl_api_flow_classify_set_interface_t_handler (vl_api_flow_classify_set_interface_t *mp)
 
static void send_flow_classify_details (u32 sw_if_index, u32 table_index, vl_api_registration_t *reg, u32 context)
 
static void vl_api_flow_classify_dump_t_handler (vl_api_flow_classify_dump_t *mp)
 
static void vl_api_classify_set_interface_ip_table_t_handler (vl_api_classify_set_interface_ip_table_t *mp)
 
static void vl_api_classify_set_interface_l2_tables_t_handler (vl_api_classify_set_interface_l2_tables_t *mp)
 
static void vl_api_input_acl_set_interface_t_handler (vl_api_input_acl_set_interface_t *mp)
 
static void vl_api_output_acl_set_interface_t_handler (vl_api_output_acl_set_interface_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tclassify_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (classify_api_hookup)
 

Macro Definition Documentation

#define foreach_classify_add_del_table_field
Value:
_(table_index) \
_(nbuckets) \
_(skip_n_vectors) \
_(match_n_vectors) \
_(next_table_index) \
_(miss_next_index) \
_(current_data_flag) \
_(current_data_offset) \
_(mask_len)
u64 memory_size
Definition: vhost_user.h:115

Definition at line 66 of file classify_api.c.

#define foreach_vpe_api_msg
Value:
_(CLASSIFY_ADD_DEL_TABLE, classify_add_del_table) \
_(CLASSIFY_ADD_DEL_SESSION, classify_add_del_session) \
_(CLASSIFY_TABLE_IDS,classify_table_ids) \
_(CLASSIFY_TABLE_BY_INTERFACE, classify_table_by_interface) \
_(CLASSIFY_TABLE_INFO,classify_table_info) \
_(CLASSIFY_SESSION_DUMP,classify_session_dump) \
_(POLICER_CLASSIFY_SET_INTERFACE, policer_classify_set_interface) \
_(POLICER_CLASSIFY_DUMP, policer_classify_dump) \
_(FLOW_CLASSIFY_SET_INTERFACE, flow_classify_set_interface) \
_(FLOW_CLASSIFY_DUMP, flow_classify_dump) \
_(INPUT_ACL_SET_INTERFACE, input_acl_set_interface) \
_(CLASSIFY_SET_INTERFACE_IP_TABLE, classify_set_interface_ip_table) \
_(CLASSIFY_SET_INTERFACE_L2_TABLES, classify_set_interface_l2_tables) \
_(OUTPUT_ACL_SET_INTERFACE, output_acl_set_interface)

Definition at line 50 of file classify_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 38 of file classify_api.c.

#define vl_msg_name_crc_list

Definition at line 645 of file classify_api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 43 of file classify_api.c.

#define vl_printfun

Definition at line 44 of file classify_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 34 of file classify_api.c.

Function Documentation

static clib_error_t* classify_api_hookup ( vlib_main_t vm)
static

Definition at line 658 of file classify_api.c.

+ Here is the call graph for this function:

static void send_classify_session_details ( vl_api_registration_t reg,
u32  table_id,
u32  match_length,
vnet_classify_entry_t *  e,
u32  context 
)
static

Definition at line 390 of file classify_api.c.

+ Here is the call graph for this function:

static void send_flow_classify_details ( u32  sw_if_index,
u32  table_index,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 485 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_policer_classify_details ( u32  sw_if_index,
u32  table_index,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 209 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 650 of file classify_api.c.

+ Here is the caller graph for this function:

static void vl_api_classify_add_del_session_t_handler ( vl_api_classify_add_del_session_t mp)
static

Definition at line 143 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_add_del_table_t_handler ( vl_api_classify_add_del_table_t mp)
static

Definition at line 79 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_classify_session_dump_t_handler ( vl_api_classify_session_dump_t mp)
static

Definition at line 412 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_classify_set_interface_ip_table_t_handler ( vl_api_classify_set_interface_ip_table_t mp)
static

Definition at line 529 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_set_interface_l2_tables_t_handler ( vl_api_classify_set_interface_l2_tables_t mp)
static

Definition at line 551 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_classify_table_by_interface_t_handler ( vl_api_classify_table_by_interface_t mp)
static

Definition at line 289 of file classify_api.c.

+ Here is the caller graph for this function:

static void vl_api_classify_table_ids_t_handler ( vl_api_classify_table_ids_t mp)
static

Definition at line 253 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_classify_table_info_t_handler ( vl_api_classify_table_info_t mp)
static

Definition at line 340 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_flow_classify_dump_t_handler ( vl_api_flow_classify_dump_t mp)
static

Definition at line 502 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_flow_classify_set_interface_t_handler ( vl_api_flow_classify_set_interface_t mp)
static

Definition at line 463 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_input_acl_set_interface_t_handler ( vl_api_input_acl_set_interface_t mp)
static

Definition at line 594 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_output_acl_set_interface_t_handler ( vl_api_output_acl_set_interface_t mp)
static

Definition at line 616 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_policer_classify_dump_t_handler ( vl_api_policer_classify_dump_t mp)
static

Definition at line 226 of file classify_api.c.

+ Here is the call graph for this function:

static void vl_api_policer_classify_set_interface_t_handler ( vl_api_policer_classify_set_interface_t mp)
static

Definition at line 185 of file classify_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_API_INIT_FUNCTION ( classify_api_hookup  )

+ Here is the caller graph for this function: