libcoap  4.2.0
coap_dtls.c File Reference
#include "coap_config.h"
#include "address.h"
#include "coap_debug.h"
#include "mem.h"
#include "coap_dtls.h"
#include "coap_keystore.h"
#include "utlist.h"
+ Include dependency graph for coap_dtls.c:

Go to the source code of this file.

Macros

#define UNUSED
 

Functions

int coap_dtls_is_supported (void)
 Check whether DTLS is available. More...
 
struct coap_dtls_context_tcoap_dtls_new_context (struct coap_context_t *coap_context UNUSED)
 
void coap_dtls_free_context (struct coap_dtls_context_t *dtls_context)
 
struct coap_dtls_session_tcoap_dtls_get_session (struct coap_context_t *coap_context UNUSED, const coap_endpoint_t *local_interface UNUSED, const coap_address_t *dst UNUSED)
 
int coap_dtls_send (struct coap_context_t *coap_context UNUSED, struct coap_dtls_session_t *session UNUSED, const unsigned char *data UNUSED, size_t data_len UNUSED)
 
struct coap_dtls_session_tcoap_dtls_new_session (const coap_endpoint_t *local_interface UNUSED, const coap_address_t *remote UNUSED)
 
void coap_dtls_free_session (coap_dtls_session_t *session UNUSED)
 
int coap_dtls_handle_message (struct coap_context_t *coap_context UNUSED, const coap_endpoint_t *local_interface UNUSED, const coap_address_t *dst UNUSED, const unsigned char *data UNUSED, size_t data_len UNUSED)
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED

Definition at line 21 of file coap_dtls.c.

Function Documentation

◆ coap_dtls_free_context()

void coap_dtls_free_context ( struct coap_dtls_context_t dtls_context)

Definition at line 901 of file coap_dtls.c.

+ Here is the caller graph for this function:

◆ coap_dtls_free_session()

void coap_dtls_free_session ( coap_dtls_session_t *session  UNUSED)

Definition at line 925 of file coap_dtls.c.

+ Here is the caller graph for this function:

◆ coap_dtls_get_session()

struct coap_dtls_session_t* coap_dtls_get_session ( struct coap_context_t *coap_context  UNUSED,
const coap_endpoint_t *local_interface  UNUSED,
const coap_address_t *dst  UNUSED 
)

Definition at line 905 of file coap_dtls.c.

◆ coap_dtls_handle_message()

int coap_dtls_handle_message ( struct coap_context_t *coap_context  UNUSED,
const coap_endpoint_t *local_interface  UNUSED,
const coap_address_t *dst  UNUSED,
const unsigned char *data  UNUSED,
size_t data_len  UNUSED 
)

Definition at line 928 of file coap_dtls.c.

◆ coap_dtls_new_context()

struct coap_dtls_context_t* coap_dtls_new_context ( struct coap_context_t *coap_context  UNUSED)

Definition at line 896 of file coap_dtls.c.

+ Here is the caller graph for this function:

◆ coap_dtls_new_session()

struct coap_dtls_session_t* coap_dtls_new_session ( const coap_endpoint_t *local_interface  UNUSED,
const coap_address_t *remote  UNUSED 
)

Definition at line 919 of file coap_dtls.c.

◆ coap_dtls_send()

int coap_dtls_send ( struct coap_context_t *coap_context  UNUSED,
struct coap_dtls_session_t *session  UNUSED,
const unsigned char *data  UNUSED,
size_t data_len  UNUSED 
)

Definition at line 912 of file coap_dtls.c.

+ Here is the caller graph for this function: