<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for network-demos (2011-03-04)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
 <font color='#225522'><em>(on branch network-demos-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * networkconfig-qemu.h: VirtualBox uses 10.0.x.x for its eth0 so we
        need to switch to 10.1.x.x for things to work.
        * networkconfig-loopback.h: New file.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/ChangeLog.diff?r1=text&tr1=1.34.2.1&r2=text&tr2=1.34.2.2&diff_format=h">M</a></td><td width='1%'>1.34.2.2</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-loopback.h.diff?r1=text&tr1=1.1.2.1&r2=text&tr2=1.1.2.2&diff_format=h">M</a></td><td width='1%'>1.1.2.2</td><td width='100%'>networkconfig-loopback.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//network-demos/networkconfig-qemu.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.6.2.1&diff_format=h">M</a></td><td width='1%'>1.6.2.1</td><td width='100%'>networkconfig-qemu.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u network-demos/ChangeLog:1.34.2.1 network-demos/ChangeLog:1.34.2.2
--- network-demos/ChangeLog:1.34.2.1    Tue Feb  8 10:48:35 2011
+++ network-demos/ChangeLog     Fri Mar  4 08:48:14 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-03-04    Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+       * networkconfig-qemu.h: VirtualBox uses 10.0.x.x for its eth0 so we
+       need to switch to 10.1.x.x for things to work.
+       * networkconfig-loopback.h: New file.
+
</font> 2011-02-08        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        * VERSION: Updated to network-demos-4.10.0.

<font color='#006600'>diff -u /dev/null network-demos/networkconfig-loopback.h:1.1.2.2
--- /dev/null   Fri Mar  4 09:10:04 2011
+++ network-demos/networkconfig-loopback.h      Fri Mar  4 08:48:14 2011
</font><font color='#997700'>@@ -0,0 +1,89 @@
</font><font color='#000088'>+/*
+ * Network configuration -- LOOPBACK ONLY!!!
+ *
+ * See one of the other networkconfig.h files for an
+ * example of a system that includes a real NIC and
+ * the loopback interface.
+ *<span style="background-color: #FF0000"> </span>
+ ************************************************************
+ * EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION     *
+ * BEFORE RUNNING ANY RTEMS PROGRAMS WHICH USE THE NETWORK! *<span style="background-color: #FF0000"> </span>
+ ************************************************************
+ *
+ *  $Id$
+ */
+
+#ifndef _RTEMS_NETWORKCONFIG_H_
+#define _RTEMS_NETWORKCONFIG_H_
+
+
+/* #define RTEMS_USE_BOOTP */
+
+#include <bsp.h>
+
+/*
+ * Loopback interface
+ */
+extern int rtems_bsdnet_loopattach();
+
+/*
+ * Default network interface
+ */
+static struct rtems_bsdnet_ifconfig netdriver_config = {
+  "lo0",                    /* name */
+  rtems_bsdnet_loopattach,  /* attach function */
+  NULL,                     /* No more interfaces */
+  "127.0.0.1",              /* IP address */
+  "255.0.0.0",              /* IP net mask */
+  NULL,                     /* Driver supplies hardware address */
+  0,                        /* Use default driver parameters */
+  0,                        /* default efficiency multiplier */
+  0,                        /* default udp TX socket buffer size */
+  0,                        /* default udp RX socket buffer size */
+  0,                        /* default tcp TX socket buffer size */
+  0,                        /* default tcp RX socket buffer size */
+};
+
+/*
+ * Network configuration
+ */
+struct rtems_bsdnet_config rtems_bsdnet_config = {
+  &netdriver_config,
+  NULL,                /* do not use bootp */
+  0,                   /* Default network task priority */
+  0,                   /* Default mbuf capacity */
+  0,                   /* Default mbuf cluster capacity */
+  "rtems",             /* Host name */
+  "nodomain.com",      /* Domain name */
+  "127.0.0.1",         /* Gateway */
+  "127.0.0.1",         /* Log host */
+  {"127.0.0.1" },      /* Name server(s) */
+  {"127.0.0.1" },      /* NTP server(s) */
+  0,                   /* sb_efficiency */
+  0,                   /* udp_tx_buf_size */
+  0,                   /* udp_rx_buf_size */
+  0,                   /* tcp_tx_buf_size */
+  0                    /* tcp_rx_buf_size */
+
+};
+
+/*
+ * For TFTP test application
+ */
+#if (defined (RTEMS_USE_BOOTP))
+#define RTEMS_TFTP_TEST_HOST_NAME "BOOTP_HOST"
+#define RTEMS_TFTP_TEST_FILE_NAME "BOOTP_FILE"
+#else
+#define RTEMS_TFTP_TEST_HOST_NAME "XXX.YYY.ZZZ.XYZ"
+#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
+#endif
+
+/*
+ * For NFS test application
+ *<span style="background-color: #FF0000"> </span>
+ * NFS server/path to mount and a directory to ls once mounted
+ */
+#define RTEMS_NFS_SERVER      "192.168.1.210"
+#define RTEMS_NFS_SERVER_PATH "/home"
+#define RTEMS_NFS_LS_PATH     "/mnt/nfstest"
+#endif /* _RTEMS_NETWORKCONFIG_H_ */
</font>
<font color='#006600'>diff -u network-demos/networkconfig-qemu.h:1.6 network-demos/networkconfig-qemu.h:1.6.2.1
--- network-demos/networkconfig-qemu.h:1.6      Wed May 13 13:56:10 2009
+++ network-demos/networkconfig-qemu.h  Fri Mar  4 08:48:14 2011
</font><font color='#997700'>@@ -115,7 +115,7 @@
</font> #endif
 
 #if defined(ON_QEMU)
<font color='#880000'>-#define FIXED_IP_ADDR "10.0.2.5"
</font><font color='#000088'>+#define FIXED_IP_ADDR "10.1.2.5"
</font> #endif
 
 #if defined(ON_RTEMS_LAB_WINSYSTEMS)
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>