1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Building the Network Tests</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Tests and Demonstrations"
23 HREF="net-common-tests-and-demonstrations.html"><LINK
25 TITLE="Tests and Demonstrations"
26 HREF="net-common-tests-and-demonstrations.html"><LINK
28 TITLE="Standalone Tests"
29 HREF="net-common-standalone-tests.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="net-common-tests-and-demonstrations.html"
65 >Chapter 36. Tests and Demonstrations</TD
71 HREF="net-common-standalone-tests.html"
85 NAME="NET-COMMON-BUILDING-THE-NETWORK-TESTS">Building the Network Tests</H1
87 >To build further network tests, ensure that the configuration
88 option CYGPKG_NET_BUILD_TESTS is set in your build
89 and then make the tests in the usual way. Alternatively
90 (with that option set) use
98 CLASS="PROGRAMLISTING"
99 >make -C net/common/<TT
109 after building the eCos library, if you wish to build
117 the network tests.</P
119 >This should give test executables in
122 >install/tests/net/common/<TT
138 CLASS="PROGRAMLISTING"
145 > - trivial test of socket creation API
152 > - trivial test of mbuf allocation API
159 > - simple FTP test, connects to “server”
166 > - pings “server” and non-existent host to test timeout
173 > - ping test, but also relinquishes and
174 reacquires DHCP leases periodically
181 > - a flood ping test; use with care
188 > - data forwarding program for performance test
195 >- network characterization master
202 >- network characterization slave
209 > - a very simple server example
216 > - performs a tftp get and put from/to “server”
223 > - runs a tftp server for a short while
230 >- set MAC address(es) of interfaces in NVRAM
237 > - contributed network bridge code
244 >- IPv4/IPv6 network characterization master
251 >- IPv4/IPv6 network characterization slave
258 > - a very simple IPv4/IPv6 server example</PRE
268 SUMMARY="Footer navigation table"
279 HREF="net-common-tests-and-demonstrations.html"
297 HREF="net-common-standalone-tests.html"
307 >Tests and Demonstrations</TD
313 HREF="net-common-tests-and-demonstrations.html"
321 >Standalone Tests</TD