rt-thread/components/net/uip/doc/html/a00093.html

144 lines
13 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_stats 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_stats Struct Reference<br>
<small>
[<a class="el" href="a00150.html">The uIP TCP/IP stack</a>]</small>
</h1><!-- doxytag: class="uip_stats" --><code>#include &lt;<a class="el" href="a00202.html">uip.h</a>&gt;</code>
<p>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1.
<p>
<p>
Definition at line <a class="el" href="a00202.html#l01232">1232</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><a class="anchor" name="1deb2899508216804823498a69378118"></a><!-- doxytag: member="uip_stats::ip" ref="1deb2899508216804823498a69378118" args="" -->
struct {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#5d8996950cdf3d8130cc3ad340eb9dff">drop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of dropped packets at the IP layer. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7f7bb2145afba5df00c6e10ddefa8ae1">recv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of received packets at the IP layer. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#dc69abadd5aa07c7d74f9292db2cd93c">sent</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of sent packets at the IP layer. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#b93e351c3abba0c700b26b7b07e9527d">vhlerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped due to wrong IP version or header length. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#0c816f34c0187f2154c91a18d3ad87c8">hblenerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped due to wrong IP length, high byte. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#6157452bdc9921f44b2e22e4b5969258">lblenerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped due to wrong IP length, low byte. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#8082509468b2ac80ed7746aa1a5bc4f7">fragerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped since they were IP fragments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7675e6b9adbddbd545d3aac8ca092fbb">chkerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped due to IP checksum errors. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#b4622e2599ff3a592db09219b2641682">protoerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of packets dropped since they were neither ICMP, UDP nor TCP. <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00093.html#1deb2899508216804823498a69378118">ip</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IP statistics. <br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="3983b45977630418d3038231aa8b68ed"></a><!-- doxytag: member="uip_stats::icmp" ref="3983b45977630418d3038231aa8b68ed" args="" -->
struct {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#5d8996950cdf3d8130cc3ad340eb9dff">drop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of dropped ICMP packets. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7f7bb2145afba5df00c6e10ddefa8ae1">recv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of received ICMP packets. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#dc69abadd5aa07c7d74f9292db2cd93c">sent</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of sent ICMP packets. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#8da121d6e50992ec55778f9b2141552d">typeerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of ICMP packets with a wrong type. <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00093.html#3983b45977630418d3038231aa8b68ed">icmp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ICMP statistics. <br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="e292b8977f6b81265bf14e1676face3e"></a><!-- doxytag: member="uip_stats::tcp" ref="e292b8977f6b81265bf14e1676face3e" args="" -->
struct {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#5d8996950cdf3d8130cc3ad340eb9dff">drop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of dropped TCP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7f7bb2145afba5df00c6e10ddefa8ae1">recv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of recived TCP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#dc69abadd5aa07c7d74f9292db2cd93c">sent</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of sent TCP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7675e6b9adbddbd545d3aac8ca092fbb">chkerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of TCP segments with a bad checksum. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7a58d95f7f7827789ff52500e3d16c34">ackerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of TCP segments with a bad ACK number. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#b6e9a75167bdddd561373bc5b6ef501c">rst</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of recevied TCP RST (reset) segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#3ad48284f7a91f78bb24096aad89056e">rexmit</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of retransmitted TCP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#494ea6767a8a8fab7abe96b799d6c3b3">syndrop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of dropped SYNs due to too few connections was avaliable. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#e9205a565ea3c911a785fc4e87c91a58">synrst</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of SYNs for closed ports, triggering a RST. <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00093.html#e292b8977f6b81265bf14e1676face3e">tcp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TCP statistics. <br></td></tr>
<tr><td class="memItemLeft" nowrap><a class="anchor" name="4f39f0fe6a820d260fe6cddf9ccaa832"></a><!-- doxytag: member="uip_stats::udp" ref="4f39f0fe6a820d260fe6cddf9ccaa832" args="" -->
struct {</td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#5d8996950cdf3d8130cc3ad340eb9dff">drop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of dropped UDP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7f7bb2145afba5df00c6e10ddefa8ae1">recv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of recived UDP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#dc69abadd5aa07c7d74f9292db2cd93c">sent</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of sent UDP segments. <br></td></tr>
<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="a00153.html#g727459e5c4f777543c81ffffa3df3f0c">uip_stats_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a00093.html#7675e6b9adbddbd545d3aac8ca092fbb">chkerr</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of UDP segments with a bad checksum. <br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00093.html#4f39f0fe6a820d260fe6cddf9ccaa832">udp</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">UDP statistics. <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>