Newer
Older
UbixOS / doc / html / d2 / d2b / timeouts_8c.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: net/core/timeouts.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d2/d2b/timeouts_8c.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">timeouts.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../dc/dba/opt_8h_source.html">net/opt.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d2/df2/timeouts_8h_source.html">net/timeouts.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../da/d54/tcp__priv_8h_source.html">net/priv/tcp_priv.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d4/da4/def_8h_source.html">net/def.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../df/dff/memp_8h_source.html">net/memp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d6/d89/tcpip__priv_8h_source.html">net/priv/tcpip_priv.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../da/dc6/ip4__frag_8h_source.html">net/ip4_frag.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../df/dbc/etharp_8h_source.html">net/etharp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d51/dhcp_8h_source.html">net/dhcp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d2/d5b/autoip_8h_source.html">net/autoip.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d9c/igmp_8h_source.html">net/igmp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d5/d2e/dns_8h_source.html">net/dns.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d56/nd6_8h_source.html">net/nd6.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d74/ip6__frag_8h_source.html">net/ip6_frag.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d61/mld6_8h_source.html">net/mld6.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d87/sys_8h_source.html">net/sys.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d35/pbuf_8h_source.html">net/pbuf.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for timeouts.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/d05/timeouts_8c__incl.png" border="0" usemap="#net_2core_2timeouts_8c" alt=""/></div>
<map name="net_2core_2timeouts_8c" id="net_2core_2timeouts_8c">
<area shape="rect" title=" " alt="" coords="1697,5,1831,32"/>
<area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="1385,528,1458,555"/>
<area shape="rect" href="../../d2/df2/timeouts_8h.html" title=" " alt="" coords="191,229,297,256"/>
<area shape="rect" href="../../d9/d87/sys_8h.html" title=" " alt="" coords="118,304,194,331"/>
<area shape="rect" href="../../da/d54/tcp__priv_8h.html" title=" " alt="" coords="1880,229,2003,256"/>
<area shape="rect" href="../../d4/da4/def_8h.html" title=" " alt="" coords="988,453,1060,480"/>
<area shape="rect" href="../../df/dff/memp_8h.html" title=" " alt="" coords="1719,304,1809,331"/>
<area shape="rect" href="../../d6/d89/tcpip__priv_8h.html" title=" " alt="" coords="269,80,401,107"/>
<area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="778,304,857,331"/>
<area shape="rect" href="../../da/dc6/ip4__frag_8h.html" title=" " alt="" coords="1021,80,1121,107"/>
<area shape="rect" href="../../df/dbc/etharp_8h.html" title=" " alt="" coords="2059,453,2149,480"/>
<area shape="rect" href="../../d0/d51/dhcp_8h.html" title=" " alt="" coords="2112,155,2195,181"/>
<area shape="rect" href="../../d2/d5b/autoip_8h.html" title=" " alt="" coords="2189,229,2280,256"/>
<area shape="rect" href="../../d9/d9c/igmp_8h.html" title=" " alt="" coords="1236,155,1319,181"/>
<area shape="rect" href="../../d5/d2e/dns_8h.html" title=" " alt="" coords="2275,304,2351,331"/>
<area shape="rect" href="../../d9/d56/nd6_8h.html" title=" " alt="" coords="2321,80,2397,107"/>
<area shape="rect" href="../../d9/d74/ip6__frag_8h.html" title=" " alt="" coords="1345,155,1445,181"/>
<area shape="rect" href="../../d0/d61/mld6_8h.html" title=" " alt="" coords="2421,80,2504,107"/>
<area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="1430,603,1533,629"/>
<area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="1315,603,1405,629"/>
<area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="548,677,628,704"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="299,901,389,928"/>
<area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="423,752,521,779"/>
<area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="545,752,631,779"/>
<area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="655,752,769,779"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="326,1125,423,1152"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="308,976,401,1003"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="247,1051,337,1077"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="413,1051,531,1077"/>
<area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="422,827,522,853"/>
<area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="597,827,667,853"/>
<area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="451,379,522,405"/>
<area shape="rect" href="../../df/dc7/sys__arch_8h.html" title=" " alt="" coords="78,603,215,629"/>
<area shape="rect" href="../../dd/d1b/ubthread_8h.html" title=" " alt="" coords="184,752,309,779"/>
<area shape="rect" href="../../d2/d28/sem_8h.html" title=" " alt="" coords="97,677,197,704"/>
<area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="185,827,295,853"/>
<area shape="rect" href="../../db/d37/ubixos_2errno_8h.html" title=" " alt="" coords="5,752,109,779"/>
<area shape="rect" href="../../d6/d7f/memp__std_8h.html" title=" " alt="" coords="1909,379,2048,405"/>
<area shape="rect" href="../../d5/d70/memp__priv_8h.html" title=" " alt="" coords="1694,379,1834,405"/>
<area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="1586,379,1670,405"/>
<area shape="rect" href="../../d9/d9a/mem_8h.html" title=" " alt="" coords="1637,453,1721,480"/>
<area shape="rect" href="../../d9/db5/tcpip_8h.html" title=" " alt="" coords="372,155,455,181"/>
<area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="1031,229,1110,256"/>
<area shape="rect" href="../../de/df7/ip__addr_8h.html" title=" " alt="" coords="1125,304,1222,331"/>
<area shape="rect" href="../../d1/da8/ip4__addr_8h.html" title=" " alt="" coords="1076,379,1180,405"/>
<area shape="rect" href="../../d3/d7d/ip6__addr_8h.html" title=" " alt="" coords="1255,379,1359,405"/>
<area shape="rect" href="../../da/d2f/ip_8h.html" title=" " alt="" coords="789,155,854,181"/>
<area shape="rect" href="../../d6/da5/ip4_8h.html" title=" " alt="" coords="740,453,812,480"/>
<area shape="rect" href="../../d0/dca/ip6_8h.html" title=" " alt="" coords="1287,229,1359,256"/>
<area shape="rect" href="../../d4/d19/prot_2ip_8h.html" title=" " alt="" coords="543,528,633,555"/>
</map>
</div>
</div>
<p><a href="../../d2/d2b/timeouts_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9f8226a5ad45684da350fe29edb1ba7b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d2b/timeouts_8c.html#a9f8226a5ad45684da350fe29edb1ba7b">HANDLER</a>(x)&#160;&#160;&#160;x</td></tr>
<tr class="separator:a9f8226a5ad45684da350fe29edb1ba7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8181bc316fdf61b85f787c5cadfcd249"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d2b/timeouts_8c.html#a8181bc316fdf61b85f787c5cadfcd249">tcp_timer_needed</a> (void)</td></tr>
<tr class="separator:a8181bc316fdf61b85f787c5cadfcd249"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:addc06ab816f051a0fe6f280972eed142"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d6/d93/structlwip__cyclic__timer.html">lwip_cyclic_timer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d2b/timeouts_8c.html#addc06ab816f051a0fe6f280972eed142">lwip_cyclic_timers</a> []</td></tr>
<tr class="separator:addc06ab816f051a0fe6f280972eed142"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Stack-internal timers implementation. This file includes timer callbacks for stack-internal timers as well as functions to set up or stop timers and check for expired timers. </p>

