TuyaOS
宏定义 | 类型定义 | 枚举 | 函数
tcpip_priv.h 文件参考
#include "lwip/opt.h"
#include "lwip/tcpip.h"
#include "lwip/sys.h"
#include "lwip/timeouts.h"
tcpip_priv.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define API_EXPR_DEREF(expr)   (*(expr))
 
#define API_EXPR_REF(expr)   expr
 
#define API_EXPR_REF_SEM(expr)   API_EXPR_REF(expr)
 
#define API_MSG_M_DEF(m)   *m
 
#define API_MSG_M_DEF_C(t, m)   const t * m
 
#define API_VAR_ALLOC(type, pool, name, errorval)
 
#define API_VAR_ALLOC_EXT(type, pool, name, errorblock)
 
#define API_VAR_ALLOC_POOL(type, pool, name, errorval)
 
#define API_VAR_DECLARE(type, name)   type name
 
#define API_VAR_FREE(pool, name)
 
#define API_VAR_FREE_POOL(pool, name)
 
#define API_VAR_REF(name)   name
 

类型定义

typedef err_t(* tcpip_api_call_fn) (struct tcpip_api_call_data *call)
 

枚举

enum  tcpip_msg_type {
  TCPIP_MSG_API , TCPIP_MSG_API_CALL , TCPIP_MSG_INPKT , TCPIP_MSG_CALLBACK ,
  TCPIP_MSG_CALLBACK_STATIC
}
 

函数

err_t tcpip_api_call (tcpip_api_call_fn fn, struct tcpip_api_call_data *call)
 
err_t tcpip_send_msg_wait_sem (tcpip_callback_fn fn, void *apimsg, sys_sem_t *sem)
 

详细描述

TCPIP API internal implementations (do not use in application code)