Loading...
Searching...
No Matches

Packet. More...

Detailed Description

#include <stdint.h>
#include "net/unicoap.h"
+ Include dependency graph for packet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Functions

static unicoap_proto_t unicoap_packet_proto (const unicoap_packet_t *packet)
 Retrieves protocol number from packet.
 
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.