Fork me on GitHub
Macros | Functions
dtls-bio.h File Reference

OpenSSL BIO agent writer. More...

#include <openssl/opensslv.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
Include dependency graph for dtls-bio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




int janus_dtls_bio_agent_init (void)
 OpenSSL BIO agent writer initialization. More...
BIO * BIO_janus_dtls_agent_new (void *dtls)
 OpenSSL BIO agent writer constructor. More...
void janus_dtls_bio_agent_set_mtu (int start_mtu)
 Set the MTU for the BIO agent writer. More...
int janus_dtls_bio_agent_get_mtu (void)
 Return which MTU was configured for the BIO agent writer. More...

Detailed Description

OpenSSL BIO agent writer.

Lorenzo Miniero

OpenSSL BIO that writes packets to a libnice agent.


Macro Definition Documentation



Function Documentation

◆ BIO_janus_dtls_agent_new()

BIO* BIO_janus_dtls_agent_new ( void *  dtls)

OpenSSL BIO agent writer constructor.

◆ janus_dtls_bio_agent_get_mtu()

int janus_dtls_bio_agent_get_mtu ( void  )

Return which MTU was configured for the BIO agent writer.

The MTU the stack will start from for each session

◆ janus_dtls_bio_agent_init()

int janus_dtls_bio_agent_init ( void  )

OpenSSL BIO agent writer initialization.

◆ janus_dtls_bio_agent_set_mtu()

void janus_dtls_bio_agent_set_mtu ( int  start_mtu)

Set the MTU for the BIO agent writer.

The default starting MTU is 1472, in case fragmentation is needed the OpenSSL DTLS stack automatically decreases it. That said, if you know for sure the MTU in the network Janus is deployed in is smaller than that, it makes sense to configure an according value to start from
start_mtuThe MTU to start from (1200 by default)