66 #define _(n, s) [VNET_CRYPTO_OP_TYPE_##n] = s, 72 return format (s,
"unknown");
74 return format (s,
"%s", strings[opt]);
82 #define _(n, s) [VNET_CRYPTO_OP_STATUS_##n] = s, 88 return format (s,
"unknown");
90 return format (s,
"%s", strings[st]);
97 u32 crypto_engine_index = va_arg (*args,
u32);
100 if (crypto_engine_index == ~0)
114 #define _(n, s) [VNET_CRYPTO_ASYNC_OP_TYPE_##n] = s, 120 return format (s,
"unknown");
122 return format (s,
"%s", strings[opt]);
#define foreach_crypto_op_status
vnet_crypto_engine_t * engines
uword * alg_index_by_name
vnet_crypto_op_data_t opt_data[VNET_CRYPTO_N_OP_IDS]
vnet_crypto_alg_data_t * algs
vnet_crypto_async_alg_data_t * async_algs
vnet_crypto_async_op_type_t type
#define foreach_crypto_async_op_type
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
#define vec_free(V)
Free vector's memory (no header).
vnet_crypto_async_op_type_t
vnet_crypto_async_alg_t alg
vnet_crypto_async_op_data_t async_opt_data[VNET_CRYPTO_ASYNC_OP_N_IDS]
vnet_crypto_async_op_id_t
#define foreach_crypto_op_type
vnet_crypto_op_type_t type
#define hash_get_mem(h, key)
vnet_crypto_main_t crypto_main