2014-05-30 22:44:07 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-05-30 22:44:07 +02:00
|
|
|
#
|
|
|
|
|
2015-01-14 21:26:50 +01:00
|
|
|
if NET_IPv4
|
2014-06-25 19:01:08 +02:00
|
|
|
menu "ICMP Networking Support"
|
|
|
|
|
2014-05-30 22:44:07 +02:00
|
|
|
config NET_ICMP
|
2014-06-25 19:01:08 +02:00
|
|
|
bool "Enable ICMP networking"
|
2014-05-30 22:44:07 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable minimal ICMP support. Includes built-in support
|
|
|
|
for sending replies to received ECHO (ping) requests.
|
|
|
|
|
2018-11-09 18:25:57 +01:00
|
|
|
config NET_ICMP_NO_STACK
|
|
|
|
bool "Disable ICMP stack"
|
|
|
|
default n
|
|
|
|
select NET_ICMP
|
|
|
|
---help---
|
|
|
|
Build without ICMP stack even if ICMP networking support enabled.
|
|
|
|
|
|
|
|
if NET_ICMP && !NET_ICMP_NO_STACK
|
2014-05-30 22:44:07 +02:00
|
|
|
|
2017-10-23 16:45:12 +02:00
|
|
|
config NET_ICMP_SOCKET
|
|
|
|
bool "IPPROTO_ICMP socket support"
|
2014-05-30 22:44:07 +02:00
|
|
|
default n
|
2019-12-31 16:26:14 +01:00
|
|
|
select MM_IOB
|
2014-05-30 22:44:07 +02:00
|
|
|
---help---
|
2017-10-23 16:45:12 +02:00
|
|
|
Enable support for IPPROTO_ICMP sockets. These sockets are needed
|
2017-10-24 19:23:08 +02:00
|
|
|
for application level support for sending ECHO (ping) requests and
|
|
|
|
receiving associated ECHO replies.
|
2014-05-30 22:44:07 +02:00
|
|
|
|
2017-10-23 16:45:12 +02:00
|
|
|
if NET_ICMP_SOCKET
|
2014-05-30 22:44:07 +02:00
|
|
|
|
2017-10-23 16:45:12 +02:00
|
|
|
config NET_ICMP_NCONNS
|
|
|
|
int "Max ICMP packet sockets"
|
|
|
|
default 4
|
2019-12-31 16:26:14 +01:00
|
|
|
|
|
|
|
config NET_ICMP_NPOLLWAITERS
|
|
|
|
int "Number of ICMP poll waiters"
|
|
|
|
default 1
|
2017-10-23 16:45:12 +02:00
|
|
|
|
|
|
|
endif # NET_ICMP_SOCKET
|
2018-11-09 18:25:57 +01:00
|
|
|
endif # NET_ICMP && !NET_ICMP_NO_STACK
|
2014-06-25 19:01:08 +02:00
|
|
|
endmenu # ICMP Networking Support
|
2015-01-14 21:26:50 +01:00
|
|
|
endif # NET_IPv4
|