mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 19:39:31 +08:00

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.
72 lines
1.7 KiB
C
72 lines
1.7 KiB
C
/**
|
|
* @file rtems/netcmds-config.h
|
|
*
|
|
* RTEMS Shell Network Command Set Configuration
|
|
*/
|
|
|
|
/*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef _RTEMS_NETCMDS_CONFIG_h
|
|
#define _RTEMS_NETCMDS_CONFIG_h
|
|
|
|
#include <rtems/shell.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_ARP_Command;
|
|
|
|
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;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_NETSTAT_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_DHCPCD_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_HOSTNAME_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_TCPDUMP_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_WPA_SUPPLICANT_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_WPA_SUPPLICANT_FORK_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_SYSCTL_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_VMSTAT_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_WLANSTATS_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_STTY_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_RACOON_Command;
|
|
extern rtems_shell_cmd_t rtems_shell_SETKEY_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_OPENSSL_Command;
|
|
|
|
extern rtems_shell_cmd_t rtems_shell_NVMECONTROL_Command;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif
|