|
FD.io VPP
v21.06-3-gbb25fbf28
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)
static void setup_message_id_table(api_main_t *am)
crypto: use polling or interrupt dispatch
VLIB_API_INIT_FUNCTION(crypto_api_hookup)
void vnet_crypto_set_async_dispatch_mode(u8 mode)
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)