netsukuku/d2/d42/rehook_8h.html

402 lines
38 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
<title>The Netsukuku Project: src/rehook.h 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="../../navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
<div id="projectname">The Netsukuku Project
&#160;<span id="projectnumber">0.0.9</span>
</div>
<div id="projectbrief">An Alternative routing method</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
<li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../files.html"><span>File&#160;List</span></a></li>
<li><a href="../../globals.html"><span>Globals</span></a></li>
</ul>
</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">
$(document).ready(function(){initNavTree('d2/d42/rehook_8h.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<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">rehook.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/da8/rehook_8h__dep__incl.png" border="0" usemap="#src_2rehook_8hdep" alt=""/></div>
<map name="src_2rehook_8hdep" id="src_2rehook_8hdep">
<area shape="rect" id="node3" href="../../d3/dc7/hook_8c.html" title="src/hook.c" alt="" coords="5,83,88,112"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html" title="src/netsukuku.c" alt="" coords="112,83,227,112"/><area shape="rect" id="node7" href="../../df/dba/rehook_8c.html" title="src/rehook.c" alt="" coords="251,83,344,112"/><area shape="rect" id="node9" href="../../d6/d62/tracer_8c.html" title="src/tracer.c" alt="" coords="368,83,456,112"/></map>
</div>
</div>
<p><a href="../../d2/d42/rehook_8h_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:ade6dba19bf70e7126a0b3f286fbe55d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#ade6dba19bf70e7126a0b3f286fbe55d8">REHOOK_PER_INSTANCE</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:ade6dba19bf70e7126a0b3f286fbe55d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144a14e08114b6eb6e911ebbfd3914b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#a144a14e08114b6eb6e911ebbfd3914b9">REHOOK_INSTANCE_TIME</a>(level)&#160;&#160;&#160;(<a class="el" href="../../d2/d42/rehook_8h.html#ade6dba19bf70e7126a0b3f286fbe55d8">REHOOK_PER_INSTANCE</a>*(level)*60)</td></tr>
<tr class="separator:a144a14e08114b6eb6e911ebbfd3914b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3cb5602242201354e7414e1f4624792"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#ae3cb5602242201354e7414e1f4624792">REHOOK_WAIT_TIME</a>(level)&#160;&#160;&#160;(( (8&lt;&lt;(level)) - (1&lt;&lt;(level)) ) * 60)</td></tr>
<tr class="separator:ae3cb5602242201354e7414e1f4624792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e8cb2031864165725b4cecebb897e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#a95e8cb2031864165725b4cecebb897e4">CHALLENGE_THRESHOLD</a></td></tr>
<tr class="separator:a95e8cb2031864165725b4cecebb897e4"><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:a0aa68ed5280644af1a48dfc6bc67cb40"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#a0aa68ed5280644af1a48dfc6bc67cb40">rehook_init</a> (void)</td></tr>
<tr class="separator:a0aa68ed5280644af1a48dfc6bc67cb40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd9ab3b97734c31a06ae3dcf475a1b39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39">new_rehook</a> (<a class="el" href="../../d5/d7c/structmap__gnode.html">map_gnode</a> *gnode, int gid, int level, int gnode_count)</td></tr>
<tr class="separator:acd9ab3b97734c31a06ae3dcf475a1b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6ae2d4b03e5a8cc1891cbf553ebb913"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913">rehook</a> (<a class="el" href="../../d5/d7c/structmap__gnode.html">map_gnode</a> *hook_gnode, int hook_level)</td></tr>
<tr class="separator:ae6ae2d4b03e5a8cc1891cbf553ebb913"><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:ab550ecd914996e316fa3fb5e52aa3847"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#ab550ecd914996e316fa3fb5e52aa3847">rehook_mutex</a></td></tr>
<tr class="separator:ab550ecd914996e316fa3fb5e52aa3847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0285644353cb7385e181a63777fca255"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#a0285644353cb7385e181a63777fca255">last_instance_rehook</a></td></tr>
<tr class="separator:a0285644353cb7385e181a63777fca255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419acc34bafd06235d0533d8d7d3c815"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#a419acc34bafd06235d0533d8d7d3c815">total_rehooks</a></td></tr>
<tr class="separator:a419acc34bafd06235d0533d8d7d3c815"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb641e18662d878cd1547a7852d61a59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d42/rehook_8h.html#abb641e18662d878cd1547a7852d61a59">rk_gnode_ip</a></td></tr>
<tr class="separator:abb641e18662d878cd1547a7852d61a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a95e8cb2031864165725b4cecebb897e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define CHALLENGE_THRESHOLD</td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(1&lt;&lt;16) <span class="comment">/* When the gnode X, which must</span></div>
<div class="line"><span class="comment"> rehook, has a gnode_count &gt;= (1&lt;&lt;16) </span></div>
<div class="line"><span class="comment"> it sends a new challenge. */</span></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a144a14e08114b6eb6e911ebbfd3914b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define REHOOK_INSTANCE_TIME</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">level</td><td>)</td>
<td>&#160;&#160;&#160;(<a class="el" href="../../d2/d42/rehook_8h.html#ade6dba19bf70e7126a0b3f286fbe55d8">REHOOK_PER_INSTANCE</a>*(level)*60)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ade6dba19bf70e7126a0b3f286fbe55d8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define REHOOK_PER_INSTANCE&#160;&#160;&#160;8</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae3cb5602242201354e7414e1f4624792"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define REHOOK_WAIT_TIME</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">level</td><td>)</td>
<td>&#160;&#160;&#160;(( (8&lt;&lt;(level)) - (1&lt;&lt;(level)) ) * 60)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="acd9ab3b97734c31a06ae3dcf475a1b39"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void new_rehook </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d5/d7c/structmap__gnode.html">map_gnode</a> *&#160;</td>
<td class="paramname"><em>gnode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>gid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>level</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>gnode_count</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_cgraph.png" border="0" usemap="#d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_cgraph" alt=""/></div>
<map name="d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_cgraph" id="d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="961,249,1017,278"/><area shape="rect" id="node7" href="../../df/dba/rehook_8c.html#a0d2ed4e28a8ba1b0784f7894b1b741d4" title="update_rehook_time" alt="" coords="147,513,285,542"/><area shape="rect" id="node9" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="183,459,249,489"/><area shape="rect" id="node16" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="149,406,283,435"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="1103,778,1172,807"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="967,831,1012,861"/><area shape="rect" id="node14" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="1087,831,1188,861"/><area shape="rect" id="node18" href="../../df/dba/rehook_8c.html#ac1a1eabcfc822d4b6c32c70166d1b688" title="send_challenge" alt="" coords="352,433,464,462"/><area shape="rect" id="node20" href="../../df/dba/rehook_8c.html#a2d7f0474e424b7bc54275385ad1bd83f" title="rehook_compute_new\l_gnode" alt="" coords="333,165,483,212"/><area shape="rect" id="node46" href="../../df/dba/rehook_8c.html#a189b0fef3e2ab710cbcc4b70da149579" title="wait_new_rnode" alt="" coords="351,379,465,409"/><area shape="rect" id="node54" href="../../df/dba/rehook_8c.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="377,777,439,806"/><area shape="rect" id="node22" href="../../d9/d45/gmap_8c.html#ae70fabc2a38bc24442f78bcb1d862a24" title="iptoquadg" alt="" coords="951,302,1028,331"/><area shape="rect" id="node28" href="../../d9/d45/gmap_8c.html#a63189b04abdf98d1dc6c140fe91aa269" title="gidtoipstart" alt="" coords="1095,145,1180,174"/><area shape="rect" id="node32" href="../../d1/d04/hash_8c.html#a72fc128c5f9194101194f55562c44155" title="fnv_32_buf" alt="" coords="563,251,648,281"/><area shape="rect" id="node34" href="../../db/dfb/hash_8h.html#ad1aea1bae314b44e08b53a5b5bf30394" title="xor_int" alt="" coords="575,94,636,123"/><area shape="rect" id="node36" href="../../d9/d45/gmap_8c.html#ac29e30431c4a784f975076039fdbf92b" title="void_gids" alt="" coords="567,147,644,177"/><area shape="rect" id="node24" href="../../d9/d45/gmap_8c.html#a558e1bec08c2060b80372ac25cd8d8f2" title="iptogids" alt="" coords="1104,354,1171,383"/><area shape="rect" id="node30" href="../../d9/d45/gmap_8c.html#a31edfce8493c6d503bff5f88a235e480" title="gnode_from_pos" alt="" coords="1079,301,1196,330"/><area shape="rect" id="node26" href="../../d9/d45/gmap_8c.html#a94609b8ed9b174e8cd3c1a2b98b9006e" title="iptogid" alt="" coords="1247,354,1305,383"/><area shape="rect" id="node38" href="../../d9/d45/gmap_8c.html#a56a9011fb979ad9be0623c8f93d9ef2a" title="increment_gids" alt="" coords="760,201,869,230"/><area shape="rect" id="node41" href="../../d9/d45/gmap_8c.html#a37eac92c42ce5e86eed125c69e1864fa" title="isnot_gmap_void_flag_set" alt="" coords="728,94,901,123"/><area shape="rect" id="node43" href="../../d9/d45/gmap_8c.html#ae3a9c32230094d838a0a3fa62c3d8789" title="is_map_void_flag_set" alt="" coords="741,147,888,177"/><area shape="rect" id="node50" href="../../d9/d45/gmap_8c.html#ab086e11ba60ae3d1d2e0c6a5562dd385" title="gids_cmp" alt="" coords="567,406,644,435"/><area shape="rect" id="node52" href="../../d7/d02/radar_8c.html#a593e03eb8b5f285712ad9bcc8f921d95" title="radar_wait_new_scan" alt="" coords="532,459,679,489"/><area shape="rect" id="node57" href="../../d7/d02/radar_8c.html#a7af513cd53e492b69510bc823c384abb" title="rnl_reset" alt="" coords="569,513,641,542"/><area shape="rect" id="node61" href="../../d9/d45/gmap_8c.html#a83ba076e88f05e88c2d941e5ef9338d3" title="e_rnode_free" alt="" coords="557,1041,653,1070"/><area shape="rect" id="node63" href="../../df/dd8/iptunnel_8c.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_a
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_icgraph.png" border="0" usemap="#d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_icgraph" alt=""/></div>
<map name="d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_icgraph" id="d2/d42/rehook_8h_acd9ab3b97734c31a06ae3dcf475a1b39_icgraph">
<area shape="rect" id="node3" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="147,32,333,61"/><area shape="rect" id="node5" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="383,59,497,88"/><area shape="rect" id="node7" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="559,5,647,35"/><area shape="rect" id="node15" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="560,59,645,88"/><area shape="rect" id="node18" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="547,112,659,141"/><area shape="rect" id="node9" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="707,59,781,88"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="829,59,936,88"/><area shape="rect" id="node13" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="984,59,1035,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ae6ae2d4b03e5a8cc1891cbf553ebb913"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int rehook </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d5/d7c/structmap__gnode.html">map_gnode</a> *&#160;</td>
<td class="paramname"><em>hook_gnode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>hook_level</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_cgraph.png" border="0" usemap="#d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_cgraph" alt=""/></div>
<map name="d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_cgraph" id="d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_cgraph">
<area shape="rect" id="node3" href="../../d7/d02/radar_8c.html#a593e03eb8b5f285712ad9bcc8f921d95" title="radar_wait_new_scan" alt="" coords="120,320,267,349"/><area shape="rect" id="node5" href="../../d7/d02/radar_8c.html#a7af513cd53e492b69510bc823c384abb" title="rnl_reset" alt="" coords="157,373,229,403"/><area shape="rect" id="node11" href="../../d9/d45/gmap_8c.html#a83ba076e88f05e88c2d941e5ef9338d3" title="e_rnode_free" alt="" coords="145,427,241,456"/><area shape="rect" id="node13" href="../../df/dd8/iptunnel_8c.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_all_tunnel_ifs" alt="" coords="132,480,255,509"/><area shape="rect" id="node27" href="../../d1/d6f/igs_8c.html#ab6e977b941c5031d125aed6513e19215" title="reset_igw_nexthop" alt="" coords="128,1533,259,1563"/><area shape="rect" id="node29" href="../../d1/d6f/igs_8c.html#a68b10196ae2d1b448a3097dbf254eb68" title="reset_igws" alt="" coords="568,1392,653,1421"/><area shape="rect" id="node31" href="../../d1/d6f/igs_8c.html#a8188aff5547e21daad2860d6bfdc7070" title="reset_igw_rules" alt="" coords="137,533,249,563"/><area shape="rect" id="node43" href="../../d1/d6f/igs_8c.html#a3df20b00e1530523fdddc24a9987a9b3" title="free_my_igws" alt="" coords="560,1469,661,1499"/><area shape="rect" id="node45" href="../../d2/de6/andna__cache_8c.html#aa7f953fb73883ef4de5496fa974472f3" title="andna_cache_destroy" alt="" coords="119,1587,268,1616"/><area shape="rect" id="node49" href="../../d2/de6/andna__cache_8c.html#aea331db01a63ce8828aa384a0d44dc99" title="counter_c_destroy" alt="" coords="129,1640,257,1669"/><area shape="rect" id="node53" href="../../d2/de6/andna__cache_8c.html#a358d266d1016b5fdb814d9bd724f3f6d" title="rh_cache_flush" alt="" coords="139,1693,248,1723"/><area shape="rect" id="node57" href="../../d3/dc7/hook_8c.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="135,1008,252,1037"/><area shape="rect" id="node97" href="../../d4/d18/andna_8c.html#aaf6fd190d88f1384138cd1ea6e37493e" title="andna_hook" alt="" coords="357,587,448,616"/><area shape="rect" id="node109" href="../../d4/d18/andna_8c.html#a22751676386bfd17dd30f88528ee0f12" title="andna_update_hnames" alt="" coords="116,587,271,616"/><area shape="rect" id="node7" href="../../d7/d02/radar_8c.html#ad267ad57f4ccb3baa02dbf2bbe3e09e1" title="rnl_del" alt="" coords="373,5,432,35"/><area shape="rect" id="node9" href="../../da/d89/inet_8c.html#a428a881d9fbb4d8b4fa5224962fcdd03" title="inet_close" alt="" coords="571,5,651,35"/><area shape="rect" id="node15" href="../../df/dd8/iptunnel_8c.html#a2ad06b901b6a0d7c0f59f82c9762a27f" title="do_get" alt="" coords="372,85,433,115"/><area shape="rect" id="node19" href="../../df/dd8/iptunnel_8c.html#ac4140773b9400374d8142caa1cc14b55" title="del_tunnel_if" alt="" coords="356,191,449,220"/><area shape="rect" id="node17" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="565,59,656,88"/><area shape="rect" id="node21" href="../../df/dd8/iptunnel_8c.html#a770f08840a609f19a4db7cfc47e66778" title="tunnel_del" alt="" coords="571,165,651,195"/><area shape="rect" id="node23" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="741,480,789,509"/><area shape="rect" id="node25" href="../../df/dd8/iptunnel_8c.html#ae2688c7c3ee7d1d10a646644e08f66b5" title="tun_del_tunl" alt="" coords="565,112,656,141"/><area shape="rect" id="node33" href="../../dd/d57/krnl__rule_8c.html#aadededcfcaef4a3aefe5499d6a8142d6" title="rule_flush_table_range" alt="" coords="327,373,479,403"/><area shape="rect" id="node35" href="../../d4/dab/libnetlink_8c.html#af6a834b458ad515cfe591cd720b5a3fd" title="rtnl_open" alt="" coords="573,373,648,403"/><area shape="rect" id="node37" href="../../d4/dab/libnetlink_8c.html#ae723f19314cbb031a26abaee33928b84" title="rtnl_wilddump_request" alt="" coords="535,427,687,456"/><area shape="rect" id="node40" href="../../d4/dab/libnetlink_8c.html#a0c981a8de14fd51a25027ef407e799ca" title="rtnl_dump_filter" alt="" coords="556,269,665,299"/><area shape="rect" id="node47" hr
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_icgraph.png" border="0" usemap="#d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_icgraph" alt=""/></div>
<map name="d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_icgraph" id="d2/d42/rehook_8h_ae6ae2d4b03e5a8cc1891cbf553ebb913_icgraph">
<area shape="rect" id="node3" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="116,59,249,88"/><area shape="rect" id="node5" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="300,59,391,88"/><area shape="rect" id="node7" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="440,32,627,61"/><area shape="rect" id="node9" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="676,59,791,88"/><area shape="rect" id="node11" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="852,5,940,35"/><area shape="rect" id="node19" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="853,59,939,88"/><area shape="rect" id="node22" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="840,112,952,141"/><area shape="rect" id="node13" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="1000,59,1075,88"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1123,59,1229,88"/><area shape="rect" id="node17" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1277,59,1328,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a0aa68ed5280644af1a48dfc6bc67cb40"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void rehook_init </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d42/rehook_8h_a0aa68ed5280644af1a48dfc6bc67cb40_icgraph.png" border="0" usemap="#d2/d42/rehook_8h_a0aa68ed5280644af1a48dfc6bc67cb40_icgraph" alt=""/></div>
<map name="d2/d42/rehook_8h_a0aa68ed5280644af1a48dfc6bc67cb40_icgraph" id="d2/d42/rehook_8h_a0aa68ed5280644af1a48dfc6bc67cb40_icgraph">
<area shape="rect" id="node3" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="139,5,245,35"/><area shape="rect" id="node5" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="293,5,344,35"/></map>
</div>
</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a0285644353cb7385e181a63777fca255"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">time_t last_instance_rehook</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab550ecd914996e316fa3fb5e52aa3847"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int rehook_mutex</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="abb641e18662d878cd1547a7852d61a59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> rk_gnode_ip</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a419acc34bafd06235d0533d8d7d3c815"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int total_rehooks</td>
</tr>
</table>
</div><div class="memdoc">
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../d2/d42/rehook_8h.html">rehook.h</a></li>
<li class="footer">Generated on Wed Feb 19 2014 14:19:15 for The Netsukuku Project by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>
</div>
</body>
</html>