[rtems-libbsd commit] Add the TCPDUMP command.

Chris Johns chrisj at rtems.org
Tue Jun 16 03:21:14 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    5e02888822cb1759bd326f6bdb9d960c2e6ea6ba
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5e02888822cb1759bd326f6bdb9d960c2e6ea6ba

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Jun 16 13:18:38 2015 +1000

Add the TCPDUMP command.

---

 rtemsbsd/rtems/rtems-bsd-shell-netcmds.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c b/rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
index b34cab9..e6eea02 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 */
+};




More information about the vc mailing list