diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-28 13:23:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-28 13:23:16 +0200 |
commit | d9fe0617ee0ababd9b7b2d6edf34cb1b6d9a6012 (patch) | |
tree | cb3d9ebf28ccf355c11939e05d2f894f9f27d902 /rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c | |
parent | if_ffec_mcf548x.c: Fix include order (diff) | |
download | rtems-libbsd-d9fe0617ee0ababd9b7b2d6edf34cb1b6d9a6012.tar.bz2 |
Split rtems-bsd-shell-netcmds.c
This improves garbage collection by the linker.
Diffstat (limited to 'rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c')
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c b/rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c new file mode 100644 index 00000000..c501ee51 --- /dev/null +++ b/rtemsbsd/rtems/rtems-bsd-shell-tcpdump.c @@ -0,0 +1,20 @@ +/* + * COPYRIGHT (c) 1989-2012. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include <rtems/netcmds-config.h> +#include <machine/rtems-bsd-commands.h> + +rtems_shell_cmd_t rtems_shell_TCPDUMP_Command = { + "tcpdump", /* name */ + "tcpdump [args]", /* usage */ + "net", /* topic */ + rtems_bsd_command_tcpdump, /* command */ + NULL, /* alias */ + NULL /* next */ +}; |