summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-23 12:49:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-23 12:49:49 -0600
commita750be83fc6d44839905b0f92d0e66295c96119b (patch)
treed9c0992c52e5484dd9a82b201a38509622863473 /apps/nshlib/nsh.h
parentbd98b09f49bd0516ebbd705495e8e0a03bc64b25 (diff)
downloadnuttx-a750be83fc6d44839905b0f92d0e66295c96119b.tar.gz
nuttx-a750be83fc6d44839905b0f92d0e66295c96119b.tar.bz2
nuttx-a750be83fc6d44839905b0f92d0e66295c96119b.zip
apps/nshlib: Add the ping6 command to support checking IPv6 networks. NSH logic is complete but still missing some network level support
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index 89c8763b2..1bd41f319 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -963,6 +963,12 @@ void nsh_usbtrace(void);
int cmd_ping(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif
# endif
+# if defined(CONFIG_NET_ICMPv6) && defined(CONFIG_NET_ICMPv6_PING) && \
+ !defined(CONFIG_DISABLE_SIGNALS)
+# ifndef CONFIG_NSH_DISABLE_PING6
+ int cmd_ping6(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
+# endif
+# endif
# if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
# ifndef CONFIG_NSH_DISABLE_PUT
int cmd_put(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);