FD.io VPP  v21.06-3-gbb25fbf28
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_
 

Macros

#define TLSO_CTRL_BYTES   1000
 
#define TLSO_MIN_ENQ_SPACE   (1 << 16)
 
#define DTLSO_MAX_DGRAM   2000
 

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)
 

Macro Definition Documentation

◆ DTLSO_MAX_DGRAM

#define DTLSO_MAX_DGRAM   2000

Definition at line 30 of file tls_openssl.h.

◆ TLSO_CTRL_BYTES

#define TLSO_CTRL_BYTES   1000

Definition at line 27 of file tls_openssl.h.

◆ TLSO_MIN_ENQ_SPACE

#define TLSO_MIN_ENQ_SPACE   (1 << 16)

Definition at line 28 of file tls_openssl.h.

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 68 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 126 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 978 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: