|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
OSCORE exchange entry. More...
#include <coap_oscore.h>
Data Fields | |
| struct net_sockaddr_storage | addr |
| Client address. | |
| net_socklen_t | addr_len |
| Address length. | |
| uint8_t | token [COAP_TOKEN_MAX_LEN] |
| Token from the request. | |
| uint8_t | tkl |
| Token length. | |
| int64_t | timestamp |
| Creation timestamp. | |
OSCORE exchange entry.
Tracks which server responses need OSCORE protection by matching the client address and request token (RFC 8613 Section 8.3). A CoAP service defined with COAP_SERVICE_DEFINE_OSCORE owns a statically allocated cache of these entries.
CONFIG_COAP_OSCORE.
| struct net_sockaddr_storage coap_oscore_exchange::addr |
Client address.
| net_socklen_t coap_oscore_exchange::addr_len |
Address length.
| int64_t coap_oscore_exchange::timestamp |
Creation timestamp.
| uint8_t coap_oscore_exchange::tkl |
Token length.
| uint8_t coap_oscore_exchange::token[COAP_TOKEN_MAX_LEN] |
Token from the request.