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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [net-common-sample-code.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
>Sample Code</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="TCP/IP Stack Support for eCos"
23
HREF="net-common-tcpip.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Ethernet Driver Design"
26
HREF="net-common-ethernet-driver-design.html"><LINK
27
REL="NEXT"
28
TITLE="Configuring IP Addresses"
29
HREF="net-common-configuring-ip-addresses.html"></HEAD
30
><BODY
31
CLASS="CHAPTER"
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-ethernet-driver-design.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
></TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="net-common-configuring-ip-addresses.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="CHAPTER"
82
><H1
83
><A
84
NAME="NET-COMMON-SAMPLE-CODE">Chapter 34. Sample Code</H1
85
><P
86
>Many examples using the networking support are provided.
87
These are arranged as eCos test programs, primarily for use in verifying
88
the package, but they can also serve as useful frameworks for program
89
design.  We have taken a
90
<SPAN
91
CLASS="ACRONYM"
92
>KISS</SPAN
93
>
94
approach to building programs which
95
use the network.  A single include file
96
&lt;<TT
97
CLASS="FILENAME"
98
>network.h</TT
99
>&gt; is
100
all that is required to access the stack.  A complete, annotated
101
test program can be found at
102
<TT
103
CLASS="FILENAME"
104
>net/common/<TT
105
CLASS="REPLACEABLE"
106
><I
107
>VERSION</I
108
></TT
109
>/tests/ftp_test.c</TT
110
>,
111
with its associated files.     </P
112
></DIV
113
><DIV
114
CLASS="NAVFOOTER"
115
><HR
116
ALIGN="LEFT"
117
WIDTH="100%"><TABLE
118
SUMMARY="Footer navigation table"
119
WIDTH="100%"
120
BORDER="0"
121
CELLPADDING="0"
122
CELLSPACING="0"
123
><TR
124
><TD
125
WIDTH="33%"
126
ALIGN="left"
127
VALIGN="top"
128
><A
129
HREF="net-common-ethernet-driver-design.html"
130
ACCESSKEY="P"
131
>Prev</A
132
></TD
133
><TD
134
WIDTH="34%"
135
ALIGN="center"
136
VALIGN="top"
137
><A
138
HREF="ecos-ref.html"
139
ACCESSKEY="H"
140
>Home</A
141
></TD
142
><TD
143
WIDTH="33%"
144
ALIGN="right"
145
VALIGN="top"
146
><A
147
HREF="net-common-configuring-ip-addresses.html"
148
ACCESSKEY="N"
149
>Next</A
150
></TD
151
></TR
152
><TR
153
><TD
154
WIDTH="33%"
155
ALIGN="left"
156
VALIGN="top"
157
>Ethernet Driver Design</TD
158
><TD
159
WIDTH="34%"
160
ALIGN="center"
161
VALIGN="top"
162
><A
163
HREF="net-common-tcpip.html"
164
ACCESSKEY="U"
165
>Up</A
166
></TD
167
><TD
168
WIDTH="33%"
169
ALIGN="right"
170
VALIGN="top"
171
>Configuring IP Addresses</TD
172
></TR
173
></TABLE
174
></DIV
175
></BODY
176
></HTML
177
>

powered by: WebSVN 2.1.0

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