Loading...
Searching...
No Matches
forward_proxy.h File Reference

Definitions for the GCoAP forward proxy. More...

Detailed Description

Definitions for the GCoAP forward proxy.

Author
Cenk Gündoğan cenk..nosp@m.guen.nosp@m.dogan.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file forward_proxy.h.

#include <stdbool.h>
#include <errno.h>
#include "net/coap.h"
#include "net/nanocoap.h"
#include "net/gcoap.h"
+ Include dependency graph for forward_proxy.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.