rtt-f030/components/net/uip/doc/html/a00088.html

104 lines
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>uIP 1.0: uip_conn Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul></div>
<h1>uip_conn Struct Reference<br>
<small>
[<a class="el" href="a00150.html">The uIP TCP/IP stack</a>]</small>
</h1><!-- doxytag: class="uip_conn" --><code>#include &lt;<a class="el" href="a00202.html">uip.h</a>&gt;</code>
<p>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Representation of a uIP TCP connection.
<p>
The <a class="el" href="a00088.html">uip_conn</a> structure is used for identifying a connection. All but one field in the structure are to be considered read-only by an application. The only exception is the appstate field whos purpose is to let the application store application-specific state (e.g., file pointers) for the connection. The type of this field is configured in the "uipopt.h" header file.
<p>
<p>
Definition at line <a class="el" href="a00202.html#l01153">1153</a> of file <a class="el" href="a00202.html">uip.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79510aa86d3fa0a0fc6cfc49b1da7279"></a><!-- doxytag: member="uip_conn::ripaddr" ref="79510aa86d3fa0a0fc6cfc49b1da7279" args="" -->
<a class="el" href="a00150.html#g1ef35301f43a5bbb9f89f07b5a36b9a0">uip_ipaddr_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#79510aa86d3fa0a0fc6cfc49b1da7279">ripaddr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The IP address of the remote host. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cd09beee671e7e9efb0b4aced10249e"></a><!-- doxytag: member="uip_conn::lport" ref="0cd09beee671e7e9efb0b4aced10249e" args="" -->
<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#0cd09beee671e7e9efb0b4aced10249e">lport</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The local TCP port, in network byte order. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1df6aa054ef2fa634ac4c6f418228285"></a><!-- doxytag: member="uip_conn::rport" ref="1df6aa054ef2fa634ac4c6f418228285" args="" -->
<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#1df6aa054ef2fa634ac4c6f418228285">rport</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The local remote TCP port, in network byte order. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70297b3e6d4eaae7bd828cb50bd1efe3"></a><!-- doxytag: member="uip_conn::rcv_nxt" ref="70297b3e6d4eaae7bd828cb50bd1efe3" args="[4]" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#70297b3e6d4eaae7bd828cb50bd1efe3">rcv_nxt</a> [4]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The sequence number that we expect to receive next. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f6b08a5ba2a8d75ca7279e2056aa8c6"></a><!-- doxytag: member="uip_conn::snd_nxt" ref="8f6b08a5ba2a8d75ca7279e2056aa8c6" args="[4]" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#8f6b08a5ba2a8d75ca7279e2056aa8c6">snd_nxt</a> [4]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The sequence number that was last sent by us. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ef3ae2764714bf90620075c374c262e"></a><!-- doxytag: member="uip_conn::len" ref="0ef3ae2764714bf90620075c374c262e" args="" -->
<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#0ef3ae2764714bf90620075c374c262e">len</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the data that was previously sent. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3347ef1b6e8581402445d1a0280c7a14"></a><!-- doxytag: member="uip_conn::mss" ref="3347ef1b6e8581402445d1a0280c7a14" args="" -->
<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#3347ef1b6e8581402445d1a0280c7a14">mss</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current maximum segment size for the connection. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db7a3fadb68df5fdd37e8b91a2c751ea"></a><!-- doxytag: member="uip_conn::initialmss" ref="db7a3fadb68df5fdd37e8b91a2c751ea" args="" -->
<a class="el" href="a00153.html#g77570ac4fcab86864fa1916e55676da2">u16_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#db7a3fadb68df5fdd37e8b91a2c751ea">initialmss</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initial maximum segment size for the connection. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef661afb3aa82f0437d2ed8d3c20be76"></a><!-- doxytag: member="uip_conn::sa" ref="ef661afb3aa82f0437d2ed8d3c20be76" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#ef661afb3aa82f0437d2ed8d3c20be76">sa</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retransmission time-out calculation state variable. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb9fcbd3c9b0a795dcd63f33c323d65c"></a><!-- doxytag: member="uip_conn::sv" ref="eb9fcbd3c9b0a795dcd63f33c323d65c" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#eb9fcbd3c9b0a795dcd63f33c323d65c">sv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retransmission time-out calculation state variable. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3aa9cc25e45b663e6aabc54c013019e"></a><!-- doxytag: member="uip_conn::rto" ref="e3aa9cc25e45b663e6aabc54c013019e" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#e3aa9cc25e45b663e6aabc54c013019e">rto</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retransmission time-out. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5f58074435cdc180f17de69651beebd"></a><!-- doxytag: member="uip_conn::tcpstateflags" ref="a5f58074435cdc180f17de69651beebd" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#a5f58074435cdc180f17de69651beebd">tcpstateflags</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TCP state and flags. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d9732cf5752d30bd11cb25dc7d0c8d3"></a><!-- doxytag: member="uip_conn::timer" ref="2d9732cf5752d30bd11cb25dc7d0c8d3" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#2d9732cf5752d30bd11cb25dc7d0c8d3">timer</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The retransmission timer. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4289c59840b128f2f6526e9da2711d47"></a><!-- doxytag: member="uip_conn::nrtx" ref="4289c59840b128f2f6526e9da2711d47" args="" -->
<a class="el" href="a00153.html#g4caecabca98b43919dd11be1c0d4cd8e">u8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#4289c59840b128f2f6526e9da2711d47">nrtx</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of retransmissions for the last segment sent. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97f9e1fda815bfb8b1f4577c355ade20"></a><!-- doxytag: member="uip_conn::appstate" ref="97f9e1fda815bfb8b1f4577c355ade20" args="" -->
<a class="el" href="a00085.html">uip_tcp_appstate_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00088.html#97f9e1fda815bfb8b1f4577c355ade20">appstate</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The application state. <br></td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 12 10:23:02 2006 for uIP 1.0 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>