FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
ikev2_api.c File Reference
+ Include dependency graph for ikev2_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 vl_api_version(n, v)   static u32 api_version=(v);
 
#define IKEV2_PLUGIN_VERSION_MAJOR   1
 
#define IKEV2_PLUGIN_VERSION_MINOR   0
 
#define REPLY_MSG_ID_BASE   ikev2_main.msg_id_base
 
#define foreach_ikev2_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_ikev2_plugin_get_version_t_handler (vl_api_ikev2_plugin_get_version_t *mp)
 
static void vl_api_ikev2_profile_add_del_t_handler (vl_api_ikev2_profile_add_del_t *mp)
 
static void vl_api_ikev2_profile_set_auth_t_handler (vl_api_ikev2_profile_set_auth_t *mp)
 
static void vl_api_ikev2_profile_set_id_t_handler (vl_api_ikev2_profile_set_id_t *mp)
 
static void vl_api_ikev2_profile_set_ts_t_handler (vl_api_ikev2_profile_set_ts_t *mp)
 
static void vl_api_ikev2_set_local_key_t_handler (vl_api_ikev2_set_local_key_t *mp)
 
static void vl_api_ikev2_set_responder_t_handler (vl_api_ikev2_set_responder_t *mp)
 
static void vl_api_ikev2_set_ike_transforms_t_handler (vl_api_ikev2_set_ike_transforms_t *mp)
 
static void vl_api_ikev2_set_esp_transforms_t_handler (vl_api_ikev2_set_esp_transforms_t *mp)
 
static void vl_api_ikev2_set_sa_lifetime_t_handler (vl_api_ikev2_set_sa_lifetime_t *mp)
 
static void vl_api_ikev2_initiate_sa_init_t_handler (vl_api_ikev2_initiate_sa_init_t *mp)
 
static void vl_api_ikev2_initiate_del_ike_sa_t_handler (vl_api_ikev2_initiate_del_ike_sa_t *mp)
 
static void vl_api_ikev2_initiate_del_child_sa_t_handler (vl_api_ikev2_initiate_del_child_sa_t *mp)
 
static void vl_api_ikev2_initiate_rekey_child_sa_t_handler (vl_api_ikev2_initiate_rekey_child_sa_t *mp)
 
static void setup_message_id_table (ikev2_main_t *im, api_main_t *am)
 
static clib_error_tikev2_plugin_api_hookup (vlib_main_t *vm)
 
static clib_error_tikev2_api_init (vlib_main_t *vm)
 

Variables

ikev2_main_t ikev2_main
 

Macro Definition Documentation

#define foreach_ikev2_api_msg
Value:
_(IKEV2_PLUGIN_GET_VERSION, ikev2_plugin_get_version) \
_(IKEV2_PROFILE_ADD_DEL, ikev2_profile_add_del) \
_(IKEV2_PROFILE_SET_AUTH, ikev2_profile_set_auth) \
_(IKEV2_PROFILE_SET_ID, ikev2_profile_set_id) \
_(IKEV2_PROFILE_SET_TS, ikev2_profile_set_ts) \
_(IKEV2_SET_LOCAL_KEY, ikev2_set_local_key) \
_(IKEV2_SET_RESPONDER, ikev2_set_responder) \
_(IKEV2_SET_IKE_TRANSFORMS, ikev2_set_ike_transforms) \
_(IKEV2_SET_ESP_TRANSFORMS, ikev2_set_esp_transforms) \
_(IKEV2_SET_SA_LIFETIME, ikev2_set_sa_lifetime) \
_(IKEV2_INITIATE_SA_INIT, ikev2_initiate_sa_init) \
_(IKEV2_INITIATE_DEL_IKE_SA, ikev2_initiate_del_ike_sa) \
_(IKEV2_INITIATE_DEL_CHILD_SA, ikev2_initiate_del_child_sa) \
_(IKEV2_INITIATE_REKEY_CHILD_SA, ikev2_initiate_rekey_child_sa)
clib_error_t * ikev2_initiate_sa_init(vlib_main_t *vm, u8 *name)
Definition: ikev2.c:2920
clib_error_t * ikev2_set_local_key(vlib_main_t *vm, u8 *file)
Definition: ikev2.c:2673
clib_error_t * ikev2_initiate_rekey_child_sa(vlib_main_t *vm, u32 ispi)
Definition: ikev2.c:3255

Definition at line 57 of file ikev2_api.c.

#define IKEV2_PLUGIN_VERSION_MAJOR   1

Definition at line 52 of file ikev2_api.c.

#define IKEV2_PLUGIN_VERSION_MINOR   0

Definition at line 53 of file ikev2_api.c.

#define REPLY_MSG_ID_BASE   ikev2_main.msg_id_base

Definition at line 54 of file ikev2_api.c.

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

Definition at line 46 of file ikev2_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 35 of file ikev2_api.c.

#define vl_msg_name_crc_list

Definition at line 407 of file ikev2_api.c.

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

Definition at line 40 of file ikev2_api.c.

#define vl_printfun

Definition at line 41 of file ikev2_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 31 of file ikev2_api.c.

Function Documentation

static clib_error_t* ikev2_api_init ( vlib_main_t vm)
static

Definition at line 438 of file ikev2_api.c.

+ Here is the call graph for this function:

static clib_error_t* ikev2_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 421 of file ikev2_api.c.

+ Here is the caller graph for this function:

static void setup_message_id_table ( ikev2_main_t im,
api_main_t am 
)
static

Definition at line 412 of file ikev2_api.c.

+ Here is the caller graph for this function:

static void vl_api_ikev2_initiate_del_child_sa_t_handler ( vl_api_ikev2_initiate_del_child_sa_t mp)
static

Definition at line 360 of file ikev2_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ikev2_initiate_del_ike_sa_t_handler ( vl_api_ikev2_initiate_del_ike_sa_t mp)
static

Definition at line 338 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_initiate_rekey_child_sa_t_handler ( vl_api_ikev2_initiate_rekey_child_sa_t mp)
static

Definition at line 381 of file ikev2_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ikev2_initiate_sa_init_t_handler ( vl_api_ikev2_initiate_sa_init_t mp)
static

Definition at line 315 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_plugin_get_version_t_handler ( vl_api_ikev2_plugin_get_version_t mp)
static

Definition at line 74 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_add_del_t_handler ( vl_api_ikev2_profile_add_del_t mp)
static

Definition at line 98 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_set_auth_t_handler ( vl_api_ikev2_profile_set_auth_t mp)
static

Definition at line 120 of file ikev2_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_ikev2_profile_set_id_t_handler ( vl_api_ikev2_profile_set_id_t mp)
static

Definition at line 145 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_profile_set_ts_t_handler ( vl_api_ikev2_profile_set_ts_t mp)
static

Definition at line 170 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_esp_transforms_t_handler ( vl_api_ikev2_set_esp_transforms_t mp)
static

Definition at line 264 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_ike_transforms_t_handler ( vl_api_ikev2_set_ike_transforms_t mp)
static

Definition at line 238 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_local_key_t_handler ( vl_api_ikev2_set_local_key_t mp)
static

Definition at line 193 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_responder_t_handler ( vl_api_ikev2_set_responder_t mp)
static

Definition at line 213 of file ikev2_api.c.

+ Here is the call graph for this function:

static void vl_api_ikev2_set_sa_lifetime_t_handler ( vl_api_ikev2_set_sa_lifetime_t mp)
static

Definition at line 290 of file ikev2_api.c.

+ Here is the call graph for this function:

Variable Documentation

ikev2_main_t ikev2_main

Definition at line 29 of file ikev2.c.