FD.io VPP  v18.01.2-1-g9b554f3
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

#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.

#define REPLY_MSG_ID_BASE   sm->msg_id_base

Definition at line 53 of file pot_api.c.

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

Definition at line 49 of file pot_api.c.

#define vl_endianfun

Definition at line 38 of file pot_api.c.

#define vl_msg_name_crc_list

Definition at line 197 of file pot_api.c.

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

Definition at line 43 of file pot_api.c.

#define vl_printfun

Definition at line 44 of file pot_api.c.

#define vl_typedefs

Definition at line 33 of file pot_api.c.

Function Documentation

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:

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:

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:

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:

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:

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:

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:

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: