FD.io VPP  v20.05.1-5-g09f167997
Vector Packet Processing
tls_openssl.h File Reference
+ Include dependency graph for tls_openssl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tls_ctx_openssl_
 
struct  tls_listen_ctx_opensl_
 
struct  openssl_main_
 

Typedefs

typedef struct tls_ctx_openssl_ openssl_ctx_t
 
typedef struct tls_listen_ctx_opensl_ openssl_listen_ctx_t
 
typedef struct openssl_main_ openssl_main_t
 
typedef int openssl_resume_handler(tls_ctx_t *ctx, session_t *tls_session)
 

Functions

tls_ctx_topenssl_ctx_get_w_thread (u32 ctx_index, u8 thread_index)
 
int vpp_tls_async_init_event (tls_ctx_t *ctx, openssl_resume_handler *handler, session_t *session)
 
int vpp_tls_async_update_event (tls_ctx_t *ctx, int eagain)
 
int tls_async_openssl_callback (SSL *s, void *evt)
 
int openssl_evt_free (int event_idx, u8 thread_index)
 
void openssl_polling_start (ENGINE *engine)
 
int openssl_engine_register (char *engine, char *alg, int async)
 
void openssl_async_node_enable_disable (u8 is_en)
 
clib_error_ttls_openssl_api_init (vlib_main_t *vm)
 
int tls_openssl_set_ciphers (char *ciphers)
 
int vpp_openssl_is_inflight (tls_ctx_t *ctx)
 

Typedef Documentation

◆ openssl_ctx_t

◆ openssl_listen_ctx_t

◆ openssl_main_t

typedef struct openssl_main_ openssl_main_t

◆ openssl_resume_handler

typedef int openssl_resume_handler(tls_ctx_t *ctx, session_t *tls_session)

Definition at line 57 of file tls_openssl.h.

Function Documentation

◆ openssl_async_node_enable_disable()

void openssl_async_node_enable_disable ( u8  is_en)

Definition at line 412 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ openssl_ctx_get_w_thread()

tls_ctx_t* openssl_ctx_get_w_thread ( u32  ctx_index,
u8  thread_index 
)

Definition at line 80 of file tls_openssl.c.

+ Here is the caller graph for this function:

◆ openssl_engine_register()

int openssl_engine_register ( char *  engine,
char *  alg,
int  async 
)

Definition at line 116 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ openssl_evt_free()

int openssl_evt_free ( int  event_idx,
u8  thread_index 
)

Definition at line 212 of file tls_async.c.

+ Here is the caller graph for this function:

◆ openssl_polling_start()

void openssl_polling_start ( ENGINE *  engine)

◆ tls_async_openssl_callback()

int tls_async_openssl_callback ( SSL *  s,
void *  evt 
)

Definition at line 243 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tls_openssl_api_init()

clib_error_t* tls_openssl_api_init ( vlib_main_t vm)

Definition at line 60 of file tls_openssl_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tls_openssl_set_ciphers()

int tls_openssl_set_ciphers ( char *  ciphers)

Definition at line 912 of file tls_openssl.c.

+ Here is the caller graph for this function:

◆ vpp_openssl_is_inflight()

int vpp_openssl_is_inflight ( tls_ctx_t ctx)

Definition at line 306 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vpp_tls_async_init_event()

int vpp_tls_async_init_event ( tls_ctx_t ctx,
openssl_resume_handler handler,
session_t session 
)

Definition at line 280 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vpp_tls_async_update_event()

int vpp_tls_async_update_event ( tls_ctx_t ctx,
int  eagain 
)

Definition at line 319 of file tls_async.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: