[rtems-libbsd commit] netcmds-config.h: New file. Use it in test

Joel Sherrill joel at rtems.org
Fri Sep 7 17:46:52 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Sep  7 12:49:22 2012 -0500

netcmds-config.h: New file. Use it in test

---

 .../rtems/include/rtems/netcmds-config.h           |   33 ++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/freebsd-userspace/rtems/include/rtems/netcmds-config.h b/freebsd-userspace/rtems/include/rtems/netcmds-config.h
new file mode 100644
index 0000000..932465f
--- /dev/null
+++ b/freebsd-userspace/rtems/include/rtems/netcmds-config.h
@@ -0,0 +1,33 @@
+/**
+ * @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>
+
+/*
+ *  Externs for all command definition structures
+ */
+// #if RTEMS_NETWORKING
+  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_IFCONFIG_Command;
+  // extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
+  // extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
+// #endif
+
+#endif




More information about the vc mailing list