summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-06-16 13:18:38 +1000
committerChris Johns <chrisj@rtems.org>2015-06-16 13:18:38 +1000
commit5e02888822cb1759bd326f6bdb9d960c2e6ea6ba (patch)
tree0fedffb5f2b9a0064b6bcf4ca3aec5020f3175eb
parentAdd the TCPDUMP command. (diff)
downloadrtems-libbsd-5e02888822cb1759bd326f6bdb9d960c2e6ea6ba.tar.bz2
Add the TCPDUMP command.
-rw-r--r--rtemsbsd/rtems/rtems-bsd-shell-netcmds.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
index b34cab95..e6eea024 100644
--- a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
+++ b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
@@ -45,3 +45,12 @@ rtems_shell_cmd_t rtems_shell_ROUTE_Command = {
NULL, /* alias */
NULL /* next */
};
+
+rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = {
+ "tcpdump", /* name */
+ "tcpdump [args]", /* usage */
+ "net", /* topic */
+ rtems_bsd_command_tcpdump, /* command */
+ NULL, /* alias */
+ NULL /* next */
+};