FD.io VPP  v21.06-1-gbb7418cf9
Vector Packet Processing
srtp.h File Reference
+ Include dependency graph for srtp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  srtp_cxt_id_
 
struct  transport_endpt_cfg_srtp_policy
 
struct  transport_endpt_cfg_srtp
 
struct  srtp_ctx_
 
struct  srtp_main_
 

Macros

#define SRTP_DEBUG   0
 
#define SRTP_DBG(_lvl, _fmt, _args...)
 
#define SRTP_MAX_KEYLEN   46
 libsrtp AES 256 key len with salt More...
 
#define parent_app_wrk_index   c_srtp_ctx_id.parent_app_wrk_index
 
#define app_session_handle   c_srtp_ctx_id.app_session_handle
 
#define srtp_session_handle   c_srtp_ctx_id.srtp_session_handle
 
#define listener_ctx_index   c_srtp_ctx_id.listener_ctx_index
 
#define udp_is_ip4   c_srtp_ctx_id.udp_is_ip4
 
#define srtp_ctx_engine   c_srtp_ctx_id.srtp_engine_id
 
#define srtp_ssl_ctx   c_srtp_ctx_id.ssl_ctx
 
#define srtp_ctx_handle   c_c_index
 
#define parent_app_api_context   c_srtp_ctx_id.parent_app_api_ctx
 

Typedefs

typedef struct srtp_cxt_id_ srtp_ctx_id_t
 
typedef struct transport_endpt_cfg_srtp_policy transport_endpt_cfg_srtp_policy_t
 
typedef struct transport_endpt_cfg_srtp transport_endpt_cfg_srtp_t
 
typedef struct srtp_ctx_ srtp_tc_t
 
typedef struct srtp_main_ srtp_main_t
 

Functions

 STATIC_ASSERT (sizeof(srtp_ctx_id_t)<=TRANSPORT_CONN_ID_LEN, "ctx id must be less than TRANSPORT_CONN_ID_LEN")
 

Macro Definition Documentation

◆ app_session_handle

#define app_session_handle   c_srtp_ctx_id.app_session_handle

Definition at line 79 of file srtp.h.

◆ listener_ctx_index

#define listener_ctx_index   c_srtp_ctx_id.listener_ctx_index

Definition at line 81 of file srtp.h.

◆ parent_app_api_context

#define parent_app_api_context   c_srtp_ctx_id.parent_app_api_ctx

Definition at line 88 of file srtp.h.

◆ parent_app_wrk_index

#define parent_app_wrk_index   c_srtp_ctx_id.parent_app_wrk_index

Definition at line 78 of file srtp.h.

◆ srtp_ctx_engine

#define srtp_ctx_engine   c_srtp_ctx_id.srtp_engine_id

Definition at line 83 of file srtp.h.

◆ srtp_ctx_handle

#define srtp_ctx_handle   c_c_index

Definition at line 85 of file srtp.h.

◆ SRTP_DBG

#define SRTP_DBG (   _lvl,
  _fmt,
  _args... 
)

Definition at line 34 of file srtp.h.

◆ SRTP_DEBUG

#define SRTP_DEBUG   0

Definition at line 27 of file srtp.h.

◆ SRTP_MAX_KEYLEN

#define SRTP_MAX_KEYLEN   46

libsrtp AES 256 key len with salt

Definition at line 54 of file srtp.h.

◆ srtp_session_handle

#define srtp_session_handle   c_srtp_ctx_id.srtp_session_handle

Definition at line 80 of file srtp.h.

◆ srtp_ssl_ctx

#define srtp_ssl_ctx   c_srtp_ctx_id.ssl_ctx

Definition at line 84 of file srtp.h.

◆ udp_is_ip4

#define udp_is_ip4   c_srtp_ctx_id.udp_is_ip4

Definition at line 82 of file srtp.h.

Typedef Documentation

◆ srtp_ctx_id_t

typedef struct srtp_cxt_id_ srtp_ctx_id_t

◆ srtp_main_t

typedef struct srtp_main_ srtp_main_t

◆ srtp_tc_t

typedef struct srtp_ctx_ srtp_tc_t

◆ transport_endpt_cfg_srtp_policy_t

◆ transport_endpt_cfg_srtp_t

Function Documentation

◆ STATIC_ASSERT()

STATIC_ASSERT ( sizeof(srtp_ctx_id_t)<=  TRANSPORT_CONN_ID_LEN,
"ctx id must be less than TRANSPORT_CONN_ID_LEN  
)