Go to the documentation of this file.
   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(type, pool, name, errorval) do { \ 
   59                                           name = (type *)memp_malloc(pool); \ 
   64 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) do { \ 
   65                                           name = (type *)LWIP_MEMPOOL_ALLOC(pool); \ 
   70 #define API_VAR_FREE(pool, name)        memp_free(pool, name) 
   71 #define API_VAR_FREE_POOL(pool, name)   LWIP_MEMPOOL_FREE(pool, name) 
   72 #define API_EXPR_REF(expr)              (&(expr)) 
   73 #if LWIP_NETCONN_SEM_PER_THREAD 
   74 #define API_EXPR_REF_SEM(expr)          (expr) 
   76 #define API_EXPR_REF_SEM(expr)          API_EXPR_REF(expr) 
   78 #define API_EXPR_DEREF(expr)            expr 
   79 #define API_MSG_M_DEF(m)                m 
   80 #define API_MSG_M_DEF_C(t, m)           t m 
   82 #define API_VAR_REF(name)               name 
   83 #define API_VAR_DECLARE(type, name)     type name 
   84 #define API_VAR_ALLOC(type, pool, name, errorval) 
   85 #define API_VAR_ALLOC_POOL(type, pool, name, errorval) 
   86 #define API_VAR_FREE(pool, name) 
   87 #define API_VAR_FREE_POOL(pool, name) 
   88 #define API_EXPR_REF(expr)              expr 
   89 #define API_EXPR_REF_SEM(expr)          API_EXPR_REF(expr) 
   90 #define API_EXPR_DEREF(expr)            (*(expr)) 
   91 #define API_MSG_M_DEF(m)                *m 
   92 #define API_MSG_M_DEF_C(t, m)           const t * m 
   99 #if !LWIP_TCPIP_CORE_LOCKING 
  101 #if !LWIP_NETCONN_SEM_PER_THREAD 
  115 #if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS 
  144 #if LWIP_TCPIP_TIMEOUT && LWIP_TIMERS 
  147       sys_timeout_handler h;
 
  
 
err_t tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call)
struct tcpip_msg::@3::@4 api_msg
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)
struct tcpip_msg::@3::@7 cb
struct tcpip_msg::@3::@6 inp
err_t tcpip_send_msg_wait_sem(tcpip_callback_fn fn, void *apimsg, sys_sem_t *sem)
void(* tcpip_callback_fn)(void *ctx)
struct tcpip_api_call_data * arg
struct tcpip_msg::@3::@5 api_call
err_t(* tcpip_api_call_fn)(struct tcpip_api_call_data *call)