Lines Matching +full:host +full:- +full:only
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
7 <!-- Generated by Doxygen 1.4.6 -->
19 …-bit micro-controllers. Despite being small and simple, uIP do not require their peers to have com…
22 <a class="el" href="a00153.html">Compile-time configuration options</a> <p>
23 <a class="el" href="a00144.html">Run-time configuration functions</a> <p>
29 …-mail transmissions, file transfers, and peer-to-peer networking over the Internet. For embedded s…
30 …es both in terms of code size and memory usage to be useful in small 8 or 16-bit systems. Code siz…
31 …mplementation is designed to have only the absolute minimal set of features needed for a full TCP/…
32 …-scale TCP/IP implementation running on a workstation-class machine. Under this assumption, it is …
34 …sses, to application level protocols such as SMTP that is used to transfer e-mail. The uIP is most…
37 …host to host communication and those that deal with communication between the application and the …
38 …host-to-host communication are implemented. However, in order to reduce code size, we have removed…
45 …depend on timers, such as delayed acknowledgments, retransmissions and round-trip time estimations…
47 …architecture on which uIP is intended to run. These functions should be hand-tuned for the particu…
49 …efficient. Most often, this means that the checksum calculation must be fine-tuned for the particu…
51 32-bit Arithmetic</a></h3>
52 …-bit sequence numbers, and a TCP implementation will have to do a number of 32-bit additions as pa…
53 While uIP implements a generic 32-bit addition, there is support for having an architecture specifi…
55 In the architectures for which uIP is intended, RAM is the most scarce resource. With only a few ki…
56 …-chip Ethernet controllers have on-chip buffers that are large enough to contain at least 4 maximu…
58 …-mails while at the same time running a web server with highly dynamic web pages and multiple simu…
60 …uenced the Microsoft Windows WinSock API. Because the socket API uses stop-and-wait semantics, it …
61 …protosockets, a BSD socket-like API without the overhead of full multi-threading, and a "raw" even…
66 …only one callback function; it is up to the application to deal with mapping different network ser…
70 …nctions are implemented as C macros that will evaluate to either zero or non-zero. Note that certa…
72 …->lport (the local TCP port number) to decide which service the connection should provide. For …
74 ….html#g26a14b8dae3f861830af9e7cf1e03725">uip_newdata()</a> is non-zero, the remote host of the con…
78 …only one chunk of data at a time on a connection and it is not possible to call <a class="el" href…
86 …pen to a connection, either that the connection was aborted by the remote host, or that the connec…
89 …as been produced. The application can only send data when invoked by uIP, and therefore the poll e…
95 …">uip_ipaddr()</a> may be used to pack an IP address into the two element 16-bit array used by uIP…
98 …031ddae7240">uip_connect</a>(<a class="code" href="a00088.html">uip_conn</a>->ripaddr, <a class…
131 …host, it might have been dropped in the network. But once the remote host has sent an acknowledgme…
132 …host connects to the application, the application sends the "Welcome!" message and sets it's state…
133 …-SENT state, it sends a "Welcome!" message since it knows that the previous welcome message hasn't…
146 …yword">struct </span>example2_state *)<a class="code" href="a00088.html">uip_conn</a>->appstate;
149 s->state = WELCOME_SENT;
154 …"a00147.html#gde6634974418e3240c212b9b16864368">uip_acked</a>() && s->state == WELCOME_…
155 s->state = WELCOME_ACKED;
163 <span class="keywordflow">switch</span>(s->state) {
186 …<span class="keywordflow">switch</span>(<a class="code" href="a00088.html">uip_conn</a>->lport)…
197 This example shows a simple application that connects to a host, sends an HTTP request for a file a…
225 …een established, an HTTP request is sent to the server. Since this is the only data that is sent, …
226 When the application receives new data from the remote host, it sends this data to the device by us…
227 If the device's queue is full, the application stops the data from the remote host by calling the u…
242 …ate)<a class="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>->appstate;
245 …ass="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>-><a class="code" h…
247 s->dataptr = data_port_80;
248 s->dataleft = datalen_port_80;
251 s->dataptr = data_port_81;
252 s->dataleft = datalen_port_81;
255 …" href="a00147.html#g04b053a623aac7cd4195157d470661b3">uip_send</a>(s->dataptr, s->dataleft);
260 …<span class="keywordflow">if</span>(s->dataleft < <a class="code" href="a00147.html#gb5fecbc…
264 …s->dataptr += <a class="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>…
265 …s->dataleft -= <a class="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a…
266 … href="a00147.html#g04b053a623aac7cd4195157d470661b3">uip_send</a>(s->dataptr, s->dataleft);…
270 …host connects to the application, the local port number is used to determine which file to send. T…
321 …ass="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>-><a class="code" h…
323 …s->state = <a class="code" href="a00164.html#g7d7920c1e51cc4eef80206ebd6fee3f4">STATE_WAITING…
324 s->textlen = 0;
328 …ass="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>-><a class="code" h…
330 …<span class="keywordflow">if</span>(s->state == <a class="code" href="a00164.html#g7d7920c1e51c…
331 s->state = STATE_HELLO;
332 s->textptr = <span class="stringliteral">"Hello "</span>;
333 s->textlen = 6;
338 …ass="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>-><a class="code" h…
340 …s->textlen -= <a class="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>…
341 …s->textptr += <a class="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>…
342 <span class="keywordflow">if</span>(s->textlen == 0) {
343 <span class="keywordflow">switch</span>(s->state) {
345 s->state = STATE_WORLD;
346 s->textptr = <span class="stringliteral">"world!\n"</span>;
347 s->textlen = 7;
357 …ass="code" href="a00150.html#g788ffac72342f6172343d7f8099cbe1a">uip_conn</a>-><a class="code" h…
359 <span class="keywordflow">if</span>(s->textlen > 0) {
360 …e" href="a00147.html#g04b053a623aac7cd4195157d470661b3">uip_send</a>(s->textptr, s->textlen);
368 …host. This acked() function first reduces the amount of data that is left to send, by subtracting …
370 …enddata() function never should affect the application state; this should only be done in the acke…
374 IP --- Internet Protocol</a></h3>
377 …e been received. Because the first byte of an IP fragment is aligned on an 8-byte boundary, the bi…
378 The current implementation only has a single buffer for holding packets to be reassembled, and ther…
380 …-sharing SMB protocol. Multicast is primarily used in protocols used for multimedia distribution s…
381 ICMP --- Internet Control Message Protocol</a></h3>
382 The ICMP protocol is used for reporting soft error conditions and for querying host parameters. Its…
383 …only implement ICMP echo messages. Replies to echo messages are constructed by simply swapping the…
384 Since only the ICMP echo message is implemented, there is no support for Path MTU discovery or ICMP…
385 TCP --- Transmission Control Protocol</a></h3>
388 … connection requests. In uIP, a listening connection is identified by the 16-bit port number and i…
391 …-bit operations and because 32-bit arithmetic is fairly expensive on most 8-bit CPUs, uIP does not…
393 Round-Trip Time Estimation</a></h4>
394 …mates the current Round-Trip Time (RTT) of every active connection in order to find a suitable val…
401 …ving host can buffer. And application cannot send more data than the amount of bytes it is allowed…
403 …for congestion control are designed to be simple to implement and require only a few lines of code…
404 Since uIP only handles one in-flight TCP segment per connection, the amount of simultaneous segment…
406 TCP's urgent data mechanism provides an application-to-application notification mechanism, which ca…
409 …-end systems, processing time is dominated by the checksum calculation loop, the operation of copy…
411 …o host memory, and checksum calculation. Apart from the checksum calculation and copying, the TCP …
413 …only send acknowledgments for every other received segment. If no segment is received within a spe…
414 …uIP that only handles a single outstanding TCP segment will interact poorly with the delayed ackno…
415 …ically is between 200 and 500 ms. With a segment size of 1000 bytes, a round-trip time of 40 ms an…