2014-06-29 06:41:55 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-29 06:41:55 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menu "Socket Support"
|
|
|
|
|
|
|
|
config NSOCKET_DESCRIPTORS
|
|
|
|
int "Number of socket descriptor"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
Maximum number of socket descriptors per task/thread.
|
|
|
|
|
|
|
|
config NET_NACTIVESOCKETS
|
|
|
|
int "Max socket operations"
|
|
|
|
default 16
|
|
|
|
---help---
|
2015-05-31 01:29:47 +08:00
|
|
|
Maximum number of concurrent socket operations (recv, send,
|
|
|
|
connection monitoring, etc.). Default: 16
|
2014-06-29 06:41:55 +08:00
|
|
|
|
|
|
|
config NET_SOCKOPTS
|
|
|
|
bool "Socket options"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for socket options
|
|
|
|
|
2018-03-13 00:59:46 +08:00
|
|
|
config NET_TCPPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for TCP protocol level socket options.
|
|
|
|
|
2018-06-26 05:07:53 +08:00
|
|
|
config NET_UDPPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for UDP protocol level socket options.
|
|
|
|
|
2014-06-29 06:41:55 +08:00
|
|
|
if NET_SOCKOPTS
|
|
|
|
|
|
|
|
config NET_SOLINGER
|
|
|
|
bool "SO_LINGER socket option"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for the SO_LINGER socket option.
|
|
|
|
|
|
|
|
endif # NET_SOCKOPTS
|
|
|
|
endmenu # Socket Support
|