mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 07:28:13 +08:00
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.
This commit is contained in:

committed by
Joel Sherrill

parent
7960ab7a43
commit
6cc63cbe65
@@ -84,6 +84,8 @@ int rtems_bsd_command_setkey(int argc, char **argv);
|
||||
|
||||
int rtems_bsd_command_openssl(int argc, char **argv);
|
||||
|
||||
int rtems_shell_main_ttcp(int argc, char **argv);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_COMMANDS_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;
|
||||
|
Reference in New Issue
Block a user