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