Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. if NET_IPv4
  6. menu "ICMP Networking Support"
  7. config NET_ICMP
  8. bool "Enable ICMP networking"
  9. default n
  10. ---help---
  11. Enable minimal ICMP support. Includes built-in support
  12. for sending replies to received ECHO (ping) requests.
  13. config NET_ICMP_NO_STACK
  14. bool "Disable ICMP stack"
  15. default n
  16. select NET_ICMP
  17. ---help---
  18. Build without ICMP stack even if ICMP networking support enabled.
  19. if NET_ICMP && !NET_ICMP_NO_STACK
  20. config NET_ICMP_SOCKET
  21. bool "IPPROTO_ICMP socket support"
  22. default n
  23. select MM_IOB
  24. ---help---
  25. Enable support for IPPROTO_ICMP sockets. These sockets are needed
  26. for application level support for sending ECHO (ping) requests and
  27. receiving associated ECHO replies.
  28. if NET_ICMP_SOCKET
  29. config NET_ICMP_NCONNS
  30. int "Max ICMP packet sockets"
  31. default 4
  32. config NET_ICMP_NPOLLWAITERS
  33. int "Number of ICMP poll waiters"
  34. default 1
  35. endif # NET_ICMP_SOCKET
  36. endif # NET_ICMP && !NET_ICMP_NO_STACK
  37. endmenu # ICMP Networking Support
  38. endif # NET_IPv4