Lines Matching +full:multi +full:- +full:segment
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…
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…
35 …ls. It breaks the byte stream into appropriately sized segments and each segment is sent in its ow…
37 …segment" and an example of the second kind is "There MUST be a mechanism for reporting soft TCP er…
38 …-to-host communication are implemented. However, in order to reduce code size, we have removed cer…
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…
56 …-chip Ethernet controllers have on-chip buffers that are large enough to contain at least 4 maximu…
58 …um amount of simultaneous connections. A device that will be sending large e-mails while at the sa…
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 …he TCP/IP stack receives the packet, low response times can be achieved even in low-end systems.<p>
68 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
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 …ref="a00147.html#g26a14b8dae3f861830af9e7cf1e03725">uip_newdata()</a> is non-zero, the remote host…
80 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
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 …two states: either in the WELCOME-SENT state where the "Welcome!" has been sent but not acknowledg…
132 …ge and sets it's state to WELCOME-SENT. When the welcome message is acknowledged, the application …
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)…
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 …kes sure that no more than MSS bytes of data is actually sent, even though s->dataleft may be l…
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 … subtracting the length of the previously sent data (obtained from "uip_conn->len") from the "t…
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…
380 …-sharing SMB protocol. Multicast is primarily used in protocols used for multimedia distribution s…
381 ICMP --- Internet Control Message Protocol</a></h3>
383 …resses of incoming echo requests and rewriting the ICMP header with the Echo-Reply message type. T…
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…
390 …ple data segments are sent in succession without waiting for an acknowledgment for each segment.<p>
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…
398 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
400 …n hosts with wildly varying memory dimensions. In each TCP segment, the sender of the segment indi…
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…
413 … for every other received segment. If no segment is received within a specific time-frame, an ackn…
414 …utstanding TCP segment will interact poorly with the delayed acknowledgment algorithm. Because the…
415 …e segment size and $t_d$ is the delayed acknowledgment timeout, which typically is between 200 and…
416 …ounts of data sent by such a system will not span more than a single TCP segment, and would theref…