diff options
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r-- | src/vnet/session/application_interface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h index 5c26060d756..a865b081ca2 100644 --- a/src/vnet/session/application_interface.h +++ b/src/vnet/session/application_interface.h @@ -176,6 +176,15 @@ typedef struct _vnet_app_add_cert_key_pair_args_ u32 index; } vnet_app_add_cert_key_pair_args_t; +typedef struct crypto_ctx_ +{ + u32 ctx_index; /**< index in crypto context pool */ + u32 n_subscribers; /**< refcount of sessions using said context */ + u32 ckpair_index; /**< certificate & key */ + u8 crypto_engine; + u8 stale; /**< Marked invalid for re-use (aka ckpair deleted) */ +} crypto_context_t; + /* Application attach options */ typedef enum { |