mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Implemented several options in set/getsockopts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@334 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+4
-2
@@ -212,8 +212,10 @@ defconfig -- This is a configuration file similar to the Linux
|
|||||||
CONFIG_NET - Enable or disable all network features
|
CONFIG_NET - Enable or disable all network features
|
||||||
CONFIG_NET_IPv6 - Build in support for IPv6
|
CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
|
|
||||||
CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
CONFIG_NET_LOGGING - Logging on or off
|
CONFIG_NET_LOGGING - Logging on or off
|
||||||
CONFIG_NET_UDP - UDP support on or off
|
CONFIG_NET_UDP - UDP support on or off
|
||||||
|
|||||||
@@ -254,8 +254,9 @@ CONFIG_PREALLOC_TIMERS=8
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -274,6 +275,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
@@ -243,8 +243,9 @@ CONFIG_PREALLOC_TIMERS=8
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -263,6 +264,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
@@ -267,8 +267,9 @@ CONFIG_PREALLOC_TIMERS=8
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -287,6 +288,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
@@ -252,8 +252,9 @@ CONFIG_PREALLOC_TIMERS=8
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -272,6 +273,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
@@ -240,8 +240,9 @@ CONFIG_PREALLOC_TIMERS=0
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -260,6 +261,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
@@ -214,8 +214,9 @@ CONFIG_FS_FAT=y
|
|||||||
# CONFIG_NET - Enable or disable all network features
|
# CONFIG_NET - Enable or disable all network features
|
||||||
# CONFIG_NET_IPv6 - Build in support for IPv6
|
# CONFIG_NET_IPv6 - Build in support for IPv6
|
||||||
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
# CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors per task/thread.
|
||||||
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections
|
# CONFIG_NET_MAX_CONNECTIONS - Maximum number of TCP connections (all tasks)
|
||||||
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports
|
# CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
||||||
|
# CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
||||||
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
# CONFIG_NET_BUFFER_SIZE - uIP buffer size
|
||||||
# CONFIG_NET_LOGGING - Logging on or off
|
# CONFIG_NET_LOGGING - Logging on or off
|
||||||
# CONFIG_NET_UDP - UDP support on or off
|
# CONFIG_NET_UDP - UDP support on or off
|
||||||
@@ -234,6 +235,7 @@ CONFIG_NET_IPv6=n
|
|||||||
CONFIG_NSOCKET_DESCRIPTORS=0
|
CONFIG_NSOCKET_DESCRIPTORS=0
|
||||||
CONFIG_NET_MAX_CONNECTIONS=40
|
CONFIG_NET_MAX_CONNECTIONS=40
|
||||||
CONFIG_NET_MAX_LISTENPORTS=40
|
CONFIG_NET_MAX_LISTENPORTS=40
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
CONFIG_NET_BUFFER_SIZE=420
|
CONFIG_NET_BUFFER_SIZE=420
|
||||||
CONFIG_NET_LOGGING=y
|
CONFIG_NET_LOGGING=y
|
||||||
CONFIG_NET_UDP=n
|
CONFIG_NET_UDP=n
|
||||||
|
|||||||
Reference in New Issue
Block a user