Prusa MINI Firmware overview
|
Go to the documentation of this file.
37 #ifndef LWIP_HDR_TCPIP_H
38 #define LWIP_HDR_TCPIP_H
52 #if LWIP_TCPIP_CORE_LOCKING
56 #define LOCK_TCPIP_CORE() sys_mutex_lock(&lock_tcpip_core)
58 #define UNLOCK_TCPIP_CORE() sys_mutex_unlock(&lock_tcpip_core)
60 #define LOCK_TCPIP_CORE()
61 #define UNLOCK_TCPIP_CORE()
73 struct tcpip_callback_msg;
85 #define tcpip_callback(f, ctx) tcpip_callback_with_block(f, ctx, 1)
95 #if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS
96 err_t tcpip_timeout(
u32_t msecs, sys_timeout_handler h,
void *arg);
97 err_t tcpip_untimeout(sys_timeout_handler h,
void *arg);
osSemaphoreId sys_mutex_t
Definition: sys_arch.h:42
uint32_t u32_t
Definition: arch.h:123
void tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg)
Definition: tcpip.c:462
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
Definition: netif.h:162
err_t tcpip_callback_with_block(tcpip_callback_fn function, void *ctx, u8_t block)
Definition: tcpip.c:234
void tcpip_init_done(void *)
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
Definition: tcpip.c:446
err_t mem_free_callback(void *m)
Definition: tcpip.c:513
void(* tcpip_init_done_fn)(void *arg)
Definition: tcpip.h:68
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
Definition: tcpip.c:169
void tcpip_callbackmsg_delete(struct tcpip_callback_msg *msg)
Definition: tcpip.c:433
uint8_t u8_t
Definition: arch.h:119
void
Definition: png.h:1083
err_t tcpip_input(struct pbuf *p, struct netif *inp)
Definition: tcpip.c:212
s8_t err_t
Definition: err.h:57
void(* tcpip_callback_fn)(void *ctx)
Definition: tcpip.h:70
struct tcpip_callback_msg * tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx)
Definition: tcpip.c:415
err_t pbuf_free_callback(struct pbuf *p)
Definition: tcpip.c:500