A type acting as an envelope for a message and data connected, like endpoints. More...
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.
#include <packet.h>
Data Fields | ||
| const unicoap_endpoint_t * | remote | |
| The remote endpoint this packet was received from or is destined for. | ||
| const unicoap_endpoint_t * | local | |
| 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_t * | message | |
| Message, public API, also used by PDU header parser. | ||
| unicoap_message_properties_t | properties | |
| Backing storage for properties, used by PDU header parser. | ||
| const sock_dtls_session_t* unicoap_packet_t::dtls_session |
| const unicoap_endpoint_t* unicoap_packet_t::local |
| unicoap_message_t* unicoap_packet_t::message |
| unicoap_message_properties_t unicoap_packet_t::properties |
| const unicoap_endpoint_t* unicoap_packet_t::remote |