summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 14:15:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 14:15:59 +0000
commit6303b09ef4ae94d342be569cc5d58ee0770d638a (patch)
tree0a06ecbba1c26a7f5d616cf3a782a4e502b71892 /apps/nshlib/nsh.h
parent915c0105267a9685d3fa1bc915dc08bbb5883d55 (diff)
downloadnuttx-6303b09ef4ae94d342be569cc5d58ee0770d638a.tar.gz
nuttx-6303b09ef4ae94d342be569cc5d58ee0770d638a.tar.bz2
nuttx-6303b09ef4ae94d342be569cc5d58ee0770d638a.zip
Ping/DNS fixes (part 2 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index cfab26271..f85df29dd 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -215,6 +215,15 @@
#endif /* CONFIG_NSH_TELNET_LOGIN */
+/* CONFIG_NSH_MAX_ROUNDTRIP - This is the maximum round trip for a response to
+ * a ICMP ECHO request. It is in units of deciseconds. The default is 20
+ * (2 seconds).
+ */
+
+#ifndef CONFIG_NSH_MAX_ROUNDTRIP
+# define CONFIG_NSH_MAX_ROUNDTRIP 20
+#endif
+
/* Verify support for ROMFS /etc directory support options */
#ifdef CONFIG_NSH_ROMFSETC