32# if IS_USED(MODULE_UNICOAP_DRIVER_DTLS)
35typedef void unicoap_sock_dtls_session_t;
57#if IS_USED(MODULE_UNICOAP_DRIVER_DTLS) || defined(DOXYGEN)
101#if IS_USED(MODULE_UNICOAP_DRIVER_DTLS)
116 const unicoap_sock_dtls_session_t* dtls_session)
118#if IS_USED(MODULE_UNICOAP_DRIVER_DTLS)
struct sock_dtls_session sock_dtls_session_t
Information about a created session.
static const void * _packet_get_dtls_session(unicoap_packet_t *packet)
Retrieves transport session from packet.
static void _packet_set_dtls_session(unicoap_packet_t *packet, const unicoap_sock_dtls_session_t *dtls_session)
Sets DTLS transport session of packet.
static unicoap_proto_t unicoap_packet_proto(const unicoap_packet_t *packet)
Retrieves protocol number from packet.
unicoap_proto_t
Transport protocol CoAP is used over.
@ UNICOAP_PROTO_DTLS
CoAP over DTLS over UDP endpoint.
unicoap_proto_t proto
Protocol number.
Properties of a CoAP message.
A type acting as an envelope for a message and data connected, like endpoints.
const unicoap_endpoint_t * local
The local endpoint this packet was received at or is to be sent from.
const sock_dtls_session_t * dtls_session
DTLS session.
unicoap_message_properties_t properties
Backing storage for properties, used by PDU header parser.
unicoap_message_t * message
Message, public API, also used by PDU header parser.
const unicoap_endpoint_t * remote
The remote endpoint this packet was received from or is destined for.