]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/ref/tcpip-freebsd-tcpip-apis.html
Initial revision
[karo-tx-redboot.git] / doc / html / ref / tcpip-freebsd-tcpip-apis.html
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.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >APIs</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="FreeBSD TCP/IP Stack port for eCos"
23 HREF="tcpip-freebsd.html"><LINK
24 REL="PREVIOUS"
25 TITLE="Building the Network Stack"
26 HREF="tcpip-freebsd-building-the-network-stack.html"><LINK
27 REL="NEXT"
28 TITLE="Enhanced Select()"
29 HREF="tcpip-freebsd-enhanced-select.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="tcpip-freebsd-building-the-network-stack.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="tcpip-freebsd-enhanced-select.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="TCPIP-FREEBSD-TCPIP-APIS">Chapter 41. APIs</H1
85 ><DIV
86 CLASS="TOC"
87 ><DL
88 ><DT
89 ><B
90 >Table of Contents</B
91 ></DT
92 ><DT
93 ><A
94 HREF="tcpip-freebsd-tcpip-apis.html#TCPIP-FREEBSD-STANDARD-NETWORKING-API"
95 >Standard networking</A
96 ></DT
97 ><DT
98 ><A
99 HREF="tcpip-freebsd-enhanced-select.html"
100 >Enhanced Select()</A
101 ></DT
102 ></DL
103 ></DIV
104 ><DIV
105 CLASS="SECT1"
106 ><H1
107 CLASS="SECT1"
108 ><A
109 NAME="TCPIP-FREEBSD-STANDARD-NETWORKING-API">Standard networking</H1
110 ><P
111 >The APIs for the standard networking calls such as
112 <TT
113 CLASS="FUNCTION"
114 >socket()</TT
115 >, <TT
116 CLASS="FUNCTION"
117 >recv()</TT
118 > and so on, are
119 in header files relative to the top-level
120 include directory, within the standard subdirectories as conventionally
121 found in <TT
122 CLASS="FILENAME"
123 >/usr/include</TT
124 >.  For example:
125 <TABLE
126 BORDER="5"
127 BGCOLOR="#E0E0F0"
128 WIDTH="70%"
129 ><TR
130 ><TD
131 ><PRE
132 CLASS="PROGRAMLISTING"
133 > install/include/arpa/tftp.h
134  install/include/netinet/tcpip.h
135  install/include/sys/socket.h
136  install/include/sys/socketvar.h
137  install/include/sys/sockio.h</PRE
138 ></TD
139 ></TR
140 ></TABLE
141 ></P
142 ></DIV
143 ></DIV
144 ><DIV
145 CLASS="NAVFOOTER"
146 ><HR
147 ALIGN="LEFT"
148 WIDTH="100%"><TABLE
149 SUMMARY="Footer navigation table"
150 WIDTH="100%"
151 BORDER="0"
152 CELLPADDING="0"
153 CELLSPACING="0"
154 ><TR
155 ><TD
156 WIDTH="33%"
157 ALIGN="left"
158 VALIGN="top"
159 ><A
160 HREF="tcpip-freebsd-building-the-network-stack.html"
161 ACCESSKEY="P"
162 >Prev</A
163 ></TD
164 ><TD
165 WIDTH="34%"
166 ALIGN="center"
167 VALIGN="top"
168 ><A
169 HREF="ecos-ref.html"
170 ACCESSKEY="H"
171 >Home</A
172 ></TD
173 ><TD
174 WIDTH="33%"
175 ALIGN="right"
176 VALIGN="top"
177 ><A
178 HREF="tcpip-freebsd-enhanced-select.html"
179 ACCESSKEY="N"
180 >Next</A
181 ></TD
182 ></TR
183 ><TR
184 ><TD
185 WIDTH="33%"
186 ALIGN="left"
187 VALIGN="top"
188 >Building the Network Stack</TD
189 ><TD
190 WIDTH="34%"
191 ALIGN="center"
192 VALIGN="top"
193 ><A
194 HREF="tcpip-freebsd.html"
195 ACCESSKEY="U"
196 >Up</A
197 ></TD
198 ><TD
199 WIDTH="33%"
200 ALIGN="right"
201 VALIGN="top"
202 >Enhanced Select()</TD
203 ></TR
204 ></TABLE
205 ></DIV
206 ></BODY
207 ></HTML
208 >