Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. menu "Socket Support"
  6. config NSOCKET_DESCRIPTORS
  7. int "Number of socket descriptor"
  8. default 8
  9. ---help---
  10. Maximum number of socket descriptors per task/thread.
  11. config NET_NACTIVESOCKETS
  12. int "Max socket operations"
  13. default 16
  14. ---help---
  15. Maximum number of concurrent socket operations (recv, send,
  16. connection monitoring, etc.). Default: 16
  17. config NET_SOCKOPTS
  18. bool "Socket options"
  19. default n
  20. ---help---
  21. Enable or disable support for socket options
  22. config NET_TCPPROTO_OPTIONS
  23. bool
  24. default n
  25. ---help---
  26. Enable or disable support for TCP protocol level socket options.
  27. config NET_UDPPROTO_OPTIONS
  28. bool
  29. default n
  30. ---help---
  31. Enable or disable support for UDP protocol level socket options.
  32. if NET_SOCKOPTS
  33. config NET_SOLINGER
  34. bool "SO_LINGER socket option"
  35. default n
  36. ---help---
  37. Enable or disable support for the SO_LINGER socket option.
  38. endif # NET_SOCKOPTS
  39. endmenu # Socket Support