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.
|
|
|
|
|
|
|
|
if NET_ICMP
|
|
|
|
|
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
|
|
|
|
---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
|
|
|
|
depends on MM_IOB
|
|
|
|
|
|
|
|
endif # NET_ICMP_SOCKET
|
2014-05-31 04:44:07 +08:00
|
|
|
endif # NET_ICMP
|
2014-06-26 01:01:08 +08:00
|
|
|
endmenu # ICMP Networking Support
|
2015-01-15 04:26:50 +08:00
|
|
|
endif # NET_IPv4
|