我想将我的基于 pc 的源代码移植到使用 posix 标准的网络应用程序到使用 LWIP 堆栈的 cortex M4 微控制器。我找到了与套接字相关的 API,但我被困在以下内容中:
#include <arpa/inet.h>
#include <netinet/in.h> ==> I have not found the equivalent in LWIP
#include <netinet/in_systm.h> ==> I have not found the equivalent in LWIP
#include <netinet/ip.h> ==> I have not found the equivalent in LWIP
#include <netinet/tcp.h> ==> I have not found the equivalent in LWIP
#include <sys/socket.h> ==> I have found the equivalent in LWIP
#include <sys/sysctl.h> ==> I have found the equivalent in LWIP
那么在哪里可以找到丢失文件的c语言源代码呢?它们可以在 PC 上还是在网络上...?是否可以重写它们?
先感谢您。