Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-11-04 09:01:40 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
932040e08cf4328c89a36134282c318a895c173f
esp-idf/components/lwip/port/linux/include/sys/socket.h

14 lines
384 B
C
Raw Normal View History

lwip: Support for linux target Implement linux port layer and reuse the original FreeRTOS layer that's compiled and used on linux target as well, by means of FreeRTOS simulator.
2022-07-22 10:14:37 +02:00
/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
lwip/linux: Add lwip support for networking component under linux linux/lwip: Wrap some IO posix functions * to workaourd the FreeRTOS EINTR issue (when building without lwip) * to correctly choose the sub-system based on fd (when building with lwip) -- passing control to either linux/system or to lwip This commit also addapts tapio-if to provide DHCP client by default and configurable settings for static IP
2023-04-03 20:31:51 +02:00
#pragma once
#ifdef LWIP_HDR_LINUX_SYS_SOCKETS_H
/* only if we prefer linux system sockets, include from system paths */
#include_next <sys/socket.h>
#else
lwip: Support for linux target Implement linux port layer and reuse the original FreeRTOS layer that's compiled and used on linux target as well, by means of FreeRTOS simulator.
2022-07-22 10:14:37 +02:00
/* Include lwip sockets by default */
#include "lwip/sockets.h"
#endif /* LWIP_HDR_LINUX_SYS_SOCKETS_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 44ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API