#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 "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 | 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 |
◆ handle_pk_parse_error()
◆ handle_handshake_error()
◆ parse_options()
static void parse_options |
( |
TLSContext * |
tls_ctxc, |
|
|
const char * |
uri |
|
) |
| |
|
static |
◆ tls_open()
◆ handle_tls_error()
◆ tls_read()
◆ tls_write()
◆ tls_get_file_handle()
◆ tls_get_short_seek()
◆ options
◆ tls_class
Initial value:= {
.class_name = "tls",
}
Definition at line 351 of file tls_mbedtls.c.
◆ ff_tls_protocol