webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Typedefs | Enumerations | Functions
srtp_priv.h File Reference
#include "config.h"
#include "srtp.h"
#include "rdbx.h"
#include "rdb.h"
#include "integers.h"
#include "cipher.h"
#include "auth.h"
#include "aes.h"
#include "key.h"
#include "crypto_kernel.h"

Go to the source code of this file.

Classes

struct  srtp_stream_ctx_t_
 
struct  srtp_ctx_t_
 

Macros

#define SRTP_VER_STRING   PACKAGE_STRING
 
#define SRTP_VERSION   PACKAGE_VERSION
 
#define srtp_handle_event(srtp, strm, evnt)
 

Typedefs

typedef enum direction_t direction_t
 
typedef struct srtp_stream_ctx_t_ strp_stream_ctx_t_
 
typedef struct srtp_ctx_t_ srtp_ctx_t_
 

Enumerations

enum  direction_t { dir_unknown = 0, dir_srtp_sender = 1, dir_srtp_receiver = 2 }
 

Functions

srtp_stream_t srtp_get_stream (srtp_t srtp, uint32_t ssrc)
 
srtp_err_status_t srtp_stream_init_keys (srtp_stream_t srtp, const void *key)
 
srtp_err_status_t srtp_stream_init (srtp_stream_t srtp, const srtp_policy_t *p)
 

Macro Definition Documentation

◆ srtp_handle_event

#define srtp_handle_event (   srtp,
  strm,
  evnt 
)
Value:
if(srtp_event_handler) { \
srtp_event_data_t data; \
data.session = srtp; \
data.stream = strm; \
data.event = evnt; \
srtp_event_handler(&data); \
}
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984

◆ SRTP_VER_STRING

#define SRTP_VER_STRING   PACKAGE_STRING

◆ SRTP_VERSION

#define SRTP_VERSION   PACKAGE_VERSION

Typedef Documentation

◆ direction_t

◆ srtp_ctx_t_

◆ strp_stream_ctx_t_

Enumeration Type Documentation

◆ direction_t

Enumerator
dir_unknown 
dir_srtp_sender 
dir_srtp_receiver 

Function Documentation

◆ srtp_get_stream()

srtp_stream_t srtp_get_stream ( srtp_t  srtp,
uint32_t  ssrc 
)

◆ srtp_stream_init()

srtp_err_status_t srtp_stream_init ( srtp_stream_t  srtp,
const srtp_policy_t p 
)

◆ srtp_stream_init_keys()

srtp_err_status_t srtp_stream_init_keys ( srtp_stream_t  srtp,
const void key 
)