56 #ifndef LWIP_HDR_TCPIP_H 57 #define LWIP_HDR_TCPIP_H 71 #if LWIP_TCPIP_CORE_LOCKING 73 extern sys_mutex_t lock_tcpip_core;
75 #define LOCK_TCPIP_CORE() sys_mutex_lock(&lock_tcpip_core) 77 #define UNLOCK_TCPIP_CORE() sys_mutex_unlock(&lock_tcpip_core) 79 #define LOCK_TCPIP_CORE() 80 #define UNLOCK_TCPIP_CORE() 92 struct tcpip_callback_msg;
104 #define tcpip_callback(f, ctx) tcpip_callback_with_block(f, ctx, 1) 114 #if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS 115 err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h,
void *arg);
116 err_t tcpip_untimeout(sys_timeout_handler h,
void *arg);
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
void(* tcpip_init_done_fn)(void *arg)
void(* tcpip_callback_fn)(void *ctx)
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
err_t mem_free_callback(void *m)
err_t tcpip_callback_with_block(tcpip_callback_fn function, void *ctx, u8_t block)
void tcpip_callbackmsg_delete(struct tcpip_callback_msg *msg)
err_t tcpip_input(struct pbuf *p, struct netif *inp)
void tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg)
struct tcpip_callback_msg * tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx)
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
err_t pbuf_free_callback(struct pbuf *p)