|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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
static void vl_api_crypto_set_handler_t_handler(vl_api_crypto_set_handler_t *mp)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
crypto: set crypto handler
vl_api_crypto_op_class_type_t oct
static void vl_api_crypto_set_async_dispatch_t_handler(vl_api_crypto_set_async_dispatch_t *mp)
crypto: use polling or interrupt dispatch
VLIB_API_INIT_FUNCTION(crypto_api_hookup)
void vnet_crypto_set_async_dispatch_mode(u8 mode)
static void setup_message_id_table(api_main_t *am)
clib_error_t * crypto_api_hookup(vlib_main_t *vm)
if(node->flags &VLIB_NODE_FLAG_TRACE) vnet_interface_output_trace(vm
int vnet_crypto_set_async_handler2(char *alg_name, char *engine)
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)