netsukuku/d7/d0e/iptunnel_8h.html
2014-02-19 16:30:40 -08:00

879 lines
94 KiB
HTML

<!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/iptunnel.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 id="projectlogo"><img alt="Logo" src="../../Logo_netsukuku.jpg"/></td>
<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('d7/d0e/iptunnel_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> </div>
<div class="headertitle">
<div class="title">iptunnel.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../dc/d8d/if_8h_source.html">if.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for iptunnel.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/d60/iptunnel_8h__incl.png" border="0" usemap="#src_2iptunnel_8h" alt=""/></div>
<map name="src_2iptunnel_8h" id="src_2iptunnel_8h">
<area shape="rect" id="node3" href="../../dc/d8d/if_8h.html" title="if.h" alt="" coords="56,83,96,112"/><area shape="rect" id="node7" href="../../d6/d4a/inet_8h.html" title="inet.h" alt="" coords="91,160,144,189"/><area shape="rect" id="node9" href="../../dc/d3e/endianness_8h.html" title="endianness.h" alt="" coords="68,237,167,267"/></map>
</div>
</div><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="../../de/d5a/iptunnel_8h__dep__incl.png" border="0" usemap="#src_2iptunnel_8hdep" alt=""/></div>
<map name="src_2iptunnel_8hdep" id="src_2iptunnel_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="../../d1/d6f/igs_8c.html" title="src/igs.c" alt="" coords="112,83,184,112"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html" title="src/iptunnel.c" alt="" coords="208,83,307,112"/><area shape="rect" id="node9" href="../../d1/db7/mark_8c.html" title="src/mark.c" alt="" coords="331,83,413,112"/><area shape="rect" id="node11" href="../../df/dba/rehook_8c.html" title="src/rehook.c" alt="" coords="437,83,531,112"/></map>
</div>
</div>
<p><a href="../../d7/d0e/iptunnel_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:a9e016b965ffdc238961977d6f36179b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a9e016b965ffdc238961977d6f36179b0">DEFAULT_TUNL_PREFIX</a>&#160;&#160;&#160;&quot;tunl&quot;</td></tr>
<tr class="separator:a9e016b965ffdc238961977d6f36179b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac05d27e9fe08cb86715d719d58c7c830"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ac05d27e9fe08cb86715d719d58c7c830">DEFAULT_TUNL_NUMBER</a>&#160;&#160;&#160;0 /* The permanent tunl0 device */</td></tr>
<tr class="separator:ac05d27e9fe08cb86715d719d58c7c830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80c36a5a4809e675087a33d13f0f992"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ae80c36a5a4809e675087a33d13f0f992">DEFAULT_TUNL_IF</a>&#160;&#160;&#160;&quot;tunl0&quot;</td></tr>
<tr class="separator:ae80c36a5a4809e675087a33d13f0f992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39f4d8ea372cffcb3758c6818ff9fea4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a39f4d8ea372cffcb3758c6818ff9fea4">NTK_TUNL_PREFIX</a>&#160;&#160;&#160;&quot;ntk_tunl&quot;</td></tr>
<tr class="separator:a39f4d8ea372cffcb3758c6818ff9fea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c008d167f2195834e054fb3975995a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a8c008d167f2195834e054fb3975995a1">TUNL_STRING</a>&#160;&#160;&#160;&quot;%s%d&quot;</td></tr>
<tr class="separator:a8c008d167f2195834e054fb3975995a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a99f4c768e54244daf60ed7dc50ab55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a3a99f4c768e54244daf60ed7dc50ab55">TUNL_N</a>(prefix, x)&#160;&#160;&#160;prefix, x</td></tr>
<tr class="separator:a3a99f4c768e54244daf60ed7dc50ab55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28878215dd74fb1b9a8fe990e5578c8b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a28878215dd74fb1b9a8fe990e5578c8b">MAX_TUNNEL_IFS</a></td></tr>
<tr class="separator:a28878215dd74fb1b9a8fe990e5578c8b"><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:a8d836353486990302d5e9ab4782ad04f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a8d836353486990302d5e9ab4782ad04f">tunnel_add</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix, int tunl_number)</td></tr>
<tr class="separator:a8d836353486990302d5e9ab4782ad04f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae26d3bdbda86ef56b85bce67f3cb622e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ae26d3bdbda86ef56b85bce67f3cb622e">tunnel_change</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix, int tunl_number)</td></tr>
<tr class="separator:ae26d3bdbda86ef56b85bce67f3cb622e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a770f08840a609f19a4db7cfc47e66778"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a770f08840a609f19a4db7cfc47e66778">tunnel_del</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix, int tunl_number)</td></tr>
<tr class="separator:a770f08840a609f19a4db7cfc47e66778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cb423d75645f7b9fc5d50bd482de44d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a6cb423d75645f7b9fc5d50bd482de44d">tun_add_tunl</a> (<a class="el" href="../../d9/dbe/structinterface.html">interface</a> *ifs, char *tunl_prefix, u_char tunl_number)</td></tr>
<tr class="separator:a6cb423d75645f7b9fc5d50bd482de44d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2688c7c3ee7d1d10a646644e08f66b5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ae2688c7c3ee7d1d10a646644e08f66b5">tun_del_tunl</a> (<a class="el" href="../../d9/dbe/structinterface.html">interface</a> *ifs, char *tunl_prefix, u_char tunl_number)</td></tr>
<tr class="separator:ae2688c7c3ee7d1d10a646644e08f66b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfce586da0d4e2ab0da7c59840bd1fa2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#adfce586da0d4e2ab0da7c59840bd1fa2">init_tunnels_ifs</a> (void)</td></tr>
<tr class="separator:adfce586da0d4e2ab0da7c59840bd1fa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1530909b70d5c7d0d743a455231ab4e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ac1530909b70d5c7d0d743a455231ab4e">set_tunnel_ip</a> (char *tunl_prefix, int tunl_number, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *tunl_ip)</td></tr>
<tr class="separator:ac1530909b70d5c7d0d743a455231ab4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c789631c5972d028bb5a31079ad55fc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a2c789631c5972d028bb5a31079ad55fc">first_free_tunnel_if</a> (void)</td></tr>
<tr class="separator:a2c789631c5972d028bb5a31079ad55fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ad06b901b6a0d7c0f59f82c9762a27f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#a2ad06b901b6a0d7c0f59f82c9762a27f">do_get</a> (char *dev)</td></tr>
<tr class="separator:a2ad06b901b6a0d7c0f59f82c9762a27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade446676cc0926692889f6f6efc3a7ba"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ade446676cc0926692889f6f6efc3a7ba">add_tunnel_if</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix, int tunl_number, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *tunl_ip)</td></tr>
<tr class="separator:ade446676cc0926692889f6f6efc3a7ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4140773b9400374d8142caa1cc14b55"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ac4140773b9400374d8142caa1cc14b55">del_tunnel_if</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix, int tunl_number)</td></tr>
<tr class="separator:ac4140773b9400374d8142caa1cc14b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2b2a63699f0fc83f3e4746afd97c2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d0e/iptunnel_8h.html#ade2b2a63699f0fc83f3e4746afd97c2e">del_all_tunnel_ifs</a> (<a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *remote, <a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *local, char *dev, char *tunl_prefix)</td></tr>
<tr class="separator:ade2b2a63699f0fc83f3e4746afd97c2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ae80c36a5a4809e675087a33d13f0f992"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEFAULT_TUNL_IF&#160;&#160;&#160;&quot;tunl0&quot;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac05d27e9fe08cb86715d719d58c7c830"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEFAULT_TUNL_NUMBER&#160;&#160;&#160;0 /* The permanent tunl0 device */</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9e016b965ffdc238961977d6f36179b0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEFAULT_TUNL_PREFIX&#160;&#160;&#160;&quot;tunl&quot;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a28878215dd74fb1b9a8fe990e5578c8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX_TUNNEL_IFS</td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">24 <span class="comment">/* it must be &gt;= MAX_MULTIPATH_ROUTES,</span></div>
<div class="line"><span class="comment"> since in igs.c we are using a tunnel </span></div>
<div class="line"><span class="comment"> for each nexthop inet-gw */</span></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a39f4d8ea372cffcb3758c6818ff9fea4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NTK_TUNL_PREFIX&#160;&#160;&#160;&quot;ntk_tunl&quot;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3a99f4c768e54244daf60ed7dc50ab55"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define TUNL_N</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">prefix, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">x&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;prefix, x</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8c008d167f2195834e054fb3975995a1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define TUNL_STRING&#160;&#160;&#160;&quot;%s%d&quot;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ade446676cc0926692889f6f6efc3a7ba"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int add_tunnel_if </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>tunl_ip</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="../../d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_cgraph" id="d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a8d836353486990302d5e9ab4782ad04f" title="tunnel_add" alt="" coords="185,975,271,1004"/><area shape="rect" id="node19" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="1205,735,1253,764"/><area shape="rect" id="node27" href="../../df/dd8/iptunnel_8c.html#a6cb423d75645f7b9fc5d50bd482de44d" title="tun_add_tunl" alt="" coords="355,1040,451,1069"/><area shape="rect" id="node30" href="../../df/dd8/iptunnel_8c.html#ac1530909b70d5c7d0d743a455231ab4e" title="set_tunnel_ip" alt="" coords="501,1200,600,1229"/><area shape="rect" id="node68" href="../../df/dbf/route_8c.html#affcc70aa11f4fe6cd320e8cca073ec1a" title="rt_append_subnet_src" alt="" coords="153,860,303,889"/><area shape="rect" id="node130" href="../../d8/d91/krnl__route_8c.html#a74ca7777a62a3e0a5fb5c945d95c9a45" title="route_rp_filter_all_dev" alt="" coords="153,916,303,945"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#a73360bce19d93fa714c0416b5607cb03" title="do_add" alt="" coords="669,963,733,992"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="823,940,935,969"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="1207,261,1252,291"/><area shape="rect" id="node23" href="../../df/dd8/iptunnel_8c.html#a49311ac4866e73bfeb1a66756ceb142d" title="do_add_ioctl" alt="" coords="832,993,925,1023"/><area shape="rect" id="node9" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="1027,941,1117,971"/><area shape="rect" id="node17" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="1004,1045,1140,1075"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="1333,735,1403,764"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="1317,261,1419,291"/><area shape="rect" id="node32" href="../../da/d89/inet_8c.html#a7ee487ce5e94550114761abaee2bc334" title="inet_to_str" alt="" coords="660,1357,743,1387"/><area shape="rect" id="node42" href="../../d7/de2/if_8c.html#af0a0c8beb31d1b114cdbb60cbd7ae59c" title="set_all_ifs" alt="" coords="661,1200,741,1229"/><area shape="rect" id="node44" href="../../d7/de2/if_8c.html#abea5b6f5cd28944310eae2ab32026a4a" title="set_dev_down" alt="" coords="648,1147,755,1176"/><area shape="rect" id="node52" href="../../d7/de2/if_8c.html#a062746ee276b608fcd9360c59364d537" title="set_dev_up" alt="" coords="657,1253,745,1283"/><area shape="rect" id="node55" href="../../d7/de2/if_8c.html#a80c11a2ffa82194213b455980e54d2bd" title="set_all_dev_ip" alt="" coords="649,1093,753,1123"/><area shape="rect" id="node34" href="../../da/d89/inet_8c.html#a9d2fb5508608cf4b8f5347d2edbb276b" title="ipraw_to_str" alt="" coords="832,1357,925,1387"/><area shape="rect" id="node36" href="../../da/d89/inet_8c.html#a75c2848f706809db4a3a8999d46118dc" title="inet_htonl" alt="" coords="1191,1409,1268,1439"/><area shape="rect" id="node38" href="../../d0/ddb/misc_8c.html#a7b5a2df1e2b36c954653fd3e786a5405" title="swap_ints" alt="" coords="1328,1409,1408,1439"/><area shape="rect" id="node40" href="../../d0/ddb/misc_8c.html#acb6548d316f7cd3f28e77c2bd4eb3e33" title="swap_array" alt="" coords="1468,1409,1556,1439"/><area shape="rect" id="node46" href="../../d7/de2/if_8c.html#a8ae45d4359817648686b7b13713508a4" title="set_flags" alt="" coords="841,1228,916,1257"/><area shape="rect" id="node48" href="../../da/d89/inet_8c.html#a49b750fe581d1da5e169adf3c7a14af1" title="new_socket" alt="" coords="1027,1203,1117,1232"/><area shape="rect" id="node57" href="../../d7/de2/if_8c.html#a29300a7fc292e542e82b441736978c3d" title="set_dev_ip" alt="" coords="836,1097,921,1127"/><area shape="rect" id="node61" href="../../da/d89/inet_8c.html#a8eac5edae4e220edc0f4a974dd5749d3" title="inet_to_sockaddr" alt="" coords="1012,1149,1132,1179"/><area shape="rect" id="node65" href="../../d1/d71/ll__map_8c.html#a3ccff7ca25a76d2c7d2a1dbcafb2678e" title="ll_name_to_index" alt="" coords="1011,683,1133,712"/><area shape="rect" id="node71" href="../../da/d89/inet_8c.html#a284a1d36cd80931c6d96aba2e6a6ae46" title="inet_copy" alt="" coords="364,860,441,889"/><area shape="rect" id="node74" href="../../d8/d91/krnl__route_8c.html#ab38863bfac1a18074aea369cc767847c" title="route_append" alt="" coords="353,717,452,747"/><area shape="rect" id="node76" href="../../d8/d91/krnl__route_8c.html#a4cda4862ee9002730e4a8b8a12ae78c6" title="route_exec" alt="" coords="508,651,593,680"/><area shape="rect" id="node78" href="../../d4/dab/libnetlink_8c.html#af6a834b458ad515cfe591cd720b5a3fd" title="rtnl_open" alt="" coords="664,833,739,863"/><area shape="rect" id="node83" href="../../d1/d71/ll__map_8c.html#ac4adbf41fc1b3fd4d880768bf45b1f4c" title="ll_init_map" alt="" coords="660,157,743,187"/><area shape="rect" id="node100" href="../../d4/dab/libnetlink_8c.html#a308c9418a2d83e4e9ba8d8ed0b7bbe28" title="addattr_l" alt="" coords="1036,576,1108,605"/><area shape="rect" id="node105" href="../../d4/dab/libnetlink_8c.html#ab9339d56ad1804972e905306791fabbc" title="addattr32" alt="" coords="1035,629,1109,659"/><area shape="rect" id="node108" href="../../d8/d91/krnl__route_8c.html#a5ac018a9fffaefc7cf7ad94e794d7c18" title="add_nexthops" alt="" coords="828,523,929,552"/><area shape="rect" id="node124" href="../../d4/dab/libnetlink_8c.html#a1e674ac9211ad8a2bd6200b04860b203" title="rtnl_talk" alt="" coords="1039,315,1105,344"/><area shape="rect" id="node128" href="../../d4/dab/libnetlink_8c.html#abe941df1a4b224511e5aba5fbeda5373" title="rtnl_close" alt="" coords="663,728,740,757"/><area shape="rect" id="node80" href="../../d4/dab/libnetlink_8c.html#adcef0338bcf67064f61e984ea6542a4f" title="rtnl_open_byproto" alt="" coords="816,835,941,864"/><area shape="rect" id="node85" href="../../d4/dab/libnetlink_8c.html#ae723f19314cbb031a26abaee33928b84" title="rtnl_wilddump_request" alt="" coords="803,157,955,187"/><area shape="rect" id="node88" href="../../d4/dab/libnetlink_8c.html#a0c981a8de14fd51a25027ef407e799ca" title="rtnl_dump_filter" alt="" coords="1017,208,1127,237"/><area shape="rect" id="node92" href="../../d1/d71/ll__map_8c.html#aa74dd48e5206c9a8c5b36307e023fa58" title="ll_remember_index" alt="" coords="813,104,944,133"/><area shape="rect" id="node94" href="../../d4/dab/libnetlink_8c.html#aed575cd447219f8c2f67e2011aaee4d8" title="parse_rtattr" alt="" coords="1028,261,1116,291"/><area shape="rect" id="node97" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="1039,104,1105,133"/><area shape="rect" id="node114" href="../../d4/dab/libnetlink_8c.html#accbfecaa74aaf78e2c0ca021954bdad9" title="rta_addattr32" alt="" coords="1023,469,1121,499"/><area shape="rect" id="node117" href="../../d4/dab/libnetlink_8c.html#a9788836cab7c0fa68a06532af4c91e19" title="rta_addattr_l" alt="" coords="1025,523,1119,552"/><area shape="rect" id="node121" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="1044,888,1100,917"/><area shape="rect" id="node132" href="../../d8/d91/krnl__route_8c.html#ab4a91fd7ee58aa30f8ffa83ff10ac8b2" title="route_rp_filter" alt="" coords="651,888,752,917"/><area shape="rect" id="node134" href="../../d2/dab/xmalloc_8c.html#ad7ead2fc5daad78a7f124e173863b16e" title="xzalloc" alt="" coords="848,261,909,291"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_icgraph" id="d7/d0e/iptunnel_8h_ade446676cc0926692889f6f6efc3a7ba_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="153,199,303,228"/><area shape="rect" id="node5" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1253,153,1341,183"/><area shape="rect" id="node35" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="900,305,1036,335"/><area shape="rect" id="node38" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="544,224,667,253"/><area shape="rect" id="node43" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="353,108,495,137"/><area shape="rect" id="node7" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1421,152,1539,181"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="2859,227,2909,256"/><area shape="rect" id="node11" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1587,151,1648,180"/><area shape="rect" id="node13" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1697,151,1831,180"/><area shape="rect" id="node15" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="1881,151,1972,180"/><area shape="rect" id="node17" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2021,151,2208,180"/><area shape="rect" id="node19" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2257,149,2372,179"/><area shape="rect" id="node21" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2433,93,2521,123"/><area shape="rect" id="node28" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2435,200,2520,229"/><area shape="rect" id="node31" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2421,147,2533,176"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2581,173,2656,203"/><area shape="rect" id="node25" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2704,200,2811,229"/><area shape="rect" id="node40" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="715,237,851,267"/><area shape="rect" id="node45" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="545,100,665,129"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="740,100,825,129"/><area shape="rect" id="node49" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="903,100,1033,129"/><area shape="rect" id="node51" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1087,100,1172,129"/><area shape="rect" id="node53" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1223,100,1372,129"/><area shape="rect" id="node57" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1428,44,1532,73"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ade2b2a63699f0fc83f3e4746afd97c2e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void del_all_tunnel_ifs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</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="../../d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_cgraph" id="d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a2ad06b901b6a0d7c0f59f82c9762a27f" title="do_get" alt="" coords="461,64,523,93"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#ac4140773b9400374d8142caa1cc14b55" title="del_tunnel_if" alt="" coords="177,189,271,219"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="757,5,848,35"/><area shape="rect" id="node9" href="../../df/dd8/iptunnel_8c.html#a770f08840a609f19a4db7cfc47e66778" title="tunnel_del" alt="" coords="327,163,407,192"/><area shape="rect" id="node24" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="947,164,995,193"/><area shape="rect" id="node31" href="../../df/dd8/iptunnel_8c.html#ae2688c7c3ee7d1d10a646644e08f66b5" title="tun_del_tunl" alt="" coords="321,267,412,296"/><area shape="rect" id="node11" href="../../df/dd8/iptunnel_8c.html#a3d7c2cc0202361dd1af1c18cd0cd5604" title="do_del" alt="" coords="463,163,521,192"/><area shape="rect" id="node13" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="572,84,684,113"/><area shape="rect" id="node27" href="../../df/dd8/iptunnel_8c.html#a4627dc08c8aea426c59b94f85b339c0f" title="do_del_ioctl" alt="" coords="583,163,673,192"/><area shape="rect" id="node16" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="780,59,825,88"/><area shape="rect" id="node22" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="735,112,871,141"/><area shape="rect" id="node18" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="1071,112,1140,141"/><area shape="rect" id="node20" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="920,111,1021,140"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_icgraph" id="d7/d0e/iptunnel_8h_ade2b2a63699f0fc83f3e4746afd97c2e_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="385,155,529,202"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="177,215,335,262"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="225,108,287,137"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1465,141,1572,171"/><area shape="rect" id="node7" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1624,193,1675,223"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="1281,224,1412,253"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="1461,245,1576,275"/><area shape="rect" id="node19" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="391,103,524,132"/><area shape="rect" id="node21" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="580,103,671,132"/><area shape="rect" id="node23" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="720,55,907,84"/><area shape="rect" id="node25" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="956,59,1071,88"/><area shape="rect" id="node27" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="1132,59,1220,88"/><area shape="rect" id="node32" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="1133,112,1219,141"/><area shape="rect" id="node35" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="1120,5,1232,35"/><area shape="rect" id="node29" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="1309,85,1384,115"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ac4140773b9400374d8142caa1cc14b55"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int del_tunnel_if </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</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="../../d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_cgraph" id="d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a770f08840a609f19a4db7cfc47e66778" title="tunnel_del" alt="" coords="156,163,236,192"/><area shape="rect" id="node19" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="776,164,824,193"/><area shape="rect" id="node26" href="../../df/dd8/iptunnel_8c.html#ae2688c7c3ee7d1d10a646644e08f66b5" title="tun_del_tunl" alt="" coords="151,267,241,296"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#a3d7c2cc0202361dd1af1c18cd0cd5604" title="do_del" alt="" coords="292,163,351,192"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="401,84,513,113"/><area shape="rect" id="node22" href="../../df/dd8/iptunnel_8c.html#a4627dc08c8aea426c59b94f85b339c0f" title="do_del_ioctl" alt="" coords="412,163,503,192"/><area shape="rect" id="node9" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="587,5,677,35"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="609,59,655,88"/><area shape="rect" id="node17" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="564,112,700,141"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="900,112,969,141"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="749,111,851,140"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_icgraph" id="d7/d0e/iptunnel_8h_ac4140773b9400374d8142caa1cc14b55_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="151,164,300,193"/><area shape="rect" id="node61" href="../../d7/d0e/iptunnel_8h.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_all_tunnel_ifs" alt="" coords="1419,416,1541,445"/><area shape="rect" id="node5" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1251,60,1339,89"/><area shape="rect" id="node35" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="897,8,1033,37"/><area shape="rect" id="node38" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="541,337,664,367"/><area shape="rect" id="node43" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="351,164,492,193"/><area shape="rect" id="node7" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1421,164,1539,193"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="3048,228,3099,257"/><area shape="rect" id="node11" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1639,287,1700,316"/><area shape="rect" id="node13" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1804,287,1937,316"/><area shape="rect" id="node15" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="1999,287,2089,316"/><area shape="rect" id="node17" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2144,317,2331,347"/><area shape="rect" id="node19" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2380,305,2495,335"/><area shape="rect" id="node21" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2556,239,2644,268"/><area shape="rect" id="node28" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2557,292,2643,321"/><area shape="rect" id="node31" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2544,345,2656,375"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2733,292,2808,321"/><area shape="rect" id="node25" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2889,292,2996,321"/><area shape="rect" id="node40" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="712,360,848,389"/><area shape="rect" id="node45" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="543,164,663,193"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="737,139,823,168"/><area shape="rect" id="node49" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="900,132,1031,161"/><area shape="rect" id="node51" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1084,125,1169,155"/><area shape="rect" id="node53" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1220,164,1369,193"/><area shape="rect" id="node57" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1992,112,2096,141"/><area shape="rect" id="node63" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="1799,411,1943,458"/><area shape="rect" id="node66" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="1591,470,1748,517"/><area shape="rect" id="node68" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="2705,472,2836,501"/><area shape="rect" id="node70" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="2885,452,3000,481"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a2ad06b901b6a0d7c0f59f82c9762a27f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int do_get </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em></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="../../d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_cgraph" id="d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="116,5,207,35"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_icgraph" id="d7/d0e/iptunnel_8h_a2ad06b901b6a0d7c0f59f82c9762a27f_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_all_tunnel_ifs" alt="" coords="115,164,237,193"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="495,155,639,202"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="287,215,444,262"/><area shape="rect" id="node19" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="335,108,396,137"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1575,141,1681,171"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1733,193,1784,223"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="1391,224,1521,253"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="1571,245,1685,275"/><area shape="rect" id="node21" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="500,103,633,132"/><area shape="rect" id="node23" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="689,103,780,132"/><area shape="rect" id="node25" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="829,55,1016,84"/><area shape="rect" id="node27" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="1065,59,1180,88"/><area shape="rect" id="node29" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="1241,59,1329,88"/><area shape="rect" id="node34" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="1243,112,1328,141"/><area shape="rect" id="node37" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="1229,5,1341,35"/><area shape="rect" id="node31" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="1419,85,1493,115"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a2c789631c5972d028bb5a31079ad55fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int first_free_tunnel_if </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="adfce586da0d4e2ab0da7c59840bd1fa2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void init_tunnels_ifs </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="../../d7/d0e/iptunnel_8h_adfce586da0d4e2ab0da7c59840bd1fa2_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_adfce586da0d4e2ab0da7c59840bd1fa2_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_adfce586da0d4e2ab0da7c59840bd1fa2_icgraph" id="d7/d0e/iptunnel_8h_adfce586da0d4e2ab0da7c59840bd1fa2_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="164,5,308,51"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="357,13,464,43"/><area shape="rect" id="node7" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="512,13,563,43"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ac1530909b70d5c7d0d743a455231ab4e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int set_tunnel_ip </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>tunl_ip</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="../../d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_cgraph" id="d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_cgraph">
<area shape="rect" id="node3" href="../../da/d89/inet_8c.html#a7ee487ce5e94550114761abaee2bc334" title="inet_to_str" alt="" coords="164,272,247,301"/><area shape="rect" id="node13" href="../../d7/de2/if_8c.html#af0a0c8beb31d1b114cdbb60cbd7ae59c" title="set_all_ifs" alt="" coords="165,35,245,64"/><area shape="rect" id="node15" href="../../d7/de2/if_8c.html#abea5b6f5cd28944310eae2ab32026a4a" title="set_dev_down" alt="" coords="152,141,259,171"/><area shape="rect" id="node21" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="635,88,683,117"/><area shape="rect" id="node26" href="../../d7/de2/if_8c.html#a062746ee276b608fcd9360c59364d537" title="set_dev_up" alt="" coords="161,88,249,117"/><area shape="rect" id="node29" href="../../d7/de2/if_8c.html#a80c11a2ffa82194213b455980e54d2bd" title="set_all_dev_ip" alt="" coords="153,195,257,224"/><area shape="rect" id="node5" href="../../da/d89/inet_8c.html#a9d2fb5508608cf4b8f5347d2edbb276b" title="ipraw_to_str" alt="" coords="307,285,400,315"/><area shape="rect" id="node7" href="../../da/d89/inet_8c.html#a75c2848f706809db4a3a8999d46118dc" title="inet_htonl" alt="" coords="620,271,697,300"/><area shape="rect" id="node9" href="../../d0/ddb/misc_8c.html#a7b5a2df1e2b36c954653fd3e786a5405" title="swap_ints" alt="" coords="757,271,837,300"/><area shape="rect" id="node11" href="../../d0/ddb/misc_8c.html#acb6548d316f7cd3f28e77c2bd4eb3e33" title="swap_array" alt="" coords="897,271,985,300"/><area shape="rect" id="node17" href="../../d7/de2/if_8c.html#a8ae45d4359817648686b7b13713508a4" title="set_flags" alt="" coords="316,88,391,117"/><area shape="rect" id="node19" href="../../da/d89/inet_8c.html#a49b750fe581d1da5e169adf3c7a14af1" title="new_socket" alt="" coords="464,88,555,117"/><area shape="rect" id="node23" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="763,113,832,143"/><area shape="rect" id="node31" href="../../d7/de2/if_8c.html#a29300a7fc292e542e82b441736978c3d" title="set_dev_ip" alt="" coords="311,192,396,221"/><area shape="rect" id="node35" href="../../da/d89/inet_8c.html#a8eac5edae4e220edc0f4a974dd5749d3" title="inet_to_sockaddr" alt="" coords="449,245,569,275"/><area shape="rect" id="node43" href="../../d1/d71/ll__map_8c.html#a3ccff7ca25a76d2c7d2a1dbcafb2678e" title="ll_name_to_index" alt="" coords="448,192,571,221"/><area shape="rect" id="node38" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="636,179,681,208"/><area shape="rect" id="node41" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="747,179,848,208"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_icgraph" id="d7/d0e/iptunnel_8h_ac1530909b70d5c7d0d743a455231ab4e_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ade446676cc0926692889f6f6efc3a7ba" title="add_tunnel_if" alt="" coords="152,199,251,228"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="300,199,449,228"/><area shape="rect" id="node7" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1400,153,1488,183"/><area shape="rect" id="node37" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="1047,305,1183,335"/><area shape="rect" id="node40" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="691,224,813,253"/><area shape="rect" id="node45" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="500,108,641,137"/><area shape="rect" id="node9" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1568,152,1685,181"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="3005,227,3056,256"/><area shape="rect" id="node13" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1733,151,1795,180"/><area shape="rect" id="node15" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1844,151,1977,180"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="2028,151,2119,180"/><area shape="rect" id="node19" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2168,151,2355,180"/><area shape="rect" id="node21" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2404,149,2519,179"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2580,93,2668,123"/><area shape="rect" id="node30" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2581,200,2667,229"/><area shape="rect" id="node33" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2568,147,2680,176"/><area shape="rect" id="node25" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2728,173,2803,203"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2851,200,2957,229"/><area shape="rect" id="node42" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="861,237,997,267"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="692,100,812,129"/><area shape="rect" id="node49" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="887,100,972,129"/><area shape="rect" id="node51" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="1049,100,1180,129"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1233,100,1319,129"/><area shape="rect" id="node55" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1369,100,1519,129"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1575,44,1679,73"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a6cb423d75645f7b9fc5d50bd482de44d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int tun_add_tunl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d9/dbe/structinterface.html">interface</a> *&#160;</td>
<td class="paramname"><em>ifs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">u_char&#160;</td>
<td class="paramname"><em>tunl_number</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="../../d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_cgraph" id="d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="151,5,287,35"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="336,5,384,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="433,5,503,35"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_icgraph" id="d7/d0e/iptunnel_8h_a6cb423d75645f7b9fc5d50bd482de44d_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ade446676cc0926692889f6f6efc3a7ba" title="add_tunnel_if" alt="" coords="149,199,248,228"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="297,199,447,228"/><area shape="rect" id="node7" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1397,153,1485,183"/><area shape="rect" id="node37" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="1044,305,1180,335"/><area shape="rect" id="node40" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="688,224,811,253"/><area shape="rect" id="node45" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="497,108,639,137"/><area shape="rect" id="node9" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1565,152,1683,181"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="3003,227,3053,256"/><area shape="rect" id="node13" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1731,151,1792,180"/><area shape="rect" id="node15" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1841,151,1975,180"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="2025,151,2116,180"/><area shape="rect" id="node19" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2165,151,2352,180"/><area shape="rect" id="node21" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2401,149,2516,179"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2577,93,2665,123"/><area shape="rect" id="node30" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2579,200,2664,229"/><area shape="rect" id="node33" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2565,147,2677,176"/><area shape="rect" id="node25" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2725,173,2800,203"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2848,200,2955,229"/><area shape="rect" id="node42" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="859,237,995,267"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="689,100,809,129"/><area shape="rect" id="node49" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="884,100,969,129"/><area shape="rect" id="node51" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="1047,100,1177,129"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1231,100,1316,129"/><area shape="rect" id="node55" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1367,100,1516,129"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1572,44,1676,73"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ae2688c7c3ee7d1d10a646644e08f66b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int tun_del_tunl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../d9/dbe/structinterface.html">interface</a> *&#160;</td>
<td class="paramname"><em>ifs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">u_char&#160;</td>
<td class="paramname"><em>tunl_number</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 caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ae2688c7c3ee7d1d10a646644e08f66b5_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ae2688c7c3ee7d1d10a646644e08f66b5_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ae2688c7c3ee7d1d10a646644e08f66b5_icgraph" id="d7/d0e/iptunnel_8h_ae2688c7c3ee7d1d10a646644e08f66b5_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ac4140773b9400374d8142caa1cc14b55" title="del_tunnel_if" alt="" coords="148,288,241,317"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="292,164,441,193"/><area shape="rect" id="node63" href="../../d7/d0e/iptunnel_8h.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_all_tunnel_ifs" alt="" coords="1560,416,1683,445"/><area shape="rect" id="node7" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1392,60,1480,89"/><area shape="rect" id="node37" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="1039,8,1175,37"/><area shape="rect" id="node40" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="683,337,805,367"/><area shape="rect" id="node45" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="492,164,633,193"/><area shape="rect" id="node9" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1563,164,1680,193"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="3189,228,3240,257"/><area shape="rect" id="node13" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1780,287,1841,316"/><area shape="rect" id="node15" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1945,287,2079,316"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="2140,287,2231,316"/><area shape="rect" id="node19" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2285,317,2472,347"/><area shape="rect" id="node21" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2521,305,2636,335"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2697,239,2785,268"/><area shape="rect" id="node30" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2699,292,2784,321"/><area shape="rect" id="node33" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2685,345,2797,375"/><area shape="rect" id="node25" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2875,292,2949,321"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="3031,292,3137,321"/><area shape="rect" id="node42" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="853,360,989,389"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="684,164,804,193"/><area shape="rect" id="node49" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="879,139,964,168"/><area shape="rect" id="node51" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="1041,132,1172,161"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1225,125,1311,155"/><area shape="rect" id="node55" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1361,164,1511,193"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="2133,112,2237,141"/><area shape="rect" id="node65" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="1940,411,2084,458"/><area shape="rect" id="node68" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="1732,470,1889,517"/><area shape="rect" id="node70" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="2847,472,2977,501"/><area shape="rect" id="node72" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="3027,452,3141,481"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a8d836353486990302d5e9ab4782ad04f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int tunnel_add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</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="../../d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_cgraph" id="d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a73360bce19d93fa714c0416b5607cb03" title="do_add" alt="" coords="139,59,203,88"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="252,59,364,88"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="460,5,505,35"/><area shape="rect" id="node21" href="../../df/dd8/iptunnel_8c.html#a49311ac4866e73bfeb1a66756ceb142d" title="do_add_ioctl" alt="" coords="261,139,355,168"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="437,59,528,88"/><area shape="rect" id="node15" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="415,112,551,141"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="751,59,820,88"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="600,57,701,87"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="627,112,675,141"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_icgraph" id="d7/d0e/iptunnel_8h_a8d836353486990302d5e9ab4782ad04f_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ade446676cc0926692889f6f6efc3a7ba" title="add_tunnel_if" alt="" coords="139,199,237,228"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="287,199,436,228"/><area shape="rect" id="node7" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1387,153,1475,183"/><area shape="rect" id="node37" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="1033,305,1169,335"/><area shape="rect" id="node40" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="677,224,800,253"/><area shape="rect" id="node45" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="487,108,628,137"/><area shape="rect" id="node9" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1555,152,1672,181"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="2992,227,3043,256"/><area shape="rect" id="node13" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1720,151,1781,180"/><area shape="rect" id="node15" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1831,151,1964,180"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="2015,151,2105,180"/><area shape="rect" id="node19" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2155,151,2341,180"/><area shape="rect" id="node21" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2391,149,2505,179"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2567,93,2655,123"/><area shape="rect" id="node30" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2568,200,2653,229"/><area shape="rect" id="node33" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2555,147,2667,176"/><area shape="rect" id="node25" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2715,173,2789,203"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2837,200,2944,229"/><area shape="rect" id="node42" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="848,237,984,267"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="679,100,799,129"/><area shape="rect" id="node49" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="873,100,959,129"/><area shape="rect" id="node51" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="1036,100,1167,129"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1220,100,1305,129"/><area shape="rect" id="node55" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1356,100,1505,129"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1561,44,1665,73"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ae26d3bdbda86ef56b85bce67f3cb622e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int tunnel_change </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</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="../../d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_cgraph" id="d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a73360bce19d93fa714c0416b5607cb03" title="do_add" alt="" coords="160,59,224,88"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="273,59,385,88"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="481,5,527,35"/><area shape="rect" id="node21" href="../../df/dd8/iptunnel_8c.html#a49311ac4866e73bfeb1a66756ceb142d" title="do_add_ioctl" alt="" coords="283,139,376,168"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="459,59,549,88"/><area shape="rect" id="node15" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="436,112,572,141"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="772,59,841,88"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="621,57,723,87"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="648,112,696,141"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_icgraph" id="d7/d0e/iptunnel_8h_ae26d3bdbda86ef56b85bce67f3cb622e_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="161,5,305,51"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="355,13,461,43"/><area shape="rect" id="node7" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="509,13,560,43"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a770f08840a609f19a4db7cfc47e66778"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int tunnel_del </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>remote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> *&#160;</td>
<td class="paramname"><em>local</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>tunl_prefix</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tunl_number</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="../../d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_cgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_cgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_cgraph" id="d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_cgraph">
<area shape="rect" id="node3" href="../../df/dd8/iptunnel_8c.html#a3d7c2cc0202361dd1af1c18cd0cd5604" title="do_del" alt="" coords="137,105,196,135"/><area shape="rect" id="node5" href="../../df/dd8/iptunnel_8c.html#a883fef533cc97f76ab55c913e5758622" title="fill_tunnel_parm" alt="" coords="247,72,359,101"/><area shape="rect" id="node20" href="../../df/dd8/iptunnel_8c.html#a4627dc08c8aea426c59b94f85b339c0f" title="do_del_ioctl" alt="" coords="257,139,348,168"/><area shape="rect" id="node7" href="../../df/dd8/iptunnel_8c.html#aea667cde17b521176760c01bfa180537" title="do_get_ioctl" alt="" coords="432,5,523,35"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="455,59,500,88"/><area shape="rect" id="node15" href="../../df/dd8/iptunnel_8c.html#ae30c8ce1aa0a2b6bdce5e67310941fa6" title="do_ioctl_get_ifindex" alt="" coords="409,112,545,141"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="745,87,815,116"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="595,85,696,115"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="621,139,669,168"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_icgraph.png" border="0" usemap="#d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_icgraph" alt=""/></div>
<map name="d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_icgraph" id="d7/d0e/iptunnel_8h_a770f08840a609f19a4db7cfc47e66778_icgraph">
<area shape="rect" id="node3" href="../../d7/d0e/iptunnel_8h.html#ac4140773b9400374d8142caa1cc14b55" title="del_tunnel_if" alt="" coords="137,288,231,317"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="281,164,431,193"/><area shape="rect" id="node63" href="../../d7/d0e/iptunnel_8h.html#ade2b2a63699f0fc83f3e4746afd97c2e" title="del_all_tunnel_ifs" alt="" coords="1549,416,1672,445"/><area shape="rect" id="node7" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1381,60,1469,89"/><area shape="rect" id="node37" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="1028,8,1164,37"/><area shape="rect" id="node40" href="../../da/dd7/igs_8h.html#a68583c93468fa447635d641f93b040ce" title="igw_store_bblock" alt="" coords="672,337,795,367"/><area shape="rect" id="node45" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="481,164,623,193"/><area shape="rect" id="node9" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1552,164,1669,193"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="3179,228,3229,257"/><area shape="rect" id="node13" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1769,287,1831,316"/><area shape="rect" id="node15" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1935,287,2068,316"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="2129,287,2220,316"/><area shape="rect" id="node19" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="2275,317,2461,347"/><area shape="rect" id="node21" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="2511,305,2625,335"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2687,239,2775,268"/><area shape="rect" id="node30" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2688,292,2773,321"/><area shape="rect" id="node33" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2675,345,2787,375"/><area shape="rect" id="node25" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2864,292,2939,321"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="3020,292,3127,321"/><area shape="rect" id="node42" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="843,360,979,389"/><area shape="rect" id="node47" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="673,164,793,193"/><area shape="rect" id="node49" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="868,139,953,168"/><area shape="rect" id="node51" href="../../d7/d02/radar_8c.html#ab10b73e523085803cf8a5863ed9994f9" title="radar_qspn_send_t" alt="" coords="1031,132,1161,161"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1215,125,1300,155"/><area shape="rect" id="node55" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="1351,164,1500,193"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="2123,112,2227,141"/><area shape="rect" id="node65" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="1929,411,2073,458"/><area shape="rect" id="node68" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="1721,470,1879,517"/><area shape="rect" id="node70" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="2836,472,2967,501"/><area shape="rect" id="node72" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="3016,452,3131,481"/></map>
</div>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../d7/d0e/iptunnel_8h.html">iptunnel.h</a></li>
<li class="footer">Generated on Wed Feb 19 2014 16:29: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>