Fork me on GitHub
Janus
Home
Demos
Documentation
Papers
Need help?
JanusCon!
dtls-bio.h
Go to the documentation of this file.
1
11
#ifndef _JANUS_DTLS_BIO_H
12
#define _JANUS_DTLS_BIO_H
13
14
#include <openssl/opensslv.h>
15
#include <openssl/err.h>
16
#include <openssl/ssl.h>
17
18
#include "
dtls.h
"
19
21
int
janus_dtls_bio_agent_init
(
void
);
22
24
BIO *
BIO_janus_dtls_agent_new
(
struct
janus_dtls_srtp
*dtls);
25
34
void
janus_dtls_bio_agent_set_mtu
(
int
start_mtu);
35
36
#if defined(LIBRESSL_VERSION_NUMBER)
37
#define JANUS_USE_OPENSSL_PRE_1_1_API (1)
38
#else
39
#define JANUS_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L)
40
#endif
41
42
#endif
BIO_janus_dtls_agent_new
BIO * BIO_janus_dtls_agent_new(struct janus_dtls_srtp *dtls)
OpenSSL BIO agent writer constructor.
Definition:
dtls-bio.c:76
dtls.h
DTLS/SRTP processing (headers)
janus_dtls_bio_agent_set_mtu
void janus_dtls_bio_agent_set_mtu(int start_mtu)
Set the MTU for the BIO agent writer.
Definition:
dtls-bio.c:20
janus_dtls_srtp
Janus DTLS-SRTP handle.
Definition:
dtls.h:60
janus_dtls_bio_agent_init
int janus_dtls_bio_agent_init(void)
OpenSSL BIO agent writer initialization.
Definition:
dtls-bio.c:52