Documentation
Includes
lwip/opt.h
#include "lwip/opt.h"
lwip/err.h
#include "lwip/err.h"
lwip/timeouts.h
#include "lwip/timeouts.h"
lwip/netif.h
#include "lwip/netif.h"
Macros
Marco LWIP_HDR_TCPIP_H
#define LWIP_HDR_TCPIP_H
Marco LOCK_TCPIP_CORE()
#define LOCK_TCPIP_CORE() sys_mutex_lock(&lock_tcpip_core)
Marco UNLOCK_TCPIP_CORE()
#define UNLOCK_TCPIP_CORE() sys_mutex_unlock(&lock_tcpip_core)
Marco LOCK_TCPIP_CORE
#define LOCK_TCPIP_CORE()
Marco UNLOCK_TCPIP_CORE
#define UNLOCK_TCPIP_CORE()
Marco tcpip_callback_with_block(function, ctx, block)
#define tcpip_callback_with_block(function, ctx, block) ((block != 0)? tcpip_callback(function, ctx) : tcpip_try_callback(function, ctx))
Functions
Func tcpip_init
void tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg);
Func tcpip_inpkt
err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn);
err_t tcpip_input(struct pbuf *p, struct netif *inp);
Func tcpip_try_callback
err_t tcpip_try_callback(tcpip_callback_fn function, void *ctx);
Func tcpip_callback
err_t tcpip_callback(tcpip_callback_fn function, void *ctx);
Func tcpip_callbackmsg_delete
void tcpip_callbackmsg_delete(struct tcpip_callback_msg* msg);
Func tcpip_callbackmsg_trycallback
err_t tcpip_callbackmsg_trycallback(struct tcpip_callback_msg* msg);
Func tcpip_callbackmsg_trycallback_fromisr
err_t tcpip_callbackmsg_trycallback_fromisr(struct tcpip_callback_msg* msg);
Func pbuf_free_callback
err_t pbuf_free_callback(struct pbuf *p);
Func mem_free_callback
err_t mem_free_callback(void *m);
Func tcpip_timeout
err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg);
Func tcpip_untimeout
err_t tcpip_untimeout(sys_timeout_handler h, void *arg);
Func tcpip_thread_poll_one
int tcpip_thread_poll_one(void);
Vars
Variable pbuf
struct pbuf;
Variable netif
struct netif;
Variable tcpip_callback_msg
struct tcpip_callback_msg;
Variable tcpip_callback_msg
struct tcpip_callback_msg* tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx);
Consts
Types
Typedefs
Typedef tcpip_init_done_fn
typedef void (*tcpip_init_done_fn)(void *arg);
Typedef tcpip_callback_fn
typedef void (*tcpip_callback_fn)(void *ctx);