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 NET_NACTIVESOCKETS
|
|
|
|
int "Max socket operations"
|
2021-09-15 13:27:08 +02:00
|
|
|
default 16 if !DEFAULT_SMALL
|
|
|
|
default 4 if DEFAULT_SMALL
|
2014-06-29 00:41:55 +02:00
|
|
|
---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.
|
|
|
|
|
2020-06-15 10:23:25 +02:00
|
|
|
config NET_CANPROTO_OPTIONS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for CAN protocol level socket option
|
|
|
|
|
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
|
2019-12-31 16:26:14 +01:00
|
|
|
select NET_TCP_NOTIFIER if NET_TCP
|
|
|
|
select NET_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
|
|
|
|
2020-06-15 10:23:25 +02: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 00:41:55 +02:00
|
|
|
endif # NET_SOCKOPTS
|
2020-06-15 10:23:25 +02:00
|
|
|
|
2014-06-29 00:41:55 +02:00
|
|
|
endmenu # Socket Support
|