Definitions for the GCoAP forward proxy. More...
Definitions for the GCoAP forward proxy.
Definition in file forward_proxy.h.
#include <stdbool.h>
#include <errno.h>
#include "net/coap.h"
#include "net/nanocoap.h"
#include "net/gcoap.h"
Go to the source code of this file.
Macros | |
#define | CONFIG_GCOAP_FORWARD_PROXY_EMPTY_ACK_MS ((CONFIG_COAP_ACK_TIMEOUT_MS / 4) * 3) |
Timeout in milliseconds for the forward proxy to send an empty ACK without response. | |
Functions | |
void | gcoap_forward_proxy_init (void) |
Registers a listener for forward proxy operation. | |
int | gcoap_forward_proxy_request_process (coap_pkt_t *pkt, const sock_udp_ep_t *client, const sock_udp_ep_t *local) |
Handles proxied requests. | |
void | gcoap_forward_proxy_find_req_memo (gcoap_request_memo_t **memo_ptr, coap_pkt_t *src_pdu, const sock_udp_ep_t *remote) |
Finds the memo for an outstanding request within the _coap_state.open_reqs array. | |