From 45e0b49b1a2808c4ce4c289fbbc8ee284b293917 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 13 Jan 2014 11:58:45 -0600 Subject: Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit --- nuttx/net/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nuttx/net/Kconfig') 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 -- cgit v1.2.3