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

Definitions for the GCoAP forward proxy internal communication. More...

Detailed Description

Definitions for the GCoAP forward proxy internal communication.

Author
Mariem Charrada marie.nosp@m.m.ch.nosp@m.arrad.nosp@m.a@ml.nosp@m.-pa.c.nosp@m.om

Definition in file forward_proxy_internal.h.

#include <stdint.h>
#include "net/coap.h"
#include "net/gcoap.h"
#include "net/sock/udp.h"
#include "ztimer.h"
#include "event.h"
+ Include dependency graph for forward_proxy_internal.h:

Go to the source code of this file.

Data Structures

struct  client_ep_t
 client ep structure More...
 

Macros

#define GCOAP_PROXY_STACK_SIZE
 Stack size for the forward proxy thread.
 

Enumerations

enum  { GCOAP_FORWARD_PROXY_MSG_SEND }
 Definition of forward proxy thread msgs. More...
 

Functions

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 send failed.