Loading...
Searching...
No Matches

A type acting as an envelope for a message and data connected, like endpoints. More...

Detailed Description

A type acting as an envelope for a message and data connected, like endpoints.

Using this type, you can allocate everything at once without needing to pass endpoints and message objects as parameters.

Definition at line 45 of file packet.h.

#include <packet.h>

Data Fields

const unicoap_endpoint_tremote
 The remote endpoint this packet was received from or is destined for.
 
const unicoap_endpoint_tlocal
 The local endpoint this packet was received at or is to be sent from.
 
union { 
 
   const sock_dtls_session_t *   dtls_session 
 DTLS session. More...
 
};  
 
unicoap_message_tmessage
 Message, public API, also used by PDU header parser.
 
unicoap_message_properties_t properties
 Backing storage for properties, used by PDU header parser.
 

Field Documentation

◆ dtls_session

const sock_dtls_session_t* unicoap_packet_t::dtls_session

DTLS session.

Stored here to avoid looking up sessions in digital session management (DSM)

Definition at line 63 of file packet.h.

◆ local

const unicoap_endpoint_t* unicoap_packet_t::local

The local endpoint this packet was received at or is to be sent from.

Definition at line 54 of file packet.h.

◆ message

unicoap_message_t* unicoap_packet_t::message

Message, public API, also used by PDU header parser.

Definition at line 72 of file packet.h.

◆ properties

unicoap_message_properties_t unicoap_packet_t::properties

Backing storage for properties, used by PDU header parser.

Definition at line 77 of file packet.h.

◆ remote

const unicoap_endpoint_t* unicoap_packet_t::remote

The remote endpoint this packet was received from or is destined for.

Definition at line 49 of file packet.h.


The documentation for this struct was generated from the following file: