21 #include <vpp/app/version.h> 30 #include <vnet/crypto/crypto.api_enum.h> 31 #include <vnet/crypto/crypto.api_types.h> 38 #define REPLY_MSG_ID_BASE crypto_base_msg_id 46 vl_api_crypto_set_async_dispatch_reply_t *rmp;
51 REPLY_MACRO (VL_API_CRYPTO_SET_ASYNC_DISPATCH_REPLY);
57 vl_api_crypto_set_handler_reply_t *rmp;
63 engine = (
char *) mp->
engine;
75 #include <vnet/crypto/crypto.api.c> vl_api_crypto_dispatch_mode_t mode
void vnet_crypto_set_async_dispatch_mode(u8 mode)
int vnet_crypto_set_async_handler2(char *alg_name, char *engine)
static void vl_api_crypto_set_handler_t_handler(vl_api_crypto_set_handler_t *mp)
static u32 crypto_base_msg_id
Base message ID fot the plugin.
int vnet_crypto_set_handler2(char *alg_name, char *engine, crypto_op_class_type_t oct)
crypto: set crypto handler
clib_error_t * crypto_api_hookup(vlib_main_t *vm)
static void setup_message_id_table(api_main_t *am)
VLIB_API_INIT_FUNCTION(crypto_api_hookup)
static void vl_api_crypto_set_async_dispatch_t_handler(vl_api_crypto_set_async_dispatch_t *mp)
vl_api_crypto_op_class_type_t oct
crypto: use polling or interrupt dispatch