FFmpeg
Functions
tls.c File Reference
#include "avformat.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "url.h"
#include "tls.h"
#include "libavutil/avstring.h"
#include "libavutil/getenv_utf8.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/parseutils.h"

Go to the source code of this file.

Functions

int ff_tls_open_underlying (TLSShared *c, URLContext *parent, const char *uri, AVDictionary **options)
 
int ff_url_read_all (const char *url, AVBPrint *bp)
 Read all data from the given URL url and store it in the given buffer bp. More...
 
int ff_is_dtls_packet (const uint8_t *buf, int size)
 Whether the packet is a DTLS packet, as defined by RFC 5764 Section 5.1.2. More...
 

Function Documentation

◆ ff_tls_open_underlying()

int ff_tls_open_underlying ( TLSShared c,
URLContext parent,
const char *  uri,
AVDictionary **  options 
)

Definition at line 35 of file tls.c.

Referenced by dtls_start(), ff_tls_open(), and tls_open().

◆ ff_url_read_all()

int ff_url_read_all ( const char *  url,
AVBPrint *  bp 
)

Read all data from the given URL url and store it in the given buffer bp.

Definition at line 117 of file tls.c.

Referenced by ff_ssl_read_key_cert(), and tls_load_key_cert().

◆ ff_is_dtls_packet()

int ff_is_dtls_packet ( const uint8_t *  buf,
int  size 
)

Whether the packet is a DTLS packet, as defined by RFC 5764 Section 5.1.2.

Definition at line 156 of file tls.c.

Referenced by ice_dtls_handshake(), mbedtls_recv(), and whip_write_packet().