change log for network-demos (2011-03-03)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 3 17:10:06 UTC 2011


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>

	* mongoose_ext.c, mongoose_index.html: Clean up.

M   1.34  http/ChangeLog
M    1.2  http/mongoose_ext.c
M    1.2  http/mongoose_index.html

diff -u network-demos/http/ChangeLog:1.33 network-demos/http/ChangeLog:1.34
--- network-demos/http/ChangeLog:1.33	Thu Jun 17 21:00:02 2010
+++ network-demos/http/ChangeLog	Thu Mar  3 10:54:26 2011
@@ -1,3 +1,7 @@
+2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* mongoose_ext.c, mongoose_index.html: Clean up.
+
 2010-06-17	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* init.c: Remove include of rtems_webserver.h

diff -u network-demos/http/mongoose_ext.c:1.1 network-demos/http/mongoose_ext.c:1.2
--- network-demos/http/mongoose_ext.c:1.1	Mon Nov 23 08:31:53 2009
+++ network-demos/http/mongoose_ext.c	Thu Mar  3 10:54:26 2011
@@ -1,4 +1,4 @@
-/*  SHTTPD Extensions
+/*  Mongoose HTTPD Extensions
  *
  *  $Id$
  */

diff -u network-demos/http/mongoose_index.html:1.1 network-demos/http/mongoose_index.html:1.2
--- network-demos/http/mongoose_index.html:1.1	Mon Nov 23 08:31:53 2009
+++ network-demos/http/mongoose_index.html	Thu Mar  3 10:54:26 2011
@@ -5,7 +5,7 @@
 <H1>RTEMS Mongoose Test Page</H1>
 </center>
 <A HREF="http://www.rtems.org">
-  <IMG align=center BORDER=0 SRC="rtems_logo.jpg" ALT="RTEMS"> </A>
+  <IMG align=center BORDER=0 SRC="/rtems_logo.jpg" ALT="RTEMS"> </A>
 
 <P><big>Congratulations, you have successfully loaded your first page
 from the Mongoose webserver running on RTEMS.</big></P>


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>

	* test.c: Add TCP and UDP Sink Data Host.

M   1.12  netdemo/ChangeLog
M    1.8  netdemo/test.c

diff -u network-demos/netdemo/ChangeLog:1.11 network-demos/netdemo/ChangeLog:1.12
--- network-demos/netdemo/ChangeLog:1.11	Wed May 13 13:54:51 2009
+++ network-demos/netdemo/ChangeLog	Thu Mar  3 10:55:12 2011
@@ -1,3 +1,7 @@
+2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* test.c: Add TCP and UDP Sink Data Host.
+
 2009-05-13	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* Makefile: Allow overrides from invoking environment.

diff -u network-demos/netdemo/test.c:1.7 network-demos/netdemo/test.c:1.8
--- network-demos/netdemo/test.c:1.7	Thu Jun 21 13:26:18 2007
+++ network-demos/netdemo/test.c	Thu Mar  3 10:55:12 2011
@@ -29,7 +29,8 @@
 #define NSERVER		2
 #define BASE_PORT	24742
 
-#define DATA_SINK_HOST	((128 << 24) | (233 << 16) | (14 << 8) | 60)
+#define UDP_DATA_SINK_HOST	((10 << 24) | (0 << 16) | (2 << 8) | 255)
+#define TCP_DATA_SINK_HOST	((10 << 24) | (0 << 16) | (2 << 8) | 2)
 
 void showbroad(int s)
 {
@@ -88,12 +89,13 @@
 	if (setsockopt (s, SOL_SOCKET, SO_BROADCAST, &opt, sizeof opt) < 0)
 		rtems_panic ("Can't set socket broadcast: %s", strerror (errno));
 showbroad (s);
+	farAddr.sin_addr.s_addr = htonl (UDP_DATA_SINK_HOST);
 	for (i = 0 ; i < 5 ; i++) {
 		if (sendto (s, cbuf, sizeof cbuf, 0, (struct sockaddr *)&farAddr, sizeof farAddr) < 0)
 			rtems_panic ("Can't broadcast: %s", strerror (errno));
 	}
 #endif
-	farAddr.sin_addr.s_addr = htonl (DATA_SINK_HOST);
+	farAddr.sin_addr.s_addr = htonl (UDP_DATA_SINK_HOST);
 #if 1
 	for (i = 0 ; i < 500 ; i++) {
 		if (sendto (s, cbuf, sizeof cbuf, 0, (struct sockaddr *)&farAddr, sizeof farAddr) < 0)
@@ -137,7 +139,7 @@
 		rtems_panic ("Can't bind socket: %s", strerror (errno));
 	farAddr.sin_family = AF_INET;
 	farAddr.sin_port = htons (9);	/* The `discard' port */
-	farAddr.sin_addr.s_addr = htonl (DATA_SINK_HOST);
+	farAddr.sin_addr.s_addr = htonl (TCP_DATA_SINK_HOST);
 	printf ("Connect socket.\n");
 	if (connect (s, (struct sockaddr *)&farAddr, sizeof farAddr) < 0) {
 		printf ("Can't connect socket: %s\n", strerror (errno));


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>

	* networkconfig-qemu.h: Add missing endif.

M   1.36  ChangeLog
M    1.8  networkconfig-qemu.h

diff -u network-demos/ChangeLog:1.35 network-demos/ChangeLog:1.36
--- network-demos/ChangeLog:1.35	Wed Dec  8 04:46:45 2010
+++ network-demos/ChangeLog	Thu Mar  3 10:55:27 2011
@@ -1,3 +1,7 @@
+2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* networkconfig-qemu.h: Add missing endif.
+
 2010-12-08     Sebastian Huber <Sebastian.Huber at embedded-brains.de>
 
 	* networkconfig.h, networkconfig-qemu.h, networkconfig-icecube.h,

diff -u network-demos/networkconfig-qemu.h:1.7 network-demos/networkconfig-qemu.h:1.8
--- network-demos/networkconfig-qemu.h:1.7	Wed Dec  8 04:46:46 2010
+++ network-demos/networkconfig-qemu.h	Thu Mar  3 10:55:27 2011
@@ -12,7 +12,7 @@
  *      eric.norum at usask.ca
  *      (306) 966-5394
  *
- *  networkconfig.h,v 1.8 2001/08/31 18:11:43 joel Exp
+ *  $Id$
  */
 
 #ifndef _RTEMS_NETWORKCONFIG_H_
@@ -224,6 +224,7 @@
 #endif
 
 #endif /* ifdef MULTI_NETDRIVER */
+#endif
 
 #ifdef NIC_NAME
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110303/4413bac2/attachment.html>


More information about the vc mailing list