<p class="definition">Definition in file <a class="el" href="../../d2/d2b/timeouts_8c_source.html">timeouts.c</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a9f8226a5ad45684da350fe29edb1ba7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f8226a5ad45684da350fe29edb1ba7b">&#9670;&nbsp;</a></span>HANDLER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HANDLER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d2/d2b/timeouts_8c_source.html#l00066">66</a> of file <a class="el" href="../../d2/d2b/timeouts_8c_source.html">timeouts.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a8181bc316fdf61b85f787c5cadfcd249"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8181bc316fdf61b85f787c5cadfcd249">&#9670;&nbsp;</a></span>tcp_timer_needed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tcp_timer_needed </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d2/d2b/timeouts_8c_source.html#l00430">430</a> of file <a class="el" href="../../d2/d2b/timeouts_8c_source.html">timeouts.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="addc06ab816f051a0fe6f280972eed142"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addc06ab816f051a0fe6f280972eed142">&#9670;&nbsp;</a></span>lwip_cyclic_timers</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d6/d93/structlwip__cyclic__timer.html">lwip_cyclic_timer</a> lwip_cyclic_timers[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This array contains all stack-internal cyclic timers. To get the number of timers, use <a class="el" href="../../d4/da4/def_8h.html#a4abb61f4c9339d8a0a0c63b4fbfe6a37">LWIP_ARRAYSIZE()</a> </p>

<p class="definition">Definition at line <a class="el" href="../../d2/d2b/timeouts_8c_source.html#l00071">71</a> of file <a class="el" href="../../d2/d2b/timeouts_8c_source.html">timeouts.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_427baa8a9a5be237f298d4545d0d1ce2.html">net</a></li><li class="navelem"><a class="el" href="../../dir_1cf66ead025f9237708795c937e76781.html">core</a></li><li class="navelem"><a class="el" href="../../d2/d2b/timeouts_8c.html">timeouts.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>