2014-06-29 00:41:55 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-29 00:41:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
menu "Socket Support"
|
|
|
|
|
|
|
|
config NSOCKET_DESCRIPTORS
|
2019-02-11 22:47:25 +01:00
|
|
|
int "Number of socket descriptors"
|
2014-06-29 00:41:55 +02:00
|
|
|
default 8
|
2019-02-11 22:47:25 +01:00
|
|
|
range 1 99999
|
2014-06-29 00:41:55 +02:00
|
|
|
---help---
|
|
|
|
Maximum number of socket descriptors per task/thread.
|
|
|
|
|
|
|
|
config NET_NACTIVESOCKETS
|
|
|
|
int "Max socket operations"
|
|
|
|
default 16
|
|
|
|
---help---
|
2015-05-30 19:29:47 +02:00
|
|
|
Maximum number of concurrent socket operations (recv, send,
|
|
|
|
connection monitoring, etc.). Default: 16
|
2014-06-29 00:41:55 +02:00
|
|
|
|
|
|
|
config NET_SOCKOPTS
|
|
|
|
bool "Socket options"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for socket options
|
|
|
|
|
2018-03-12 17:59:46 +01:00
|
|
|
config NET_TCPPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for TCP protocol level socket options.
|
|
|
|
|
2018-06-25 23:07:53 +02:00
|
|
|
config NET_UDPPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for UDP protocol level socket options.
|
|
|
|
|
2014-06-29 00:41:55 +02:00
|
|
|
if NET_SOCKOPTS
|
|
|
|
|
|
|
|
config NET_SOLINGER
|
|
|
|
bool "SO_LINGER socket option"
|
|
|
|
default n
|
2019-07-01 20:25:32 +02:00
|
|
|
depends on NET_TCP_WRITE_BUFFERS || NET_UDP_WRITE_BUFFERS
|
|
|
|
select TCP_NOTIFIER if NET_TCP
|
|
|
|
select UDP_NOTIFIER if NET_UDP
|
2014-06-29 00:41:55 +02:00
|
|
|
---help---
|
2019-07-01 20:25:32 +02:00
|
|
|
Enable or disable support for the SO_LINGER socket option. Requires
|
|
|
|
write buffer support.
|
2014-06-29 00:41:55 +02:00
|
|
|
|
|
|
|
endif # NET_SOCKOPTS
|
|
|
|
endmenu # Socket Support
|