summaryrefslogtreecommitdiff
path: root/nuttx/net/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-13 11:58:45 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-13 11:58:45 -0600
commit45e0b49b1a2808c4ce4c289fbbc8ee284b293917 (patch)
tree838202f92736ac1b5cc62a0e7d73a7cc3c86ae22 /nuttx/net/Kconfig
parentdf4d1ee71b6dd23755e23b95dc88898f0635816c (diff)
downloadpx4-nuttx-45e0b49b1a2808c4ce4c289fbbc8ee284b293917.tar.gz
px4-nuttx-45e0b49b1a2808c4ce4c289fbbc8ee284b293917.tar.bz2
px4-nuttx-45e0b49b1a2808c4ce4c289fbbc8ee284b293917.zip
Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit
Diffstat (limited to 'nuttx/net/Kconfig')
-rw-r--r--nuttx/net/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index 1a1d1e8e6..6bd92b118 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/net/Kconfig
@@ -72,6 +72,13 @@ config NET_SOCKOPTS
---help---
Enable or disable support for socket options
+config NET_SOLINGER
+ bool "SO_LINGER socket option"
+ default n
+ depends on NET_SOCKOPTS && !DISABLE_CLOCK
+ ---help---
+ Enable or disable support for the SO_LINGER socket option.
+
config NET_BUFSIZE
int "Network packet size"
default 562 if !NET_SLIP