FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
pot_api.c File Reference
+ Include dependency graph for pot_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs
 
#define vl_endianfun
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define REPLY_MSG_ID_BASE   sm->msg_id_base
 
#define foreach_pot_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_pot_profile_add_t_handler (vl_api_pot_profile_add_t *mp)
 
static void send_pot_profile_details (vl_api_pot_profile_show_config_dump_t *mp, u8 id)
 
static void vl_api_pot_profile_show_config_dump_t_handler (vl_api_pot_profile_show_config_dump_t *mp)
 
static void vl_api_pot_profile_activate_t_handler (vl_api_pot_profile_activate_t *mp)
 
static void vl_api_pot_profile_del_t_handler (vl_api_pot_profile_del_t *mp)
 
static clib_error_tpot_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (pot_main_t *sm, api_main_t *am)
 
static clib_error_tpot_init (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_pot_plugin_api_msg

#define foreach_pot_plugin_api_msg
Value:
_(POT_PROFILE_ADD, pot_profile_add) \
_(POT_PROFILE_ACTIVATE, pot_profile_activate) \
_(POT_PROFILE_DEL, pot_profile_del) \
_(POT_PROFILE_SHOW_CONFIG_DUMP, pot_profile_show_config_dump) \

Definition at line 57 of file pot_api.c.

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   sm->msg_id_base

Definition at line 53 of file pot_api.c.

◆ vl_api_version

#define vl_api_version (   n,
 
)    static u32 api_version=(v);

Definition at line 49 of file pot_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 38 of file pot_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 197 of file pot_api.c.

◆ vl_print

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

Definition at line 43 of file pot_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 44 of file pot_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 33 of file pot_api.c.

Function Documentation

◆ pot_init()

static clib_error_t* pot_init ( vlib_main_t vm)
static

Definition at line 210 of file pot_api.c.

+ Here is the call graph for this function:

◆ pot_plugin_api_hookup()

static clib_error_t* pot_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 180 of file pot_api.c.

+ Here is the caller graph for this function:

◆ send_pot_profile_details()

static void send_pot_profile_details ( vl_api_pot_profile_show_config_dump_t mp,
u8  id 
)
static

Definition at line 98 of file pot_api.c.

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

◆ setup_message_id_table()

static void setup_message_id_table ( pot_main_t sm,
api_main_t am 
)
static

Definition at line 202 of file pot_api.c.

+ Here is the caller graph for this function:

◆ vl_api_pot_profile_activate_t_handler()

static void vl_api_pot_profile_activate_t_handler ( vl_api_pot_profile_activate_t mp)
static

Definition at line 144 of file pot_api.c.

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

◆ vl_api_pot_profile_add_t_handler()

static void vl_api_pot_profile_add_t_handler ( vl_api_pot_profile_add_t mp)
static

Definition at line 64 of file pot_api.c.

+ Here is the call graph for this function:

◆ vl_api_pot_profile_del_t_handler()

static void vl_api_pot_profile_del_t_handler ( vl_api_pot_profile_del_t mp)
static

Definition at line 167 of file pot_api.c.

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

◆ vl_api_pot_profile_show_config_dump_t_handler()

static void vl_api_pot_profile_show_config_dump_t_handler ( vl_api_pot_profile_show_config_dump_t mp)
static

Definition at line 131 of file pot_api.c.

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