45 #if IS_USED(MODULE_NANOCOAP_CACHE)
56 #ifndef GCOAP_PROXY_STACK_SIZE
57 #define GCOAP_PROXY_STACK_SIZE (THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE \
58 + sizeof(coap_pkt_t) + GCOAP_DTLS_EXTRA_STACKSIZE)
65 GCOAP_FORWARD_PROXY_MSG_SEND,
#define COAP_ETAG_LENGTH_MAX
maximum length of the ETag option
void gcoap_forward_proxy_thread_init(void)
Initialize the forward proxy thread.
int gcoap_forward_proxy_req_send(client_ep_t *cep)
Forward the CoAP request to the server The client endpoint is passed as an argument and freed if the ...
Generic CoAP values as defined by RFC7252.
Common IP-based transport layer end point.
sock_udp_ep_t proxy_ep
proxy endpoint
sock_udp_ep_t server_ep
forward Server endpoint
sock_udp_ep_t ep
client endpoint
coap_pkt_t pdu
forward CoAP PDU
ztimer_t empty_ack_timer
empty ACK timer
event_t event
client event
uint8_t flags
client flags
CoAP PDU parsing context structure.