Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 descriptors"
  8. default 8
  9. range 1 99999
  10. ---help---
  11. Maximum number of socket descriptors per task/thread.
  12. config NET_NACTIVESOCKETS
  13. int "Max socket operations"
  14. default 16
  15. ---help---
  16. Maximum number of concurrent socket operations (recv, send,
  17. connection monitoring, etc.). Default: 16
  18. config NET_SOCKOPTS
  19. bool "Socket options"
  20. default n
  21. ---help---
  22. Enable or disable support for socket options
  23. config NET_TCPPROTO_OPTIONS
  24. bool
  25. default n
  26. ---help---
  27. Enable or disable support for TCP protocol level socket options.
  28. config NET_UDPPROTO_OPTIONS
  29. bool
  30. default n
  31. ---help---
  32. Enable or disable support for UDP protocol level socket options.
  33. config NET_CANPROTO_OPTIONS
  34. bool
  35. default n
  36. ---help---
  37. Enable or disable support for CAN protocol level socket option
  38. if NET_SOCKOPTS
  39. config NET_SOLINGER
  40. bool "SO_LINGER socket option"
  41. default n
  42. depends on NET_TCP_WRITE_BUFFERS || NET_UDP_WRITE_BUFFERS
  43. select TCP_NOTIFIER if NET_TCP
  44. select UDP_NOTIFIER if NET_UDP
  45. ---help---
  46. Enable or disable support for the SO_LINGER socket option. Requires
  47. write buffer support.
  48. config NET_TIMESTAMP
  49. bool "SO_TIMESTAMP socket option"
  50. default n
  51. depends on NET_CAN
  52. select NET_CMSG
  53. ---help---
  54. Enable or disable support for the SO_TIMESTAMP socket option. Currently only tested & implemented in SocketCAN but should work on all sockets
  55. endif # NET_SOCKOPTS
  56. config NET_CMSG
  57. bool "Control messages (CMSG) support"
  58. default n
  59. ---help---
  60. Enable or disable support for control messages in the recvmsg() and
  61. sendmsg() function. Control messages (also defined in POSIX 1003.1g
  62. as ancillary data object information). Includes additional
  63. information on the packet received or to be transmitted.
  64. endmenu # Socket Support