#include <mbedtls/version.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 <mbedtls/debug.h>
#include "avformat.h"
#include "internal.h"
#include "url.h"
#include "tls.h"
#include "libavutil/mem.h"
#include "libavutil/parseutils.h"
#include "libavutil/avstring.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 | mbedtls_debug (void *ctx, int lvl, const char *file, int line, const char *msg) |
|
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 | tls_get_short_seek (URLContext *h) |
|
◆ OFFSET
◆ tls_close()
◆ handle_transport_error()
static int handle_transport_error |
( |
URLContext * |
h, |
|
|
const char * |
func_name, |
|
|
int |
react_on_eagain, |
|
|
int |
ret |
|
) |
| |
|
static |
◆ mbedtls_send()
static int mbedtls_send |
( |
void * |
ctx, |
|
|
const unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ mbedtls_recv()
static int mbedtls_recv |
( |
void * |
ctx, |
|
|
unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ mbedtls_debug()
static void mbedtls_debug |
( |
void * |
ctx, |
|
|
int |
lvl, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
msg |
|
) |
| |
|
static |
◆ handle_pk_parse_error()
static void handle_pk_parse_error |
( |
URLContext * |
h, |
|
|
int |
ret |
|
) |
| |
|
static |
◆ handle_handshake_error()
static void handle_handshake_error |
( |
URLContext * |
h, |
|
|
int |
ret |
|
) |
| |
|
static |
◆ parse_options()
static void parse_options |
( |
TLSContext * |
tls_ctxc, |
|
|
const char * |
uri |
|
) |
| |
|
static |
◆ tls_open()
◆ handle_tls_error()
static int handle_tls_error |
( |
URLContext * |
h, |
|
|
const char * |
func_name, |
|
|
int |
ret |
|
) |
| |
|
static |
◆ tls_read()
static int tls_read |
( |
URLContext * |
h, |
|
|
uint8_t * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ tls_write()
static int tls_write |
( |
URLContext * |
h, |
|
|
const uint8_t * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ tls_get_file_handle()
◆ tls_get_short_seek()
◆ options
◆ tls_class
Initial value:= {
.class_name = "tls",
}
Definition at line 404 of file tls_mbedtls.c.
◆ ff_tls_protocol