diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-09 21:46:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-09 21:46:57 +0000 |
commit | 6e3f1e6b57290fb0b1df60398215bec9c2041b3e (patch) | |
tree | 92d73a86cd7183f4a28c13a57cdf46da8df35fa5 | |
parent | 1d98d171f9fb289d9a52113ea129d005169a0dcd (diff) |
Updates to reflect that they are multiple tests using networkconfig.h.
-rw-r--r-- | README | 35 | ||||
-rw-r--r-- | netdemo/README | 33 | ||||
-rw-r--r-- | netlink/init.c | 8 |
3 files changed, 53 insertions, 23 deletions
@@ -0,0 +1,35 @@ +# +# $Id$ +# + +This directory contains a set of network tests and demonstrations +programs. + + netdemo - simplest test, echos data on sockets + dnstest - test of DNS client + http - test of GoAhead web server + netlink - link only test to evaluate code space requirement + of network stack, ftpd, and httpd + ntp - test of network time protocol client + rpc_demo - test of RPC library + select - test of select() routine functionality + tftpTest - test of TFTP (Trivial FTP) client filesystem + ttcp - TTCP throughput test + +The file networkconfig.h MUST be configured to reflect your local +network according to the included Configuration Notes. + +CONFIGURATION NOTES +=================== + +1. Make sure you change the definition of MY_ETHERNET_ADDRESS in + networkconfig.h before you try to use any of the network + demonstration program. + +2. If you do not use BOOTP (i.e. the `#define USE_BOOTP 1' in init.c is + removed), make sure you change the definition of MY_INTERNET_ADDRESS + before you try to use the program. + +FAILURE TO FOLLOW THE ABOVE INSTRUCTIONS MAY PROVOKE YOUR NETWORK +ADMINISTRATOR TO THE POINT WHERE VICIOUS ATTACKS WILL BE MADE UPON YOU. + diff --git a/netdemo/README b/netdemo/README index 17a06d6..80bd7aa 100644 --- a/netdemo/README +++ b/netdemo/README @@ -8,25 +8,20 @@ A simple application to test some of the RTEMS/FreeBSD networking code. * NOTES * ************************** -1. Make sure you change the definition of MY_ETHERNET_ADDRESS in - networkconfig.h before you try to use this program. +BE SURE TO LOCALIZE networkconfig.h. FAILURE TO DO SO MAY PROVOKE YOUR +NETWORK ADMINISTRATOR TO THE POINT WHERE VICIOUS ATTACKS WILL BE MADE +UPON YOU. -2. If you do not use BOOTP (i.e. the `#define USE_BOOTP 1' in init.c is - removed), make sure you change the definition of MY_INTERNET_ADDRESS - before you try to use the program. +Once this program is running on the target machine, you can test +the network code by: -FAILURE TO FOLLOW THE ABOVE INSTRUCTIONS MAY PROVOKE YOUR NETWORK -ADMINISTRATOR TO THE POINT WHERE VICIOUS ATTACKS WILL BE MADE UPON YOU. - -3. Once this program is running on the target machine, you can test - the network code by: - a) Typing commands at the target console: - s - show network statistics - t - transmit TCP packets - u - transmit UDP packets - b) Run `telnet target_machine 24742' on another machines. - Everything you type should be echoed back and noted on - the target console. - You can run more than one telnet session at once. - You can use port number 24743 as well. + Typing commands at the target console: + - show network statistics + - transmit TCP packets + - transmit UDP packets + Run `telnet target_machine 24742' on another machines. + Everything you type should be echoed back and noted on + the target console. + You can run more than one telnet session at once. + You can use port number 24743 as well. diff --git a/netlink/init.c b/netlink/init.c index 0397e08..7ce427f 100644 --- a/netlink/init.c +++ b/netlink/init.c @@ -1,8 +1,8 @@ -/* Init - * - * This routine is the initialization task for this test program. +/* + * The purpose of this test is to evaluate code space requirements. + * It is NOT intended to be executed. * - * Don't forget to change the IP addresses + * $Id$ */ #include <bsp.h> |