TuyaOS
altcp_priv.h 文件参考
#include "lwip/opt.h"
altcp_priv.h 的引用(Include)关系图:

浏览源代码.

详细描述

Application layered TCP connection API (to be used from TCPIP thread)
This interface mimics the tcp callback API to the application while preventing direct linking (much like virtual functions). This way, an application can make use of other application layer protocols on top of TCP without knowing the details (e.g. TLS, proxy connection).