Documentation
Includes
lwip/opt.h
#include "lwip/opt.h"
lwip/tcpip.h
#include "lwip/tcpip.h"
lwip/sys.h
#include "lwip/sys.h"
lwip/timeouts.h
#include "lwip/timeouts.h"
Macros
Marco LWIP_HDR_TCPIP_PRIV_H
#define LWIP_HDR_TCPIP_PRIV_H
Marco API_VAR_REF(name)
#define API_VAR_REF(name) (*(name))
Marco API_VAR_DECLARE(type, name)
#define API_VAR_DECLARE(type, name) type * name
Marco API_VAR_ALLOC_EXT(type, pool, name, errorblock)
#define API_VAR_ALLOC_EXT(type, pool, name, errorblock) do { \
name = (type *)memp_malloc(pool); \
if (name == NULL) { \
errorblock; \
} \
} while(0)
Marco API_VAR_ALLOC(type, pool, name, errorval)
#define API_VAR_ALLOC(type, pool, name, errorval) API_VAR_ALLOC_EXT(type, pool, name, return errorval)
Marco API_VAR_ALLOC_POOL(type, pool, name, errorval)
#define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \
name = (type *)LWIP_MEMPOOL_ALLOC(pool); \
if (name == NULL) { \
return errorval; \
} \
} while(0)
Marco API_VAR_FREE(pool, name)
#define API_VAR_FREE(pool, name) memp_free(pool, name)
Marco API_VAR_FREE_POOL(pool, name)
#define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name)
Marco API_EXPR_REF(expr)
#define API_EXPR_REF(expr) (&(expr))
Marco API_EXPR_REF_SEM(expr)
#define API_EXPR_REF_SEM(expr) (expr)
Marco API_EXPR_REF_SEM(expr)
#define API_EXPR_REF_SEM(expr) API_EXPR_REF(expr)
Marco API_EXPR_DEREF(expr)
#define API_EXPR_DEREF(expr) expr
Marco API_MSG_M_DEF(m)
#define API_MSG_M_DEF(m) m
Marco API_MSG_M_DEF_C(t, m)
#define API_MSG_M_DEF_C(t, m) t m
Marco API_VAR_REF(name)
#define API_VAR_REF(name) name
Marco API_VAR_DECLARE(type, name)
#define API_VAR_DECLARE(type, name) type name
Marco API_VAR_ALLOC_EXT
#define API_VAR_ALLOC_EXT(type, pool, name, errorblock)
Marco API_VAR_ALLOC
#define API_VAR_ALLOC(type, pool, name, errorval)
Marco API_VAR_ALLOC_POOL
#define API_VAR_ALLOC_POOL(type, pool, name, errorval)
Marco API_VAR_FREE
#define API_VAR_FREE(pool, name)
Marco API_VAR_FREE_POOL
#define API_VAR_FREE_POOL(pool, name)
Marco API_EXPR_REF(expr)
#define API_EXPR_REF(expr) expr
Marco API_EXPR_REF_SEM(expr)
#define API_EXPR_REF_SEM(expr) API_EXPR_REF(expr)
Marco API_EXPR_DEREF(expr)
#define API_EXPR_DEREF(expr) (*(expr))
Marco API_MSG_M_DEF(m)
#define API_MSG_M_DEF(m) *m
Marco API_MSG_M_DEF_C(t, m)
#define API_MSG_M_DEF_C(t, m) const t * m
Functions
Func tcpip_send_msg_wait_sem
err_t tcpip_send_msg_wait_sem(tcpip_callback_fn fn, void *apimsg, sys_sem_t* sem);
Func tcpip_api_call
err_t tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call);
Vars
Variable pbuf
struct pbuf;
Variable netif
struct netif;
Consts
Types
Typedefs
Typedef tcpip_api_call_fn
typedef err_t (*tcpip_api_call_fn)(struct tcpip_api_call_data* call);