diff options
Diffstat (limited to 'src/vnet/crypto/crypto.h')
-rw-r--r-- | src/vnet/crypto/crypto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/crypto/crypto.h b/src/vnet/crypto/crypto.h index 4ce4d254725..ad6286ccfcb 100644 --- a/src/vnet/crypto/crypto.h +++ b/src/vnet/crypto/crypto.h @@ -140,6 +140,8 @@ typedef struct vnet_crypto_ops_handler_t **ops_handlers; vnet_crypto_op_type_data_t opt_data[VNET_CRYPTO_N_OP_TYPES]; vnet_crypto_engine_t *engines; + uword *engine_index_by_name; + uword *ops_handler_index_by_name; } vnet_crypto_main_t; extern vnet_crypto_main_t crypto_main; @@ -150,6 +152,9 @@ u32 vnet_crypto_submit_ops (vlib_main_t * vm, vnet_crypto_op_t ** jobs, u32 vnet_crypto_process_ops (vlib_main_t * vm, vnet_crypto_op_t ops[], u32 n_ops); + +int vnet_crypto_set_handler (char *ops_handler_name, char *engine); + format_function_t format_vnet_crypto_alg; format_function_t format_vnet_crypto_engine; format_function_t format_vnet_crypto_op; |