cccc86da09
Squashed commit of the following: net/icmp: Finishes off icmp_recvfrom(). net/icmp: Add readahead support for IPPROTO_ICMP sockets. net/icmp: Add poll() support for IPPROTO_ICMP sockets. net/icmp: Add a connection structure for IPPROTO_ICMP sockets. net/icmp: Implements sendto for the IPPROTO_ICMP socket. net/icmp: Move icmp_sendto() and icmp_recvfrom() to separate files. They are likely to be complex (when they are implemented). net/icmp: Hook IPPROTO_ICMP sockets into network. Fix some naming collisions. Still missing basic ICMP send/receive logic. configs: apps/system/ping current need poll() enabled. configs: All defconfig files that use to enable low-level support must now enabled CONFIG_SYSTEM_PING. net/icmp: Adds basic build framework to support IPPROTO_ICMP sockets.
37 lines
832 B
Plaintext
37 lines
832 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if NET_IPv4
|
|
menu "ICMP Networking Support"
|
|
|
|
config NET_ICMP
|
|
bool "Enable ICMP networking"
|
|
default n
|
|
---help---
|
|
Enable minimal ICMP support. Includes built-in support
|
|
for sending replies to received ECHO (ping) requests.
|
|
|
|
if NET_ICMP
|
|
|
|
config NET_ICMP_SOCKET
|
|
bool "IPPROTO_ICMP socket support"
|
|
default n
|
|
---help---
|
|
Enable support for IPPROTO_ICMP sockets. These sockets are needed
|
|
for application level support application for sending ECHO (ping)
|
|
requests and associated ECHO replies.
|
|
|
|
if NET_ICMP_SOCKET
|
|
|
|
config NET_ICMP_NCONNS
|
|
int "Max ICMP packet sockets"
|
|
default 4
|
|
depends on MM_IOB
|
|
|
|
endif # NET_ICMP_SOCKET
|
|
endif # NET_ICMP
|
|
endmenu # ICMP Networking Support
|
|
endif # NET_IPv4
|