diff options
author | Chris Johns <chrisj@rtems.org> | 2015-06-16 13:18:38 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-06-16 13:18:38 +1000 |
commit | 5e02888822cb1759bd326f6bdb9d960c2e6ea6ba (patch) | |
tree | 0fedffb5f2b9a0064b6bcf4ca3aec5020f3175eb | |
parent | Add the TCPDUMP command. (diff) | |
download | rtems-libbsd-5e02888822cb1759bd326f6bdb9d960c2e6ea6ba.tar.bz2 |
Add the TCPDUMP command.
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-shell-netcmds.c | 9 |
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 */ +}; |