summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/netcmds-config.h
diff options
context:
space:
mode:
authorStephen Clark <stephen.clark@oarcorp.com>2021-06-02 09:59:51 -0500
committerJoel Sherrill <joel@rtems.org>2021-06-29 16:03:42 -0500
commit6cc63cbe657c3ee664727cce1a54acc7e7b5fe9d (patch)
treea0f24ace243966b1ba134a4e3cef60f2d9002db4 /rtemsbsd/include/rtems/netcmds-config.h
parentrtemsbsd:Updated TTCP code with network demo code (diff)
downloadrtems-libbsd-6cc63cbe657c3ee664727cce1a54acc7e7b5fe9d.tar.bz2
rtemsbsd: Made TTCP command build for RTEMS
Updated ttcp.c to build clean for RTEMS 6 and the machines it originally built for. Also fixed ttcp.c to close network sockets after completion. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration of the TTCP shell command to rtems-bsd-commands.h. Modified libbsd.py to make waf build TTCP and its shell command.
Diffstat (limited to 'rtemsbsd/include/rtems/netcmds-config.h')
-rw-r--r--rtemsbsd/include/rtems/netcmds-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/netcmds-config.h b/rtemsbsd/include/rtems/netcmds-config.h
index bc493af4..c1d56eb3 100644
--- a/rtemsbsd/include/rtems/netcmds-config.h
+++ b/rtemsbsd/include/rtems/netcmds-config.h
@@ -29,6 +29,8 @@ extern rtems_shell_cmd_t rtems_shell_PFCTL_Command;
extern rtems_shell_cmd_t rtems_shell_PING_Command;
extern rtems_shell_cmd_t rtems_shell_PING6_Command;
+extern rtems_shell_cmd_t rtems_shell_TTCP_Command;
+
extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
extern rtems_shell_cmd_t rtems_shell_IFMCSTAT_Command;