#include <mbedtls/certs.h>
#include <mbedtls/config.h>
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/entropy.h>
#include <mbedtls/net_sockets.h>
#include <mbedtls/platform.h>
#include <mbedtls/ssl.h>
#include <mbedtls/x509_crt.h>
#include "avformat.h"
#include "internal.h"
#include "url.h"
#include "tls.h"
#include "libavutil/parseutils.h"
Go to the source code of this file.
|
static int | tls_close (URLContext *h) |
|
static int | handle_transport_error (URLContext *h, const char *func_name, int react_on_eagain, int ret) |
|
static int | mbedtls_send (void *ctx, const unsigned char *buf, size_t len) |
|
static int | mbedtls_recv (void *ctx, unsigned char *buf, size_t len) |
|
static void | handle_pk_parse_error (URLContext *h, int ret) |
|
static void | handle_handshake_error (URLContext *h, int ret) |
|
static void | parse_options (TLSContext *tls_ctxc, const char *uri) |
|
static int | tls_open (URLContext *h, const char *uri, int flags, AVDictionary **options) |
|
static int | handle_tls_error (URLContext *h, const char *func_name, int ret) |
|
static int | tls_read (URLContext *h, uint8_t *buf, int size) |
|
static int | tls_write (URLContext *h, const uint8_t *buf, int size) |
|
static int | tls_get_file_handle (URLContext *h) |
|
static int handle_transport_error |
( |
URLContext * |
h, |
|
|
const char * |
func_name, |
|
|
int |
react_on_eagain, |
|
|
int |
ret |
|
) |
| |
|
static |
static int mbedtls_send |
( |
void * |
ctx, |
|
|
const unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
static int mbedtls_recv |
( |
void * |
ctx, |
|
|
unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
Initial value:= {
}
#define TLS_COMMON_OPTIONS(pstruct, options_field)
Definition at line 328 of file tls_mbedtls.c.
Initial value:= {
.class_name = "tls",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 334 of file tls_mbedtls.c.
Initial value:= {
.name = "tls",
}
#define URL_PROTOCOL_FLAG_NETWORK
static int tls_read(URLContext *h, uint8_t *buf, int size)
static int tls_get_file_handle(URLContext *h)
static int tls_write(URLContext *h, const uint8_t *buf, int size)
static const AVClass tls_class
static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
static int tls_close(URLContext *h)
#define flags(name, subs,...)
Definition at line 341 of file tls_mbedtls.c.