summaryrefslogtreecommitdiffstats
path: root/netdemo
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-30 21:46:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-30 21:46:06 +0000
commit481950efd8ce1a8b2cd2fa37b6c3e8dc6fd04d7a (patch)
treeff12180206e89e748bbf52d9447e2c5771e8f08e /netdemo
parentThis commit was generated by cvs2svn to compensate for changes in r2, which (diff)
downloadnetwork-demos-481950efd8ce1a8b2cd2fa37b6c3e8dc6fd04d7a.tar.bz2
Added notes from Eric to README.
Added CVS $Id$ to all files.
Diffstat (limited to 'netdemo')
-rw-r--r--netdemo/Makefile4
-rw-r--r--netdemo/README16
-rw-r--r--netdemo/init.c2
-rw-r--r--netdemo/test.c3
4 files changed, 25 insertions, 0 deletions
diff --git a/netdemo/Makefile b/netdemo/Makefile
index 4894a7c..fa6acbb 100644
--- a/netdemo/Makefile
+++ b/netdemo/Makefile
@@ -1,3 +1,7 @@
+#
+# $Id$
+#
+
SAMPLE=netdemo
PGM=${ARCH}/$(SAMPLE).exe
diff --git a/netdemo/README b/netdemo/README
index 5f9a303..e277036 100644
--- a/netdemo/README
+++ b/netdemo/README
@@ -1,3 +1,7 @@
+#
+# $Id$
+#
+
A simple application to test some of the KA9Q networking code.
**************************
@@ -25,3 +29,15 @@ ADMINISTRATOR TO THE POINT WHERE VICIOUS ATTACKS WILL BE MADE UPON YOU.
the target console.
You can run more than one telnet session at once.
You can use port number 24743 as well.
+
+Debugging Hints
+===============
+If you also define
+TRACE_NETWORK_DRIVER you'll get a *lot* of printout describing each packet as
+it passes through the stack.
+
+For debugging, I'd suggest breakpoints in the socket receive and transmit
+tasks to trace where you're running. Also, if you have a LANalyzer or
+workstation with `snoop' capability set it up to show all packets to/from the
+hardware (Ethernet) address of your target machine.
+
diff --git a/netdemo/init.c b/netdemo/init.c
index 27b5889..1a25dab 100644
--- a/netdemo/init.c
+++ b/netdemo/init.c
@@ -11,6 +11,8 @@
* University of Saskatchewan
* Saskatoon, Saskatchewan, CANADA
* eric@skatter.usask.ca
+ *
+ * $Id$
*/
/*#define TRACE_NETWORK_DRIVER 1 */
diff --git a/netdemo/test.c b/netdemo/test.c
index de0ee80..1e9c011 100644
--- a/netdemo/test.c
+++ b/netdemo/test.c
@@ -11,7 +11,10 @@
* University of Saskatchewan
* Saskatoon, Saskatchewan, CANADA
* eric@skatter.usask.ca
+ *
+ * $Id$
*/
+
#include <stdio.h>
#include <unistd.h>
#include <rtems.h>