-
CONFIG_NET_TCP_AUTO_ACCEPT
¶
Auto accept incoming TCP data
Type: bool
Help¶
Automatically accept incoming TCP data packet to the valid connection even if the application has not yet called accept(). This speeds up incoming data processing and is done like in Linux. Drawback is that we allocate data for the incoming packets even if the application has not yet accepted the connection. If the peer sends lot of packets, we might run out of memory in this case.
Direct dependencies¶
NET_TCP
&& !NET_RAW_MODE
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/net/ip/Kconfig:311
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:34
→ <Zephyr>/subsys/net/Kconfig:87
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Enable TCP
config NET_TCP_AUTO_ACCEPT bool "Auto accept incoming TCP data" depends onNET_TCP
&& !NET_RAW_MODE
&&NETWORKING
help Automatically accept incoming TCP data packet to the valid connection even if the application has not yet called accept(). This speeds up incoming data processing and is done like in Linux. Drawback is that we allocate data for the incoming packets even if the application has not yet accepted the connection. If the peer sends lot of packets, we might run out of memory in this case.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)