FD.io VPP  v21.10.1-2-g0a485f517
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 REPLY_MSG_ID_BASE   msg_id_base
 
#define foreach_classify_add_del_table_field
 

Functions

static void vl_api_classify_pcap_lookup_table_t_handler (vl_api_classify_pcap_lookup_table_t *mp)
 
static void vl_api_classify_pcap_set_table_t_handler (vl_api_classify_pcap_set_table_t *mp)
 
static void vl_api_classify_pcap_get_tables_t_handler (vl_api_classify_pcap_get_tables_t *mp)
 
static void vl_api_classify_trace_lookup_table_t_handler (vl_api_classify_trace_lookup_table_t *mp)
 
static void vl_api_classify_trace_set_table_t_handler (vl_api_classify_trace_set_table_t *mp)
 
static void vl_api_classify_trace_get_tables_t_handler (vl_api_classify_trace_get_tables_t *mp)
 
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 clib_error_tclassify_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (classify_api_hookup)
 

Variables

static u16 msg_id_base
 

Macro Definition Documentation

◆ foreach_classify_add_del_table_field

#define foreach_classify_add_del_table_field
Value:
_(table_index) \
_(nbuckets) \
_(skip_n_vectors) \
_(match_n_vectors) \
_(next_table_index) \
_(miss_next_index) \
_(mask_len)

Definition at line 42 of file classify_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   msg_id_base

Definition at line 37 of file classify_api.c.

Function Documentation

◆ classify_api_hookup()

static clib_error_t* classify_api_hookup ( vlib_main_t vm)
static

Definition at line 916 of file classify_api.c.

+ Here is the call graph for this function:

◆ send_classify_session_details()

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 655 of file classify_api.c.

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

◆ send_flow_classify_details()

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

Definition at line 750 of file classify_api.c.

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

◆ send_policer_classify_details()

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

Definition at line 464 of file classify_api.c.

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

◆ vl_api_classify_add_del_session_t_handler()

static void vl_api_classify_add_del_session_t_handler ( vl_api_classify_add_del_session_t mp)
static

Definition at line 398 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_add_del_table_t_handler()

static void vl_api_classify_add_del_table_t_handler ( vl_api_classify_add_del_table_t mp)
static

Definition at line 331 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_pcap_get_tables_t_handler()

static void vl_api_classify_pcap_get_tables_t_handler ( vl_api_classify_pcap_get_tables_t mp)
static

Definition at line 144 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_pcap_lookup_table_t_handler()

static void vl_api_classify_pcap_lookup_table_t_handler ( vl_api_classify_pcap_lookup_table_t mp)
static

Definition at line 54 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_pcap_set_table_t_handler()

static void vl_api_classify_pcap_set_table_t_handler ( vl_api_classify_pcap_set_table_t mp)
static

Definition at line 103 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_session_dump_t_handler()

static void vl_api_classify_session_dump_t_handler ( vl_api_classify_session_dump_t mp)
static

Definition at line 677 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_set_interface_ip_table_t_handler()

static void vl_api_classify_set_interface_ip_table_t_handler ( vl_api_classify_set_interface_ip_table_t mp)
static

Definition at line 804 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_set_interface_l2_tables_t_handler()

static void vl_api_classify_set_interface_l2_tables_t_handler ( vl_api_classify_set_interface_l2_tables_t mp)
static

Definition at line 826 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_table_by_interface_t_handler()

static void vl_api_classify_table_by_interface_t_handler ( vl_api_classify_table_by_interface_t mp)
static

Definition at line 554 of file classify_api.c.

◆ vl_api_classify_table_ids_t_handler()

static void vl_api_classify_table_ids_t_handler ( vl_api_classify_table_ids_t mp)
static

Definition at line 518 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_table_info_t_handler()

static void vl_api_classify_table_info_t_handler ( vl_api_classify_table_info_t mp)
static

Definition at line 605 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_trace_get_tables_t_handler()

static void vl_api_classify_trace_get_tables_t_handler ( vl_api_classify_trace_get_tables_t mp)
static

Definition at line 282 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_trace_lookup_table_t_handler()

static void vl_api_classify_trace_lookup_table_t_handler ( vl_api_classify_trace_lookup_table_t mp)
static

Definition at line 201 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_classify_trace_set_table_t_handler()

static void vl_api_classify_trace_set_table_t_handler ( vl_api_classify_trace_set_table_t mp)
static

Definition at line 245 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_flow_classify_dump_t_handler()

static void vl_api_flow_classify_dump_t_handler ( vl_api_flow_classify_dump_t mp)
static

Definition at line 767 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_flow_classify_set_interface_t_handler()

static void vl_api_flow_classify_set_interface_t_handler ( vl_api_flow_classify_set_interface_t mp)
static

Definition at line 728 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_input_acl_set_interface_t_handler()

static void vl_api_input_acl_set_interface_t_handler ( vl_api_input_acl_set_interface_t mp)
static

Definition at line 869 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_output_acl_set_interface_t_handler()

static void vl_api_output_acl_set_interface_t_handler ( vl_api_output_acl_set_interface_t mp)
static

Definition at line 891 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_policer_classify_dump_t_handler()

static void vl_api_policer_classify_dump_t_handler ( vl_api_policer_classify_dump_t mp)
static

Definition at line 481 of file classify_api.c.

+ Here is the call graph for this function:

◆ vl_api_policer_classify_set_interface_t_handler()

static void vl_api_policer_classify_set_interface_t_handler ( vl_api_policer_classify_set_interface_t mp)
static

Definition at line 440 of file classify_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( classify_api_hookup  )

Variable Documentation

◆ msg_id_base

u16 msg_id_base
static

Definition at line 40 of file classify_api.c.

memory_size
u64 memory_size
Definition: vhost_user.h:124