libcoap 4.3.2rc2
|
NoTLS specific interface functions. More...
#include "coap3/coap_internal.h"
Go to the source code of this file.
Variables | |
static coap_log_t | dtls_log_level = COAP_LOG_EMERG |
NoTLS specific interface functions.
Definition in file coap_notls.c.
int coap_dtls_context_check_keys_enabled | ( | coap_context_t *ctx | COAP_UNUSED | ) |
Definition at line 111 of file coap_notls.c.
int coap_dtls_context_set_pki | ( | coap_context_t *ctx | COAP_UNUSED, |
const coap_dtls_pki_t *setup_data | COAP_UNUSED, | ||
const coap_dtls_role_t role | COAP_UNUSED | ||
) |
Definition at line 77 of file coap_notls.c.
int coap_dtls_context_set_pki_root_cas | ( | coap_context_t *ctx | COAP_UNUSED, |
const char *ca_file | COAP_UNUSED, | ||
const char *ca_path | COAP_UNUSED | ||
) |
Definition at line 85 of file coap_notls.c.
void coap_dtls_free_context | ( | void *handle | COAP_UNUSED | ) |
Definition at line 149 of file coap_notls.c.
void coap_dtls_free_session | ( | coap_session_t *coap_session | COAP_UNUSED | ) |
Definition at line 167 of file coap_notls.c.
coap_tick_t coap_dtls_get_context_timeout | ( | void *dtls_context | COAP_UNUSED | ) |
Definition at line 187 of file coap_notls.c.
unsigned int coap_dtls_get_overhead | ( | coap_session_t *session | COAP_UNUSED | ) |
Definition at line 224 of file coap_notls.c.
coap_tick_t coap_dtls_get_timeout | ( | coap_session_t *session | COAP_UNUSED, |
coap_tick_t now | COAP_UNUSED | ||
) |
Definition at line 192 of file coap_notls.c.
void * coap_dtls_get_tls | ( | const coap_session_t *c_session | COAP_UNUSED, |
coap_tls_library_t * | tls_lib | ||
) |
Definition at line 122 of file coap_notls.c.
int coap_dtls_handle_timeout | ( | coap_session_t *session | COAP_UNUSED | ) |
Definition at line 201 of file coap_notls.c.
void * coap_dtls_new_context | ( | coap_context_t *coap_context | COAP_UNUSED | ) |
Definition at line 144 of file coap_notls.c.
int coap_dtls_receive | ( | coap_session_t *session | COAP_UNUSED, |
const uint8_t *data | COAP_UNUSED, | ||
size_t data_len | COAP_UNUSED | ||
) |
Definition at line 206 of file coap_notls.c.
ssize_t coap_dtls_send | ( | coap_session_t *session | COAP_UNUSED, |
const uint8_t *data | COAP_UNUSED, | ||
size_t data_len | COAP_UNUSED | ||
) |
Definition at line 175 of file coap_notls.c.
void coap_dtls_session_update_mtu | ( | coap_session_t *session | COAP_UNUSED | ) |
Definition at line 171 of file coap_notls.c.
void coap_tls_free_session | ( | coap_session_t *coap_session | COAP_UNUSED | ) |
Definition at line 243 of file coap_notls.c.
ssize_t coap_tls_read | ( | coap_session_t *session | COAP_UNUSED, |
uint8_t *data | COAP_UNUSED, | ||
size_t data_len | COAP_UNUSED | ||
) |
Definition at line 264 of file coap_notls.c.
ssize_t coap_tls_write | ( | coap_session_t *session | COAP_UNUSED, |
const uint8_t *data | COAP_UNUSED, | ||
size_t data_len | COAP_UNUSED | ||
) |
Definition at line 252 of file coap_notls.c.
|
static |
Definition at line 115 of file coap_notls.c.