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);
void tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg)
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
err_t tcpip_callback_with_block(tcpip_callback_fn function, void *ctx, u8_t block)
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
err_t mem_free_callback(void *m)
void(* tcpip_init_done_fn)(void *arg)
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
void tcpip_callbackmsg_delete(struct tcpip_callback_msg *msg)
err_t tcpip_input(struct pbuf *p, struct netif *inp)
void(* tcpip_callback_fn)(void *ctx)
struct tcpip_callback_msg * tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx)
err_t pbuf_free_callback(struct pbuf *p)