56#ifndef LWIP_HDR_TCPIP_H
57#define LWIP_HDR_TCPIP_H
71#if LWIP_TCPIP_CORE_LOCKING
73extern 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()
92struct tcpip_callback_msg;
113#define tcpip_callback(f, ctx) tcpip_callback_with_block(f, ctx, 1)
123#if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS
124err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h,
void *arg);
125err_t tcpip_untimeout(sys_timeout_handler h,
void *arg);
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
struct tcpip_callback_msg * tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx)
void(* tcpip_callback_fn)(void *ctx)
err_t mem_free_callback(void *m)
err_t pbuf_free_callback(struct pbuf *p)
void(* tcpip_init_done_fn)(void *arg)
err_t tcpip_callback_wait(tcpip_callback_fn function, void *ctx)
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
err_t tcpip_shutdown(void)
void tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg)
void tcpip_callbackmsg_delete(struct tcpip_callback_msg *msg)
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
err_t tcpip_input(struct pbuf *p, struct netif *inp)