summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shellconfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-20 22:51:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-20 22:51:14 +0000
commit6cf00455c4f553fde18bdfd09203263199cbf37c (patch)
treee81995e569199c08744dfb7f6234a0b83a2d260b /cpukit/libmisc/shell/shellconfig.h
parent2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com> (diff)
downloadrtems-6cf00455c4f553fde18bdfd09203263199cbf37c.tar.bz2
2008-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats command to access statistics reporting functions in TCP/IP stack. * libmisc/shell/main_netstats.c: New file.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r--cpukit/libmisc/shell/shellconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h
index 3865c398f5..33d60f7e28 100644
--- a/cpukit/libmisc/shell/shellconfig.h
+++ b/cpukit/libmisc/shell/shellconfig.h
@@ -59,6 +59,7 @@ extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
#if defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING)
extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
+ extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
#endif
#endif
@@ -325,6 +326,12 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
defined(CONFIGURE_SHELL_COMMAND_ROUTE)
&rtems_shell_ROUTE_Command,
#endif
+
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
+ !defined(CONFIGURE_SHELL_COMMAND_NETSTATS)) || \
+ defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
+ &rtems_shell_NETSTATS_Command,
+ #endif
#endif
/*