251924a734
net/tcp: Add logic to send probes when SO_KEEPALIVE is enabled. net/tcp: TCP socket should not have to be connected to configure KeepAlive. net/: Add a separate configuration to enable/disable KEEPALIVE socket options. net/tcp: Arguments to TCP keep-alive timing functions probably should be struct timeval as are the times for other time-related socket options. net/tcp: Fix a backward conditional net/tcp: Add some more checks and debug output to TCP-protocol socket options. net/tcp: Cosmetic changes to some alignment. net/: Adds socket options needed to manage TCP-keepalive and TCP state machine logic to detect if that the remote peer is alive. Still missing the timer poll logic to send the keep-alive probes and the state machine logic to respond to probes.
43 lines
924 B
Plaintext
43 lines
924 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
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---
|
|
Maximum number of concurrent socket operations (recv, send,
|
|
connection monitoring, etc.). Default: 16
|
|
|
|
config NET_SOCKOPTS
|
|
bool "Socket options"
|
|
default n
|
|
---help---
|
|
Enable or disable support for socket options
|
|
|
|
config NET_TCPPROTO_OPTIONS
|
|
bool
|
|
default n
|
|
---help---
|
|
Enable or disable support for TCP protocol level socket options.
|
|
|
|
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
|