OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [net-common-building-the-network-tests.html] - Blame information for rev 510

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- 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.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Building the Network Tests</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="Tests and Demonstrations"
23
HREF="net-common-tests-and-demonstrations.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Tests and Demonstrations"
26
HREF="net-common-tests-and-demonstrations.html"><LINK
27
REL="NEXT"
28
TITLE="Standalone Tests"
29
HREF="net-common-standalone-tests.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="net-common-tests-and-demonstrations.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 36. Tests and Demonstrations</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="net-common-standalone-tests.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="NET-COMMON-BUILDING-THE-NETWORK-TESTS">Building the Network Tests</H1
86
><P
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
91
<TABLE
92
BORDER="5"
93
BGCOLOR="#E0E0F0"
94
WIDTH="70%"
95
><TR
96
><TD
97
><PRE
98
CLASS="PROGRAMLISTING"
99
>make -C net/common/<TT
100
CLASS="REPLACEABLE"
101
><I
102
>VERSION</I
103
></TT
104
>/ tests </PRE
105
></TD
106
></TR
107
></TABLE
108
>
109
after building the eCos library, if you wish to build
110
<SPAN
111
CLASS="emphasis"
112
><I
113
CLASS="EMPHASIS"
114
>only</I
115
></SPAN
116
>
117
the network tests.</P
118
><P
119
>This should give test executables in
120
<TT
121
CLASS="FILENAME"
122
>install/tests/net/common/<TT
123
CLASS="REPLACEABLE"
124
><I
125
>VERSION</I
126
></TT
127
>/tests</TT
128
>
129
including
130
the following:</P
131
><TABLE
132
BORDER="5"
133
BGCOLOR="#E0E0F0"
134
WIDTH="70%"
135
><TR
136
><TD
137
><PRE
138
CLASS="PROGRAMLISTING"
139
><SPAN
140
CLASS="emphasis"
141
><I
142
CLASS="EMPHASIS"
143
>socket_test</I
144
></SPAN
145
> - trivial test of socket creation API
146
<SPAN
147
CLASS="emphasis"
148
><I
149
CLASS="EMPHASIS"
150
>mbuf_test</I
151
></SPAN
152
> - trivial test of mbuf allocation API
153
<SPAN
154
CLASS="emphasis"
155
><I
156
CLASS="EMPHASIS"
157
>ftp_test</I
158
></SPAN
159
> - simple FTP test, connects to &#8220;server&#8221;
160
<SPAN
161
CLASS="emphasis"
162
><I
163
CLASS="EMPHASIS"
164
>ping_test</I
165
></SPAN
166
> - pings &#8220;server&#8221; and non-existent host to test timeout
167
<SPAN
168
CLASS="emphasis"
169
><I
170
CLASS="EMPHASIS"
171
>dhcp_test</I
172
></SPAN
173
> - ping test, but also relinquishes and
174
            reacquires DHCP leases periodically
175
<SPAN
176
CLASS="emphasis"
177
><I
178
CLASS="EMPHASIS"
179
>flood</I
180
></SPAN
181
> - a flood ping test; use with care
182
<SPAN
183
CLASS="emphasis"
184
><I
185
CLASS="EMPHASIS"
186
>tcp_echo</I
187
></SPAN
188
> - data forwarding program for performance test
189
<SPAN
190
CLASS="emphasis"
191
><I
192
CLASS="EMPHASIS"
193
>nc_test_master </I
194
></SPAN
195
>- network characterization master
196
<SPAN
197
CLASS="emphasis"
198
><I
199
CLASS="EMPHASIS"
200
>nc_test_slave </I
201
></SPAN
202
>- network characterization slave
203
<SPAN
204
CLASS="emphasis"
205
><I
206
CLASS="EMPHASIS"
207
>server_test</I
208
></SPAN
209
> - a very simple server example
210
<SPAN
211
CLASS="emphasis"
212
><I
213
CLASS="EMPHASIS"
214
>tftp_client_test</I
215
></SPAN
216
> - performs a tftp get and put from/to &#8220;server&#8221;
217
<SPAN
218
CLASS="emphasis"
219
><I
220
CLASS="EMPHASIS"
221
>tftp_server_test</I
222
></SPAN
223
> - runs a tftp server for a short while
224
<SPAN
225
CLASS="emphasis"
226
><I
227
CLASS="EMPHASIS"
228
>set_mac_address </I
229
></SPAN
230
>- set MAC address(es) of interfaces in NVRAM
231
<SPAN
232
CLASS="emphasis"
233
><I
234
CLASS="EMPHASIS"
235
>bridge</I
236
></SPAN
237
> - contributed network bridge code
238
<SPAN
239
CLASS="emphasis"
240
><I
241
CLASS="EMPHASIS"
242
>nc6_test_master </I
243
></SPAN
244
>- IPv4/IPv6 network characterization master
245
<SPAN
246
CLASS="emphasis"
247
><I
248
CLASS="EMPHASIS"
249
>nc6_test_slave </I
250
></SPAN
251
>- IPv4/IPv6 network characterization slave
252
<SPAN
253
CLASS="emphasis"
254
><I
255
CLASS="EMPHASIS"
256
>ga_server_test</I
257
></SPAN
258
> - a very simple IPv4/IPv6 server example</PRE
259
></TD
260
></TR
261
></TABLE
262
></DIV
263
><DIV
264
CLASS="NAVFOOTER"
265
><HR
266
ALIGN="LEFT"
267
WIDTH="100%"><TABLE
268
SUMMARY="Footer navigation table"
269
WIDTH="100%"
270
BORDER="0"
271
CELLPADDING="0"
272
CELLSPACING="0"
273
><TR
274
><TD
275
WIDTH="33%"
276
ALIGN="left"
277
VALIGN="top"
278
><A
279
HREF="net-common-tests-and-demonstrations.html"
280
ACCESSKEY="P"
281
>Prev</A
282
></TD
283
><TD
284
WIDTH="34%"
285
ALIGN="center"
286
VALIGN="top"
287
><A
288
HREF="ecos-ref.html"
289
ACCESSKEY="H"
290
>Home</A
291
></TD
292
><TD
293
WIDTH="33%"
294
ALIGN="right"
295
VALIGN="top"
296
><A
297
HREF="net-common-standalone-tests.html"
298
ACCESSKEY="N"
299
>Next</A
300
></TD
301
></TR
302
><TR
303
><TD
304
WIDTH="33%"
305
ALIGN="left"
306
VALIGN="top"
307
>Tests and Demonstrations</TD
308
><TD
309
WIDTH="34%"
310
ALIGN="center"
311
VALIGN="top"
312
><A
313
HREF="net-common-tests-and-demonstrations.html"
314
ACCESSKEY="U"
315
>Up</A
316
></TD
317
><TD
318
WIDTH="33%"
319
ALIGN="right"
320
VALIGN="top"
321
>Standalone Tests</TD
322
></TR
323
></TABLE
324
></DIV
325
></BODY
326
></HTML
327
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.