netsukuku/d4/d08/misc_8h.html

970 lines
96 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>The Netsukuku Project: src/misc.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;">
2014-02-20 00:30:40 +00:00
<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('d4/d08/misc_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">misc.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/da6/misc_8h__dep__incl.png" border="0" usemap="#src_2misc_8hdep" alt=""/></div>
<map name="src_2misc_8hdep" id="src_2misc_8hdep">
<area shape="rect" id="node3" href="../../d4/d43/request_8h.html" title="src/request.h" alt="" coords="860,83,959,112"/><area shape="rect" id="node64" href="../../dc/d54/common_8h.html" title="src/common.h" alt="" coords="1991,160,2095,189"/><area shape="rect" id="node5" href="../../d6/da2/accept_8c.html" title="src/accept.c" alt="" coords="1277,160,1371,189"/><area shape="rect" id="node7" href="../../d4/d18/andna_8c.html" title="src/andna.c" alt="" coords="488,315,579,344"/><area shape="rect" id="node9" href="../../d5/d89/pkts_8h.html" title="src/pkts.h" alt="" coords="601,160,681,189"/><area shape="rect" id="node14" href="../../db/d6b/dns__wrapper_8c.html" title="src/dns_wrapper.c" alt="" coords="219,315,347,344"/><area shape="rect" id="node16" href="../../d3/dc7/hook_8c.html" title="src/hook.c" alt="" coords="5,315,88,344"/><area shape="rect" id="node18" href="../../db/de6/qspn_8c.html" title="src/qspn.c" alt="" coords="112,315,195,344"/><area shape="rect" id="node20" href="../../df/dba/rehook_8c.html" title="src/rehook.c" alt="" coords="371,315,464,344"/><area shape="rect" id="node22" href="../../d6/d62/tracer_8c.html" title="src/tracer.c" alt="" coords="1245,315,1333,344"/><area shape="rect" id="node32" href="../../d4/d3b/netsukuku_8c.html" title="src/netsukuku.c" alt="" coords="988,315,1103,344"/><area shape="rect" id="node35" href="../../dc/d21/daemon_8c.html" title="src/daemon.c" alt="" coords="704,237,805,267"/><area shape="rect" id="node39" href="../../d1/d6f/igs_8c.html" title="src/igs.c" alt="" coords="829,237,901,267"/><area shape="rect" id="node42" href="../../df/d05/pkts_8c.html" title="src/pkts.c" alt="" coords="925,237,1005,267"/><area shape="rect" id="node45" href="../../d7/d02/radar_8c.html" title="src/radar.c" alt="" coords="1029,237,1112,267"/><area shape="rect" id="node48" href="../../df/dbf/route_8c.html" title="src/route.c" alt="" coords="1136,237,1219,267"/><area shape="rect" id="node60" href="../../dd/d23/request_8c.html" title="src/request.c" alt="" coords="1155,160,1253,189"/><area shape="rect" id="node11" href="../../da/db5/tracer_8h.html" title="src/tracer.h" alt="" coords="275,237,363,267"/><area shape="rect" id="node24" href="../../d5/d05/andna_8h.html" title="src/andna.h" alt="" coords="488,237,579,267"/><area shape="rect" id="node27" href="../../de/d85/andns_8c.html" title="src/andns.c" alt="" coords="1728,315,1819,344"/><area shape="rect" id="node29" href="../../d3/d98/andns__snsd_8c.html" title="src/andns_snsd.c" alt="" coords="603,315,728,344"/><area shape="rect" id="node67" href="../../d2/de6/andna__cache_8c.html" title="src/andna_cache.c" alt="" coords="2181,237,2312,267"/><area shape="rect" id="node70" href="../../db/d73/bmap_8c.html" title="src/bmap.c" alt="" coords="2336,237,2421,267"/><area shape="rect" id="node72" href="../../d7/d99/conf_8c.html" title="src/conf.c" alt="" coords="2445,237,2525,267"/><area shape="rect" id="node76" href="../../d9/dfc/endianness_8c.html" title="src/endianness.c" alt="" coords="2549,237,2669,267"/><area shape="rect" id="node78" href="../../d9/d45/gmap_8c.html" title="src/gmap.c" alt="" coords="2693,237,2779,267"/><area shape="rect" id="node81" href="../../d7/de2/if_8c.html" title="src/if.c" alt="" coords="2803,237,2864,267"/><area shape="rect" id="node84" href="../../da/d89/inet_8c.html" title="src/inet.c" alt="" coords="2888,237,2963,267"/><area shape="rect" id="node86" href="../../df/dd8/iptunnel_8c.html" title="src/iptunnel.c" alt="" coords="2987,237,3085,267"/><area shape="rect" id="node88" href="../../d8/d91/krnl__route_8c.html" title="src/krnl_route.c" alt="" coords="3109,237,3221,267"/><area shape="rect" id="node90" href="../../dd/d57/krnl__rule_8c.html" title="src/krnl_rule.c" alt="" coords="3245,237,3349,267"/><area shape="rect" id="node92" href="../../d3/d7a/map_8c.html" title="src/map.c" alt="" coords="3373,237,3453,267"/><area shape="rect" id="node94" href="../../d0/ddb/misc_8c.html" title="src/misc.c" alt="" coords="3477,237,3560,267"/><area shape="rect" id="node97" href="../../d3/dbf/ntkresolv_8c.html" title="src/ntkresolv.c" alt=""
</div>
</div>
<p><a href="../../d4/d08/misc_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:a1aaef027c2540c4b3848ab5603c97adf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a1aaef027c2540c4b3848ab5603c97adf">NMEMB</a>(x)&#160;&#160;&#160;(sizeof((x))/sizeof(typeof((x)[0])))</td></tr>
<tr class="separator:a1aaef027c2540c4b3848ab5603c97adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a196a8d532345b158a150af01f196c242"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a196a8d532345b158a150af01f196c242">MILLISEC</a>(x)&#160;&#160;&#160;(((x).tv_sec*1000)+((x).tv_usec/1000))</td></tr>
<tr class="separator:a196a8d532345b158a150af01f196c242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa911c93eee2bd5b1312317ba2d75af35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#aa911c93eee2bd5b1312317ba2d75af35">MILLISEC_TO_TV</a>(x, t)</td></tr>
<tr class="separator:aa911c93eee2bd5b1312317ba2d75af35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57ad79bbf1da2778f9352732771339b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a57ad79bbf1da2778f9352732771339b9">SET_BIT</a>(a, i)&#160;&#160;&#160;((a)[(i)/CHAR_BIT] |= 1&lt;&lt;((i)%CHAR_BIT))</td></tr>
<tr class="separator:a57ad79bbf1da2778f9352732771339b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dddc03c8e6df49ea7615405cc1faf4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a3dddc03c8e6df49ea7615405cc1faf4f">CLR_BIT</a>(a, i)&#160;&#160;&#160;((a)[(i)/CHAR_BIT] &amp;= ~(1&lt;&lt;((i)%CHAR_BIT)))</td></tr>
<tr class="separator:a3dddc03c8e6df49ea7615405cc1faf4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5339af2eb805f73f3c78db430e03d719"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a5339af2eb805f73f3c78db430e03d719">TEST_BIT</a>(a, i)&#160;&#160;&#160;(((a)[(i)/CHAR_BIT] &amp; (1&lt;&lt;((i)%CHAR_BIT))) ? 1 : 0)</td></tr>
<tr class="separator:a5339af2eb805f73f3c78db430e03d719"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf9df6e3c9d68033ee6162c4738e3ee1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#aaf9df6e3c9d68033ee6162c4738e3ee1">FIND_PTR</a>(p, a, n)</td></tr>
<tr class="separator:aaf9df6e3c9d68033ee6162c4738e3ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8449f7a49a9aac590496ca70bfc11e55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a8449f7a49a9aac590496ca70bfc11e55">_return</a>(x)&#160;&#160;&#160;({return (x); (x);})</td></tr>
<tr class="separator:a8449f7a49a9aac590496ca70bfc11e55"><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:ad1aea1bae314b44e08b53a5b5bf30394"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#ad1aea1bae314b44e08b53a5b5bf30394">xor_int</a> (int i)</td></tr>
<tr class="separator:ad1aea1bae314b44e08b53a5b5bf30394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb6548d316f7cd3f28e77c2bd4eb3e33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#acb6548d316f7cd3f28e77c2bd4eb3e33">swap_array</a> (int nmemb, size_t nmemb_sz, void *src, void *dst)</td></tr>
<tr class="separator:acb6548d316f7cd3f28e77c2bd4eb3e33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b5a2df1e2b36c954653fd3e786a5405"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a7b5a2df1e2b36c954653fd3e786a5405">swap_ints</a> (int nmemb, unsigned int *x, unsigned int *y)</td></tr>
<tr class="separator:a7b5a2df1e2b36c954653fd3e786a5405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98da58b707cfc9acf75f8105a3508b89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a98da58b707cfc9acf75f8105a3508b89">swap_shorts</a> (int nmemb, unsigned short *x, unsigned short *y)</td></tr>
<tr class="separator:a98da58b707cfc9acf75f8105a3508b89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7f747ea1b353be8609df593dc0a629a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#af7f747ea1b353be8609df593dc0a629a">rand_range</a> (int _min, int _max)</td></tr>
<tr class="separator:af7f747ea1b353be8609df593dc0a629a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22bf64b8d655a21a09fc4a5bca7ddd2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a22bf64b8d655a21a09fc4a5bca7ddd2b">xsrand</a> (void)</td></tr>
<tr class="separator:a22bf64b8d655a21a09fc4a5bca7ddd2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae13480d8227e14c4ea764297d170d39c"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#ae13480d8227e14c4ea764297d170d39c">last_token</a> (char *string, char tok)</td></tr>
<tr class="separator:ae13480d8227e14c4ea764297d170d39c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b81740c73bef5d3a6c69149d2c66378"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a1b81740c73bef5d3a6c69149d2c66378">strip_char</a> (char *string, char char_to_strip)</td></tr>
<tr class="separator:a1b81740c73bef5d3a6c69149d2c66378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa3287a0852a49ffaeb854b3a43efeeb"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#afa3287a0852a49ffaeb854b3a43efeeb">split_string</a> (char *str, const char *div_str, int *substrings, int max_substrings, int max_substring_sz)</td></tr>
<tr class="separator:afa3287a0852a49ffaeb854b3a43efeeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec37f76b7523c94cbf893daa3011d561"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#aec37f76b7523c94cbf893daa3011d561">find_int</a> (int x, int *ia, int nmemb)</td></tr>
<tr class="separator:aec37f76b7523c94cbf893daa3011d561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb47fac99a597857da46e5527954ed11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#acb47fac99a597857da46e5527954ed11">xtimer</a> (u_int secs, u_int steps, int *counter)</td></tr>
<tr class="separator:acb47fac99a597857da46e5527954ed11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e04a1d03772af465554e244ab28870"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a00e04a1d03772af465554e244ab28870">check_and_create_dir</a> (char *dir)</td></tr>
<tr class="separator:a00e04a1d03772af465554e244ab28870"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a928b1da945af8413e422d1749058d33a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a928b1da945af8413e422d1749058d33a">file_exist</a> (char *filename)</td></tr>
<tr class="separator:a928b1da945af8413e422d1749058d33a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8acb91fe62e69e1e7be98dd06b2410a2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#a8acb91fe62e69e1e7be98dd06b2410a2">exec_root_script</a> (char *script, char *argv)</td></tr>
<tr class="separator:a8acb91fe62e69e1e7be98dd06b2410a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3dd98cde966bc68b438e72af3c68527"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d08/misc_8h.html#ad3dd98cde966bc68b438e72af3c68527">do_nothing</a> (void)</td></tr>
<tr class="separator:ad3dd98cde966bc68b438e72af3c68527"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a8449f7a49a9aac590496ca70bfc11e55"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define _return</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;({return (x); (x);})</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3dddc03c8e6df49ea7615405cc1faf4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define CLR_BIT</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">a, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">i&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;((a)[(i)/CHAR_BIT] &amp;= ~(1&lt;&lt;((i)%CHAR_BIT)))</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aaf9df6e3c9d68033ee6162c4738e3ee1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FIND_PTR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">p, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">a, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">n&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">({ \</div>
<div class="line"> int _i, _ret; \</div>
<div class="line"> \</div>
<div class="line"> for(_i=0, _ret=-1; _i&lt;(n); _i++) \</div>
<div class="line"> <span class="keywordflow">if</span>((a)[_i] == (p)) { \</div>
<div class="line"> _ret=_i; \</div>
<div class="line"> break; \</div>
<div class="line"> } \</div>
<div class="line"> _ret; \</div>
<div class="line">})</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a196a8d532345b158a150af01f196c242"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MILLISEC</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(((x).tv_sec*1000)+((x).tv_usec/1000))</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa911c93eee2bd5b1312317ba2d75af35"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MILLISEC_TO_TV</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">t&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span>{ \</div>
<div class="line"> (t).tv_sec=(x)/1000; \</div>
<div class="line"> (t).tv_usec=((x) - ((x)/1000)*1000)*1000; \</div>
<div class="line">}<span class="keywordflow">while</span>(0)</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1aaef027c2540c4b3848ab5603c97adf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NMEMB</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(sizeof((x))/sizeof(typeof((x)[0])))</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a57ad79bbf1da2778f9352732771339b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SET_BIT</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">a, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">i&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;((a)[(i)/CHAR_BIT] |= 1&lt;&lt;((i)%CHAR_BIT))</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5339af2eb805f73f3c78db430e03d719"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define TEST_BIT</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">a, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">i&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;(((a)[(i)/CHAR_BIT] &amp; (1&lt;&lt;((i)%CHAR_BIT))) ? 1 : 0)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a00e04a1d03772af465554e244ab28870"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int check_and_create_dir </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>dir</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="../../d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_cgraph.png" border="0" usemap="#d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_cgraph" id="d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="203,5,251,35"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="300,5,369,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="../../d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_icgraph" id="d4/d08/misc_8h_a00e04a1d03772af465554e244ab28870_icgraph">
<area shape="rect" id="node3" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="203,5,309,35"/><area shape="rect" id="node5" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="357,5,408,35"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ad3dd98cde966bc68b438e72af3c68527"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void do_nothing </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="../../d4/d08/misc_8h_ad3dd98cde966bc68b438e72af3c68527_icgraph.png" border="0" usemap="#d4/d08/misc_8h_ad3dd98cde966bc68b438e72af3c68527_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_ad3dd98cde966bc68b438e72af3c68527_icgraph" id="d4/d08/misc_8h_ad3dd98cde966bc68b438e72af3c68527_icgraph">
<area shape="rect" id="node3" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="139,5,224,35"/><area shape="rect" id="node5" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="272,5,347,35"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="395,5,501,35"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="549,5,600,35"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a8acb91fe62e69e1e7be98dd06b2410a2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int exec_root_script </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>script</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>argv</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="../../d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_cgraph.png" border="0" usemap="#d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_cgraph" id="d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#ac33c8a42a58a6379397850b60be22028" title="error" alt="" coords="180,5,228,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#aea4dca1a8e24794377ba1bf45fbbfce8" title="loginfo" alt="" coords="175,59,233,88"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="284,32,353,61"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_icgraph" id="d4/d08/misc_8h_a8acb91fe62e69e1e7be98dd06b2410a2_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a7b3d293ed96b781f5b351d0f054bbf0d" title="igw_exec_masquerade_sh" alt="" coords="173,21,349,51"/><area shape="rect" id="node19" href="../../da/dd7/igs_8h.html#a5cf5f370332317b793630c29f82414c3" title="igw_exec_tcshaper_sh" alt="" coords="184,75,339,104"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="405,5,549,51"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a69dec3b6ff9453bc64d5b98f6b40e2aa" title="close_internet_gateway\l_search" alt="" coords="399,74,556,121"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="791,13,897,43"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="949,67,1000,96"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="607,83,737,112"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="787,67,901,96"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a928b1da945af8413e422d1749058d33a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int file_exist </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>filename</em></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="../../d4/d08/misc_8h_a928b1da945af8413e422d1749058d33a_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a928b1da945af8413e422d1749058d33a_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a928b1da945af8413e422d1749058d33a_icgraph" id="d4/d08/misc_8h_a928b1da945af8413e422d1749058d33a_icgraph">
<area shape="rect" id="node3" href="../../d5/d05/andna_8h.html#afc0f24a5b798975732d4f238dccc42ef" title="andna_load_caches" alt="" coords="129,5,265,35"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#aeda777559abec4e7ff375954117a918e" title="ntk_load_maps" alt="" coords="143,59,252,88"/><area shape="rect" id="node14" href="../../d4/d3b/netsukuku_8c.html#a4db5766f181d0b79ee932e1858e9fa63" title="check_conflicting_options" alt="" coords="316,111,487,140"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="361,7,441,36"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="536,59,643,88"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="691,85,741,115"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="aec37f76b7523c94cbf893daa3011d561"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int find_int </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>ia</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nmemb</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="../../d4/d08/misc_8h_aec37f76b7523c94cbf893daa3011d561_icgraph.png" border="0" usemap="#d4/d08/misc_8h_aec37f76b7523c94cbf893daa3011d561_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_aec37f76b7523c94cbf893daa3011d561_icgraph" id="d4/d08/misc_8h_aec37f76b7523c94cbf893daa3011d561_icgraph">
<area shape="rect" id="node3" href="../../df/dbf/route_8c.html#abbe040eb10fb43323e36bc2e456a29ce" title="get_gw_gnode_recurse" alt="" coords="119,593,273,622"/><area shape="rect" id="node5" href="../../df/dbf/route_8c.html#a59dc8e3d1c0d989d95f8012f08d82019" title="get_gw_bnode_recurse" alt="" coords="324,593,479,622"/><area shape="rect" id="node8" href="../../d9/d7f/route_8h.html#a5c22334fec4f4d06a0a9e1b85a426835" title="get_gw_gnode" alt="" coords="348,646,455,676"/><area shape="rect" id="node10" href="../../d9/d7f/route_8h.html#a8030bab7c77153a34a7b2a71c3be3bc1" title="get_gw_ips" alt="" coords="528,646,616,676"/><area shape="rect" id="node12" href="../../d4/d18/andna_8c.html#a38841ce4a17cc49307989b692098b777" title="find_hash_gnode_recurse" alt="" coords="664,596,835,625"/><area shape="rect" id="node77" href="../../d9/d7f/route_8h.html#ae4d32d12b40eb8c936e1d301bc32c359" title="rt_build_nexthop_gw" alt="" coords="679,697,820,726"/><area shape="rect" id="node14" href="../../d4/d18/andna_8c.html#a6114eeecf073e71b67aed8e268a8d1b6" title="find_hash_gnode" alt="" coords="1068,332,1188,361"/><area shape="rect" id="node16" href="../../d5/d05/andna_8h.html#a47f535bfa2b7403ded9d8b4a7c19d27d" title="andna_register_hname" alt="" coords="1276,525,1428,554"/><area shape="rect" id="node31" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="1509,209,1640,238"/><area shape="rect" id="node37" href="../../d5/d05/andna_8h.html#a278c2e4e68b10357f59f3edbaa9bf7de" title="andna_check_counter" alt="" coords="1277,176,1427,205"/><area shape="rect" id="node40" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="1261,384,1443,413"/><area shape="rect" id="node43" href="../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title="andna_resolve_hash" alt="" coords="1281,113,1423,142"/><area shape="rect" id="node64" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="1497,332,1652,361"/><area shape="rect" id="node67" href="../../d5/d05/andna_8h.html#a176509d35d2405f8416d22b7defd2081" title="get_single_andna_c" alt="" coords="1284,280,1420,309"/><area shape="rect" id="node74" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="1287,437,1417,466"/><area shape="rect" id="node18" href="../../d4/d18/andna_8c.html#abac5b6d2df2140ec17abb62d9ce8cbbc" title="andna_min_update_retry" alt="" coords="1493,556,1656,585"/><area shape="rect" id="node20" href="../../d5/d05/andna_8h.html#a22751676386bfd17dd30f88528ee0f12" title="andna_update_hnames" alt="" coords="1715,608,1869,637"/><area shape="rect" id="node27" href="../../d5/d05/andna_8h.html#ac5e2e3a07b8b99edbc9501aae6e5b1ff" title="andna_maintain_hnames\l_active" alt="" coords="1492,486,1657,532"/><area shape="rect" id="node22" href="../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title="reload_hostname_thread" alt="" coords="1927,660,2089,689"/><area shape="rect" id="node24" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="2151,738,2212,768"/><area shape="rect" id="node29" href="../../d5/d05/andna_8h.html#ae8a0abdfc416da1b04dafe5c30fb14c3" title="andna_main" alt="" coords="1747,494,1837,524"/><area shape="rect" id="node33" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="1752,358,1832,388"/><area shape="rect" id="node35" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1955,713,2061,742"/><area shape="rect" id="node45" href="../../d5/d05/andna_8h.html#aa3b87d2348a3a7cdb6e2d95c66fdfb6f" title="andna_resolve_hname" alt="" coords="1499,156,1651,185"/><area shape="rect" id="node51" href="../../dd/dd9/andns_8h.html#a77c1322dbf52a1bacabe97028c9ce8d2" title="nk_rslv" alt="" coords="1976,25,2040,54"/><area shape="rect" id="node54" href="../../d1/dd5/andns__snsd_8h.html#a5f5ed255a4e4e2604045525ee
</div>
</p>
</div>
</div>
<a class="anchor" id="ae13480d8227e14c4ea764297d170d39c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* last_token </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>string</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>tok</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="../../d4/d08/misc_8h_ae13480d8227e14c4ea764297d170d39c_icgraph.png" border="0" usemap="#d4/d08/misc_8h_ae13480d8227e14c4ea764297d170d39c_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_ae13480d8227e14c4ea764297d170d39c_icgraph" id="d4/d08/misc_8h_ae13480d8227e14c4ea764297d170d39c_icgraph">
<area shape="rect" id="node3" href="../../d4/d08/misc_8h.html#a1b81740c73bef5d3a6c69149d2c66378" title="strip_char" alt="" coords="137,32,215,61"/><area shape="rect" id="node5" href="../../dd/dd9/andns_8h.html#a412c450840e3bb78ac14b32b3db878a8" title="collect_resolv_conf" alt="" coords="265,32,399,61"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#a90aee78fd7b0472165aca317c1a18721" title="andna_resolvconf_restore" alt="" coords="448,59,619,88"/><area shape="rect" id="node23" href="../../dd/dd9/andns_8h.html#a5a4d6d7f4f8ffb407a416f1bab193258" title="andns_init" alt="" coords="493,5,573,35"/><area shape="rect" id="node9" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="675,5,755,35"/><area shape="rect" id="node15" href="../../d5/d05/andna_8h.html#ad741f07b1bbda88076dfc6116707ba01" title="andna_close" alt="" coords="668,59,761,88"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="996,5,1103,35"/><area shape="rect" id="node13" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1155,57,1205,87"/><area shape="rect" id="node17" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="812,59,943,88"/><area shape="rect" id="node19" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="992,109,1107,139"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="af7f747ea1b353be8609df593dc0a629a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int rand_range </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_min</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>_max</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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="../../d4/d08/misc_8h_af7f747ea1b353be8609df593dc0a629a_icgraph.png" border="0" usemap="#d4/d08/misc_8h_af7f747ea1b353be8609df593dc0a629a_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_af7f747ea1b353be8609df593dc0a629a_icgraph" id="d4/d08/misc_8h_af7f747ea1b353be8609df593dc0a629a_icgraph">
<area shape="rect" id="node3" href="../../d4/d18/andna_8c.html#ad824e987f9deb115009c2b6378ccbc8c" title="random_gid_level_0" alt="" coords="553,333,689,363"/><area shape="rect" id="node24" href="../../d5/d05/andna_8h.html#ac5e2e3a07b8b99edbc9501aae6e5b1ff" title="andna_maintain_hnames\l_active" alt="" coords="1356,491,1521,538"/><area shape="rect" id="node70" href="../../d7/d3b/gmap_8h.html#ab9b8447a87c9c09e24de89e12d5f5387" title="random_ip" alt="" coords="179,700,261,729"/><area shape="rect" id="node76" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="749,803,899,832"/><area shape="rect" id="node88" href="../../d3/dc7/hook_8c.html#a9c2f57416bf3788157e15a1d889cca5e" title="hook_choose_new_ip" alt="" coords="352,596,499,625"/><area shape="rect" id="node91" href="../../d3/dc7/hook_8c.html#ad4b44c41d2528f0f4e70c24d5b4c5daf" title="hook_reset" alt="" coords="781,544,867,573"/><area shape="rect" id="node99" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="577,647,665,676"/><area shape="rect" id="node102" href="../../d5/ddf/qspn-empiric_8h.html#ac7f772d3738759892a56e06f52d02fe3" title="gen_rnd_map" alt="" coords="171,879,269,908"/><area shape="rect" id="node105" href="../../db/def/qspn-empiric_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="400,860,451,889"/><area shape="rect" id="node108" href="../../d3/df5/radar_8h.html#a5227b335b67dd5298d3764f732b422cd" title="rnl_get_rand_dev" alt="" coords="160,932,280,961"/><area shape="rect" id="node110" href="../../df/dbf/route_8c.html#abbe040eb10fb43323e36bc2e456a29ce" title="get_gw_gnode_recurse" alt="" coords="143,440,297,469"/><area shape="rect" id="node124" href="../../d6/d2e/snsd__cache_8h.html#a84725c660a472b86eb1cc3dc82fd8da1" title="snsd_choose_wrand" alt="" coords="149,985,291,1015"/><area shape="rect" id="node5" href="../../d4/d18/andna_8c.html#a38841ce4a17cc49307989b692098b777" title="find_hash_gnode_recurse" alt="" coords="739,333,909,363"/><area shape="rect" id="node7" href="../../d4/d18/andna_8c.html#a6114eeecf073e71b67aed8e268a8d1b6" title="find_hash_gnode" alt="" coords="957,284,1077,313"/><area shape="rect" id="node9" href="../../d5/d05/andna_8h.html#a47f535bfa2b7403ded9d8b4a7c19d27d" title="andna_register_hname" alt="" coords="1140,552,1292,581"/><area shape="rect" id="node30" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="1373,164,1504,193"/><area shape="rect" id="node37" href="../../d5/d05/andna_8h.html#a278c2e4e68b10357f59f3edbaa9bf7de" title="andna_check_counter" alt="" coords="1141,177,1291,207"/><area shape="rect" id="node40" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="1125,231,1307,260"/><area shape="rect" id="node43" href="../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title="andna_resolve_hash" alt="" coords="1145,65,1287,95"/><area shape="rect" id="node56" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="1361,337,1516,367"/><area shape="rect" id="node59" href="../../d5/d05/andna_8h.html#a176509d35d2405f8416d22b7defd2081" title="get_single_andna_c" alt="" coords="1148,284,1284,313"/><area shape="rect" id="node66" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="1151,388,1281,417"/><area shape="rect" id="node11" href="../../d4/d18/andna_8c.html#abac5b6d2df2140ec17abb62d9ce8cbbc" title="andna_min_update_retry" alt="" coords="1357,612,1520,641"/><area shape="rect" id="node13" href="../../d5/d05/andna_8h.html#a22751676386bfd17dd30f88528ee0f12" title="andna_update_hnames" alt="" coords="1572,612,1727,641"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title="reload_hostname_thread" alt="" coords="1777,612,1940,641"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891
</div>
</p>
</div>
</div>
<a class="anchor" id="afa3287a0852a49ffaeb854b3a43efeeb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char** split_string </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>div_str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>substrings</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>max_substrings</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>max_substring_sz</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="../../d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_cgraph.png" border="0" usemap="#d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_cgraph" id="d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_cgraph">
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="373,27,440,56"/><area shape="rect" id="node11" href="../../d2/dab/xmalloc_8c.html#ad6142d091f00b2d4543ce7a43e5d0eba" title="xstrdup" alt="" coords="140,27,204,56"/><area shape="rect" id="node16" href="../../d2/dab/xmalloc_8c.html#a95c6a612049c763f0d351481361ad689" title="xrealloc" alt="" coords="256,80,323,109"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="489,53,535,83"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="600,27,669,56"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="584,80,685,109"/><area shape="rect" id="node13" href="../../d2/dab/xmalloc_8c.html#aa0d9692e0141edaf2b2f748d630b5485" title="xstrndup" alt="" coords="253,27,325,56"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_icgraph.png" border="0" usemap="#d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_icgraph" id="d4/d08/misc_8h_afa3287a0852a49ffaeb854b3a43efeeb_icgraph">
<area shape="rect" id="node3" href="../../d7/d74/andna__cache_8h.html#ae30431f21d44516e3c006ae361578d9c" title="load_snsd" alt="" coords="171,57,251,87"/><area shape="rect" id="node18" href="../../da/dd7/igs_8h.html#a2b648cbf154af516c4ed807ebaa4fe88" title="parse_internet_hosts" alt="" coords="140,111,281,140"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#afc0f24a5b798975732d4f238dccc42ef" title="andna_load_caches" alt="" coords="340,7,476,36"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title="reload_hostname_thread" alt="" coords="535,59,697,88"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="576,5,656,35"/><area shape="rect" id="node9" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="748,5,855,35"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="904,59,955,88"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a207b25374e65f083a666cdfaca49bb99" title="sighup_handler" alt="" coords="747,59,856,88"/><area shape="rect" id="node20" href="../../d4/d3b/netsukuku_8c.html#a9eccd187480c0bd5207afd99966ef68b" title="fill_loaded_cfg_options" alt="" coords="331,111,485,140"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a1b81740c73bef5d3a6c69149d2c66378"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void strip_char </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>string</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>char_to_strip</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="../../d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_cgraph.png" border="0" usemap="#d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_cgraph" id="d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_cgraph">
<area shape="rect" id="node3" href="../../d0/ddb/misc_8c.html#ae13480d8227e14c4ea764297d170d39c" title="last_token" alt="" coords="133,5,216,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="../../d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_icgraph" id="d4/d08/misc_8h_a1b81740c73bef5d3a6c69149d2c66378_icgraph">
<area shape="rect" id="node3" href="../../dd/dd9/andns_8h.html#a412c450840e3bb78ac14b32b3db878a8" title="collect_resolv_conf" alt="" coords="135,32,268,61"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#a90aee78fd7b0472165aca317c1a18721" title="andna_resolvconf_restore" alt="" coords="317,59,488,88"/><area shape="rect" id="node21" href="../../dd/dd9/andns_8h.html#a5a4d6d7f4f8ffb407a416f1bab193258" title="andns_init" alt="" coords="363,5,443,35"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="544,5,624,35"/><area shape="rect" id="node13" href="../../d5/d05/andna_8h.html#ad741f07b1bbda88076dfc6116707ba01" title="andna_close" alt="" coords="537,59,631,88"/><area shape="rect" id="node9" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="865,5,972,35"/><area shape="rect" id="node11" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1024,57,1075,87"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a235b6034c5756ff428377a300e9be15d" title="destroy_netsukuku" alt="" coords="681,59,812,88"/><area shape="rect" id="node17" href="../../d4/d3b/netsukuku_8c.html#a785106d5f7144641d79c5f5e9ddc2135" title="sigterm_handler" alt="" coords="861,109,976,139"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="acb6548d316f7cd3f28e77c2bd4eb3e33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void swap_array </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nmemb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>nmemb_sz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>dst</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="../../d4/d08/misc_8h_acb6548d316f7cd3f28e77c2bd4eb3e33_icgraph.png" border="0" usemap="#d4/d08/misc_8h_acb6548d316f7cd3f28e77c2bd4eb3e33_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_acb6548d316f7cd3f28e77c2bd4eb3e33_icgraph" id="d4/d08/misc_8h_acb6548d316f7cd3f28e77c2bd4eb3e33_icgraph">
<area shape="rect" id="node3" href="../../d4/d08/misc_8h.html#a7b5a2df1e2b36c954653fd3e786a5405" title="swap_ints" alt="" coords="152,1491,232,1520"/><area shape="rect" id="node123" href="../../d4/d08/misc_8h.html#a98da58b707cfc9acf75f8105a3508b89" title="swap_shorts" alt="" coords="144,1437,240,1467"/><area shape="rect" id="node5" href="../../dc/d3e/endianness_8h.html#a629226f9f754987898be147e82b2321c" title="ints_network_to_host" alt="" coords="288,1464,435,1493"/><area shape="rect" id="node83" href="../../dc/d3e/endianness_8h.html#aed4f03aa2dac4cdc67d1e9cdf66bb850" title="ints_host_to_network" alt="" coords="288,427,435,456"/><area shape="rect" id="node117" href="../../d6/d4a/inet_8h.html#a385963363f8d2ee7012a4c919b9b7b80" title="inet_ntohl" alt="" coords="323,2200,400,2229"/><area shape="rect" id="node121" href="../../d6/d4a/inet_8h.html#a75c2848f706809db4a3a8999d46118dc" title="inet_htonl" alt="" coords="323,1517,400,1547"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="1149,584,1280,613"/><area shape="rect" id="node9" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="483,1304,664,1333"/><area shape="rect" id="node11" href="../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title="andna_resolve_hash" alt="" coords="503,789,644,819"/><area shape="rect" id="node13" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="1137,505,1292,535"/><area shape="rect" id="node15" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="1149,1995,1280,2024"/><area shape="rect" id="node17" href="../../d5/d05/andna_8h.html#a7cb15ea6895d12e1dc8b334360de6819" title="recv_spread_single\l_acache" alt="" coords="1148,813,1281,859"/><area shape="rect" id="node19" href="../../d7/d74/andna__cache_8h.html#a1b05831280109c236a1093b623176022" title="unpack_lcl_keyring" alt="" coords="507,1357,640,1387"/><area shape="rect" id="node21" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="511,1411,636,1440"/><area shape="rect" id="node23" href="../../d2/de6/andna__cache_8c.html#a616a54519cf7a95237b8805ce7be6207" title="unpack_acq_llist" alt="" coords="515,893,632,923"/><area shape="rect" id="node25" href="../../d7/d74/andna__cache_8h.html#a35e46feb951ff01251d48e46ef345f96" title="unpack_andna_cache" alt="" coords="727,841,873,871"/><area shape="rect" id="node33" href="../../d7/d74/andna__cache_8h.html#abeab4c42702fa5492a775eb8c01fe95c" title="unpack_counter_cache" alt="" coords="496,1464,651,1493"/><area shape="rect" id="node35" href="../../d7/d74/andna__cache_8h.html#a2e671db507cb5a73fe73c8eda6fcc7f4" title="unpack_rh_cache" alt="" coords="512,1517,635,1547"/><area shape="rect" id="node37" href="../../d5/dbf/bmap_8h.html#aade6d459f779e4b70ecd48aa3b5ff6a9" title="unpack_all_bmaps" alt="" coords="947,1099,1077,1128"/><area shape="rect" id="node39" href="../../d5/dbf/bmap_8h.html#a233c188952c33778f3c4b085540b9f77" title="load_bmap" alt="" coords="1172,1073,1257,1103"/><area shape="rect" id="node42" href="../../d7/d3b/gmap_8h.html#aff77e100f9fda2f9320246f0be0eaa77" title="unpack_quadro_group" alt="" coords="725,2151,875,2180"/><area shape="rect" id="node44" href="../../d7/d3b/gmap_8h.html#af1e8816c82f2eeaf6b8aee6d51e80709" title="unpack_extmap" alt="" coords="955,2099,1069,2128"/><area shape="rect" id="node46" href="../../d7/d3b/gmap_8h.html#a750e03b9ac5f9f2e27bc0eb268a36f9b" title="load_extmap" alt="" coords="1167,2151,1263,2180"/><area shape="rect" id="node49" href="../../d7/d3b/gmap_8h.html#a7bd57f7bec930295a7b6e629947bcb4c" title="unpack_map_gnode" alt="" coords="731,2047,869,2076"/><area shape="rect" id="node54" href="../../d3/dc7/hook_8c.html#a13ba2bdeee0139a4e9cc749296099be2" title="get_free_nodes" alt="" coords="519,1571,628,1600"/><area shape="rect" id="node56" href="../../d3/dc7/hook_8c.html#a2dba643d9fb
</div>
</p>
</div>
</div>
<a class="anchor" id="a7b5a2df1e2b36c954653fd3e786a5405"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void swap_ints </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nmemb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int *&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int *&#160;</td>
<td class="paramname"><em>y</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="../../d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_cgraph.png" border="0" usemap="#d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_cgraph" id="d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_cgraph">
<area shape="rect" id="node3" href="../../d0/ddb/misc_8c.html#acb6548d316f7cd3f28e77c2bd4eb3e33" title="swap_array" alt="" coords="137,5,225,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="../../d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_icgraph" id="d4/d08/misc_8h_a7b5a2df1e2b36c954653fd3e786a5405_icgraph">
<area shape="rect" id="node3" href="../../dc/d3e/endianness_8h.html#a629226f9f754987898be147e82b2321c" title="ints_network_to_host" alt="" coords="136,784,283,813"/><area shape="rect" id="node81" href="../../dc/d3e/endianness_8h.html#aed4f03aa2dac4cdc67d1e9cdf66bb850" title="ints_host_to_network" alt="" coords="136,1931,283,1960"/><area shape="rect" id="node121" href="../../d6/d4a/inet_8h.html#a385963363f8d2ee7012a4c919b9b7b80" title="inet_ntohl" alt="" coords="171,1516,248,1545"/><area shape="rect" id="node125" href="../../d6/d4a/inet_8h.html#a75c2848f706809db4a3a8999d46118dc" title="inet_htonl" alt="" coords="171,1984,248,2013"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="997,1309,1128,1339"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="331,997,512,1027"/><area shape="rect" id="node9" href="../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title="andna_resolve_hash" alt="" coords="351,1568,492,1597"/><area shape="rect" id="node11" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="985,1389,1140,1419"/><area shape="rect" id="node13" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="997,1772,1128,1801"/><area shape="rect" id="node15" href="../../d5/d05/andna_8h.html#a7cb15ea6895d12e1dc8b334360de6819" title="recv_spread_single\l_acache" alt="" coords="996,1139,1129,1186"/><area shape="rect" id="node17" href="../../d7/d74/andna__cache_8h.html#a1b05831280109c236a1093b623176022" title="unpack_lcl_keyring" alt="" coords="355,1101,488,1131"/><area shape="rect" id="node19" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="359,1155,484,1184"/><area shape="rect" id="node21" href="../../d2/de6/andna__cache_8c.html#a616a54519cf7a95237b8805ce7be6207" title="unpack_acq_llist" alt="" coords="363,1312,480,1341"/><area shape="rect" id="node23" href="../../d7/d74/andna__cache_8h.html#a35e46feb951ff01251d48e46ef345f96" title="unpack_andna_cache" alt="" coords="575,1312,721,1341"/><area shape="rect" id="node31" href="../../d7/d74/andna__cache_8h.html#abeab4c42702fa5492a775eb8c01fe95c" title="unpack_counter_cache" alt="" coords="344,5,499,35"/><area shape="rect" id="node33" href="../../d7/d74/andna__cache_8h.html#a2e671db507cb5a73fe73c8eda6fcc7f4" title="unpack_rh_cache" alt="" coords="360,59,483,88"/><area shape="rect" id="node35" href="../../d5/dbf/bmap_8h.html#aade6d459f779e4b70ecd48aa3b5ff6a9" title="unpack_all_bmaps" alt="" coords="795,163,925,192"/><area shape="rect" id="node37" href="../../d5/dbf/bmap_8h.html#a233c188952c33778f3c4b085540b9f77" title="load_bmap" alt="" coords="1020,137,1105,167"/><area shape="rect" id="node40" href="../../d7/d3b/gmap_8h.html#aff77e100f9fda2f9320246f0be0eaa77" title="unpack_quadro_group" alt="" coords="573,733,723,763"/><area shape="rect" id="node42" href="../../d7/d3b/gmap_8h.html#af1e8816c82f2eeaf6b8aee6d51e80709" title="unpack_extmap" alt="" coords="803,681,917,711"/><area shape="rect" id="node44" href="../../d7/d3b/gmap_8h.html#a750e03b9ac5f9f2e27bc0eb268a36f9b" title="load_extmap" alt="" coords="1015,681,1111,711"/><area shape="rect" id="node47" href="../../d7/d3b/gmap_8h.html#a7bd57f7bec930295a7b6e629947bcb4c" title="unpack_map_gnode" alt="" coords="579,629,717,659"/><area shape="rect" id="node52" href="../../d3/dc7/hook_8c.html#a13ba2bdeee0139a4e9cc749296099be2" title="get_free_nodes" alt="" coords="367,419,476,448"/><area shape="rect" id="node54" href="../../d3/dc7/hook_8c.html#a2dba643d9fbb3c9ce179b936a5190f59" title="get_qspn_round" alt="" coords="364,472,479,501"/><area shape="rect" id="node56" href="../../da/dd7/igs_8h.html#ac988c4e403d8e860068177e9c0358363" title="unpack_igws" alt="" coords="372,525,471,555"/><area shape="rect" id="node58" href="../../d6/d4a/inet_8h.html#aa21ac550789ccbba526f404f090ac9
</div>
</p>
</div>
</div>
<a class="anchor" id="a98da58b707cfc9acf75f8105a3508b89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void swap_shorts </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nmemb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned short *&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned short *&#160;</td>
<td class="paramname"><em>y</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="../../d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_cgraph.png" border="0" usemap="#d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_cgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_cgraph" id="d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_cgraph">
<area shape="rect" id="node3" href="../../d0/ddb/misc_8c.html#acb6548d316f7cd3f28e77c2bd4eb3e33" title="swap_array" alt="" coords="151,5,239,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="../../d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_icgraph" id="d4/d08/misc_8h_a98da58b707cfc9acf75f8105a3508b89_icgraph">
<area shape="rect" id="node3" href="../../dc/d3e/endianness_8h.html#a629226f9f754987898be147e82b2321c" title="ints_network_to_host" alt="" coords="149,1579,296,1608"/><area shape="rect" id="node81" href="../../dc/d3e/endianness_8h.html#aed4f03aa2dac4cdc67d1e9cdf66bb850" title="ints_host_to_network" alt="" coords="575,504,721,533"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="1017,1005,1148,1035"/><area shape="rect" id="node7" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="344,1263,525,1292"/><area shape="rect" id="node9" href="../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title="andna_resolve_hash" alt="" coords="788,901,929,931"/><area shape="rect" id="node11" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="1005,900,1160,929"/><area shape="rect" id="node13" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="1403,660,1533,689"/><area shape="rect" id="node15" href="../../d5/d05/andna_8h.html#a7cb15ea6895d12e1dc8b334360de6819" title="recv_spread_single\l_acache" alt="" coords="1016,1099,1149,1146"/><area shape="rect" id="node17" href="../../d7/d74/andna__cache_8h.html#a1b05831280109c236a1093b623176022" title="unpack_lcl_keyring" alt="" coords="368,1316,501,1345"/><area shape="rect" id="node19" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="372,1369,497,1399"/><area shape="rect" id="node21" href="../../d2/de6/andna__cache_8c.html#a616a54519cf7a95237b8805ce7be6207" title="unpack_acq_llist" alt="" coords="376,953,493,983"/><area shape="rect" id="node23" href="../../d7/d74/andna__cache_8h.html#a35e46feb951ff01251d48e46ef345f96" title="unpack_andna_cache" alt="" coords="575,1005,721,1035"/><area shape="rect" id="node31" href="../../d7/d74/andna__cache_8h.html#abeab4c42702fa5492a775eb8c01fe95c" title="unpack_counter_cache" alt="" coords="357,1423,512,1452"/><area shape="rect" id="node33" href="../../d7/d74/andna__cache_8h.html#a2e671db507cb5a73fe73c8eda6fcc7f4" title="unpack_rh_cache" alt="" coords="373,1476,496,1505"/><area shape="rect" id="node35" href="../../d5/dbf/bmap_8h.html#aade6d459f779e4b70ecd48aa3b5ff6a9" title="unpack_all_bmaps" alt="" coords="793,1580,924,1609"/><area shape="rect" id="node37" href="../../d5/dbf/bmap_8h.html#a233c188952c33778f3c4b085540b9f77" title="load_bmap" alt="" coords="1040,1555,1125,1584"/><area shape="rect" id="node40" href="../../d7/d3b/gmap_8h.html#aff77e100f9fda2f9320246f0be0eaa77" title="unpack_quadro_group" alt="" coords="573,1888,723,1917"/><area shape="rect" id="node42" href="../../d7/d3b/gmap_8h.html#af1e8816c82f2eeaf6b8aee6d51e80709" title="unpack_extmap" alt="" coords="801,1836,916,1865"/><area shape="rect" id="node44" href="../../d7/d3b/gmap_8h.html#a750e03b9ac5f9f2e27bc0eb268a36f9b" title="load_extmap" alt="" coords="1035,1888,1131,1917"/><area shape="rect" id="node47" href="../../d7/d3b/gmap_8h.html#a7bd57f7bec930295a7b6e629947bcb4c" title="unpack_map_gnode" alt="" coords="579,1784,717,1813"/><area shape="rect" id="node52" href="../../d3/dc7/hook_8c.html#a13ba2bdeee0139a4e9cc749296099be2" title="get_free_nodes" alt="" coords="380,2041,489,2071"/><area shape="rect" id="node54" href="../../d3/dc7/hook_8c.html#a2dba643d9fbb3c9ce179b936a5190f59" title="get_qspn_round" alt="" coords="377,2095,492,2124"/><area shape="rect" id="node56" href="../../da/dd7/igs_8h.html#ac988c4e403d8e860068177e9c0358363" title="unpack_igws" alt="" coords="385,2148,484,2177"/><area shape="rect" id="node58" href="../../d6/d4a/inet_8h.html#aa21ac550789ccbba526f404f090ac9c2" title="unpack_inet_prefix" alt="" coords="369,1937,500,1967"/><area shape="rect" id="node61" href="../../dc/db7/map_8h.html#a6b31ffd5d96575c58fc76eb1002b1424" title="store_rnode_block" alt="" coords="371,2201,499,2231"/><area shape="rect" id="node63" href="../../dc/db7/map_8h.h
</div>
</p>
</div>
</div>
<a class="anchor" id="ad1aea1bae314b44e08b53a5b5bf30394"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char xor_int </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a22bf64b8d655a21a09fc4a5bca7ddd2b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void xsrand </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="../../d4/d08/misc_8h_a22bf64b8d655a21a09fc4a5bca7ddd2b_icgraph.png" border="0" usemap="#d4/d08/misc_8h_a22bf64b8d655a21a09fc4a5bca7ddd2b_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_a22bf64b8d655a21a09fc4a5bca7ddd2b_icgraph" id="d4/d08/misc_8h_a22bf64b8d655a21a09fc4a5bca7ddd2b_icgraph">
<area shape="rect" id="node3" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="115,5,221,35"/><area shape="rect" id="node7" href="../../d9/d88/ntkresolv_8h.html#a58a3474ad5ffa3046c2a6247fa4b780a" title="opts_init" alt="" coords="133,59,203,88"/><area shape="rect" id="node5" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="269,5,320,35"/><area shape="rect" id="node9" href="../../d3/dbf/ntkresolv_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="269,59,320,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="acb47fac99a597857da46e5527954ed11"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void xtimer </td>
<td>(</td>
<td class="paramtype">u_int&#160;</td>
<td class="paramname"><em>secs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">u_int&#160;</td>
<td class="paramname"><em>steps</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int *&#160;</td>
<td class="paramname"><em>counter</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="../../d4/d08/misc_8h_acb47fac99a597857da46e5527954ed11_icgraph.png" border="0" usemap="#d4/d08/misc_8h_acb47fac99a597857da46e5527954ed11_icgraph" alt=""/></div>
<map name="d4/d08/misc_8h_acb47fac99a597857da46e5527954ed11_icgraph" id="d4/d08/misc_8h_acb47fac99a597857da46e5527954ed11_icgraph">
<area shape="rect" id="node3" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="113,117,199,147"/><area shape="rect" id="node5" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="249,64,399,93"/><area shape="rect" id="node35" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="280,117,368,147"/><area shape="rect" id="node38" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="455,199,559,228"/><area shape="rect" id="node7" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="448,64,565,93"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1885,96,1936,125"/><area shape="rect" id="node11" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="613,64,675,93"/><area shape="rect" id="node13" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="724,64,857,93"/><area shape="rect" id="node15" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="908,64,999,93"/><area shape="rect" id="node17" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="1048,57,1235,87"/><area shape="rect" id="node19" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="1284,96,1399,125"/><area shape="rect" id="node21" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="1460,43,1548,72"/><area shape="rect" id="node28" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="1461,96,1547,125"/><area shape="rect" id="node31" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="1448,149,1560,179"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="1608,96,1683,125"/><area shape="rect" id="node25" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1731,96,1837,125"/></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="../../d4/d08/misc_8h.html">misc.h</a></li>
2014-02-20 00:30:40 +00:00
<li class="footer">Generated on Wed Feb 19 2014 16:29:31 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>