mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 00:42:43 +00:00
This patch enables BSD socket offload to a dedicated TCP/IP offload engine. This provides a simpler, more direct mechanism than going through NET_OFFLOAD (zsock -> net_context -> socket conversions) for those devices which provide complete TCP/IP offload at the BSD socket level, and whose use cases do not require IP routing between multiple network interfaces. To use, configure CONFIG_NET_SOCKETS_OFFLOAD=y, and register socket_offload_ops with this module. Fixes #3706 Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
9 lines
216 B
CMake
9 lines
216 B
CMake
zephyr_include_directories(.)
|
|
zephyr_sources(
|
|
getaddrinfo.c
|
|
sockets.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_NET_SOCKETS_SOCKOPT_TLS sockets_tls.c)
|
|
zephyr_sources_ifdef(CONFIG_NET_SOCKETS_OFFLOAD socket_offload.c)
|