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 NET_NACTIVESOCKETS
|
|
|
|
int "Max socket operations"
|
2021-09-15 19:27:08 +08:00
|
|
|
default 16 if !DEFAULT_SMALL
|
|
|
|
default 4 if DEFAULT_SMALL
|
2014-06-29 06:41:55 +08:00
|
|
|
---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.
|
|
|
|
|
2020-06-15 16:23:25 +08:00
|
|
|
config NET_CANPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for CAN protocol level socket option
|
|
|
|
|
2014-06-29 06:41:55 +08:00
|
|
|
if NET_SOCKOPTS
|
|
|
|
|
|
|
|
config NET_SOLINGER
|
|
|
|
bool "SO_LINGER socket option"
|
|
|
|
default n
|
2019-07-02 02:25:32 +08:00
|
|
|
depends on NET_TCP_WRITE_BUFFERS || NET_UDP_WRITE_BUFFERS
|
2019-12-31 23:26:14 +08:00
|
|
|
select NET_TCP_NOTIFIER if NET_TCP
|
|
|
|
select NET_UDP_NOTIFIER if NET_UDP
|
2014-06-29 06:41:55 +08:00
|
|
|
---help---
|
2019-07-02 02:25:32 +08:00
|
|
|
Enable or disable support for the SO_LINGER socket option. Requires
|
|
|
|
write buffer support.
|
2014-06-29 06:41:55 +08:00
|
|
|
|
2020-06-15 16:23:25 +08:00
|
|
|
config NET_TIMESTAMP
|
|
|
|
bool "SO_TIMESTAMP socket option"
|
|
|
|
default n
|
|
|
|
depends on NET_CAN
|
|
|
|
---help---
|
|
|
|
Enable or disable support for the SO_TIMESTAMP socket option. Currently only tested & implemented in SocketCAN but should work on all sockets
|
|
|
|
|
2014-06-29 06:41:55 +08:00
|
|
|
endif # NET_SOCKOPTS
|
2020-06-15 16:23:25 +08:00
|
|
|
|
2014-06-29 06:41:55 +08:00
|
|
|
endmenu # Socket Support
|