37#ifndef LWIP_HDR_TCPIP_PRIV_H
38#define LWIP_HDR_TCPIP_PRIV_H
55#if LWIP_MPU_COMPATIBLE
56#define API_VAR_REF(name) (*(name))
57#define API_VAR_DECLARE(type, name) type * name
58#define API_VAR_ALLOC_EXT(type, pool, name, errorblock) do { \
59 name = (type *)memp_malloc(pool); \
64#define API_VAR_ALLOC(type, pool, name, errorval) API_VAR_ALLOC_EXT(type, pool, name, return errorval)
65#define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \
66 name = (type *)LWIP_MEMPOOL_ALLOC(pool); \
71#define API_VAR_FREE(pool, name) memp_free(pool, name)
72#define API_VAR_FREE_POOL(pool, name) LWIP_MEMPOOL_FREE(pool, name)
73#define API_EXPR_REF(expr) (&(expr))
74#if LWIP_NETCONN_SEM_PER_THREAD
75#define API_EXPR_REF_SEM(expr) (expr)
77#define API_EXPR_REF_SEM(expr) API_EXPR_REF(expr)
79#define API_EXPR_DEREF(expr) expr
80#define API_MSG_M_DEF(m) m
81#define API_MSG_M_DEF_C(t, m) t m
83#define API_VAR_REF(name) name
84#define API_VAR_DECLARE(type, name) type name
85#define API_VAR_ALLOC_EXT(type, pool, name, errorblock)
86#define API_VAR_ALLOC(type, pool, name, errorval)
87#define API_VAR_ALLOC_POOL(type, pool, name, errorval)
88#define API_VAR_FREE(pool, name)
89#define API_VAR_FREE_POOL(pool, name)
90#define API_EXPR_REF(expr) expr
91#define API_EXPR_REF_SEM(expr) API_EXPR_REF(expr)
92#define API_EXPR_DEREF(expr) (*(expr))
93#define API_MSG_M_DEF(m) *m
94#define API_MSG_M_DEF_C(t, m) const t * m
101#if !LWIP_TCPIP_CORE_LOCKING
103#if !LWIP_NETCONN_SEM_PER_THREAD
114#if !LWIP_TCPIP_CORE_LOCKING
118#if !LWIP_TCPIP_CORE_LOCKING_INPUT
121#if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS
133#if !LWIP_TCPIP_CORE_LOCKING
149#if !LWIP_TCPIP_CORE_LOCKING_INPUT
160#if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS
163 sys_timeout_handler
h;
void(* tcpip_callback_fn)(void *ctx)
GLfloat GLfloat GLfloat GLfloat h
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
struct tcpip_api_call_data * arg
struct tcpip_msg::@1052::@1057 cb
tcpip_api_call_fn function
struct tcpip_msg::@1052::@1055 cb_wait
struct tcpip_msg::@1052::@1054 api_call
tcpip_callback_fn function
struct tcpip_msg::@1052::@1056 inp
struct tcpip_msg::@1052::@1053 api_msg
err_t tcpip_send_msg_wait_sem(tcpip_callback_fn fn, void *apimsg, sys_sem_t *sem)
@ TCPIP_MSG_CALLBACK_STATIC
@ TCPIP_MSG_CALLBACK_STATIC_WAIT
err_t tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call)
err_t(* tcpip_api_call_fn)(struct tcpip_api_call_data *call)
static GLenum _GLUfuncptr fn