mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-23 09:21:47 +00:00
394 lines
71 KiB
HTML
394 lines
71 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/netsukuku.h Source File</title>
|
||
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../jquery.js"></script>
|
||
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
||
|
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../resize.js"></script>
|
||
|
<script type="text/javascript" src="../../navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||
|
</script>
|
||
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">The Netsukuku Project
|
||
|
 <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 Page</span></a></li>
|
||
|
<li><a href="../../annotated.html"><span>Data 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 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('db/d93/netsukuku_8h_source.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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </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="headertitle">
|
||
|
<div class="title">netsukuku.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="../../db/d93/netsukuku_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* This file is part of Netsukuku</span></div>
|
||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * (c) Copyright 2004 Andrea Lo Pumo aka AlpT <alpt@freaknet.org></span></div>
|
||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This source code is free software; you can redistribute it and/or</span></div>
|
||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * modify it under the terms of the GNU General Public License as published </span></div>
|
||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * by the Free Software Foundation; either version 2 of the License,</span></div>
|
||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * or (at your option) any later version.</span></div>
|
||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * This source code is distributed in the hope that it will be useful,</span></div>
|
||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
|
||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
|
||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Please refer to the GNU Public License for more details.</span></div>
|
||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * You should have received a copy of the GNU Public License along with</span></div>
|
||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * this source code; if not, write to:</span></div>
|
||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span></div>
|
||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef NETSUKUKU_H</span></div>
|
||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define NETSUKUKU_H</span></div>
|
||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="../../db/d16/config_8h.html">config.h</a>"</span></div>
|
||
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="../../da/dd7/igs_8h.html">igs.h</a>"</span></div>
|
||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
|
||
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#acfc1668731750cb1ee8974b8a7c133ef"> 25</a></span> <span class="preprocessor">#define VERSION_STR "NetsukukuD "PACKAGE_VERSION</span></div>
|
||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#ifdef DEBUG</span></div>
|
||
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#undef VERSION_STR</span></div>
|
||
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define VERSION_STR "NetsukukuD "PACKAGE_VERSION" (debug)"</span></div>
|
||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
|
||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/*</span></div>
|
||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * current_globals</span></div>
|
||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * Here there are the main globals variables used among the code.</span></div>
|
||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html"> 37</a></span> <span class="keyword">struct </span><a class="code" href="../../d6/d11/structcurrent__globals.html">current_globals</a></div>
|
||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div>
|
||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * Internal map </span></div>
|
||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a817d39515593aa72e71acfb8276902a1"> 42</a></span>  <a class="code" href="../../d6/d1c/structmap__node.html">map_node</a> *<a class="code" href="../../d6/d11/structcurrent__globals.html#a817d39515593aa72e71acfb8276902a1">int_map</a>; <span class="comment">/*Internal Map*/</span></div>
|
||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * External map </span></div>
|
||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#aa00bf7e2f1956a34193cebfa57531cc8"> 47</a></span>  <a class="code" href="../../d5/d7c/structmap__gnode.html">map_gnode</a> **<a class="code" href="../../d6/d11/structcurrent__globals.html#aa00bf7e2f1956a34193cebfa57531cc8">ext_map</a>; <span class="comment">/*External Map. */</span></div>
|
||
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a96b5b933335f5ab055ef461d5b812c51"> 48</a></span>  <a class="code" href="../../d0/d3b/structquadro__group.html">quadro_group</a> <a class="code" href="../../d6/d11/structcurrent__globals.html#a96b5b933335f5ab055ef461d5b812c51">cur_quadg</a>;</div>
|
||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment"> * Border nodes maps.(bmap.h) </span></div>
|
||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a14d5c5a0512da4bac005091d4dcaf075"> 53</a></span>  <a class="code" href="../../d6/d1c/structmap__node.html">map_bnode</a> **<a class="code" href="../../d6/d11/structcurrent__globals.html#a14d5c5a0512da4bac005091d4dcaf075">bnode_map</a>;</div>
|
||
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#ae43984d8e997f4600525e3d12faced1f"> 54</a></span>  u_int *<a class="code" href="../../d6/d11/structcurrent__globals.html#ae43984d8e997f4600525e3d12faced1f">bmap_nodes</a>; <span class="comment">/* bnode counter for each map*/</span></div>
|
||
|
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a2fd1b769b9dc77ab1d60b35ebd9e3fb9"> 55</a></span>  u_int *<a class="code" href="../../d6/d11/structcurrent__globals.html#a2fd1b769b9dc77ab1d60b35ebd9e3fb9">bmap_nodes_closed</a>; <span class="comment">/* number of closed bnodes */</span></div>
|
||
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a787fdb651908336ea38c899bfdad27af"> 56</a></span>  u_int *<a class="code" href="../../d6/d11/structcurrent__globals.html#a787fdb651908336ea38c899bfdad27af">bmap_nodes_opened</a>; <span class="comment">/* " " opened " */</span></div>
|
||
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> * Myself</span></div>
|
||
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#aad883770e6b4e776ed3ae8062a5ae34d"> 61</a></span>  <a class="code" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> <a class="code" href="../../d6/d11/structcurrent__globals.html#aad883770e6b4e776ed3ae8062a5ae34d">cur_ip</a>;</div>
|
||
|
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#af34008127e64a679afbbe1de6cefd8de"> 62</a></span>  <a class="code" href="../../d6/d1c/structmap__node.html">map_node</a> *<a class="code" href="../../d6/d11/structcurrent__globals.html#af34008127e64a679afbbe1de6cefd8de">cur_node</a>;</div>
|
||
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
||
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> * external rnode cache list. (see gmap.h) </span></div>
|
||
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#ab3368a4b4110c0eef6690c2e6f4e86fe"> 67</a></span>  <a class="code" href="../../dc/d3a/structext__rnode__cache.html">ext_rnode_cache</a> *<a class="code" href="../../d6/d11/structcurrent__globals.html#ab3368a4b4110c0eef6690c2e6f4e86fe">cur_erc</a>;</div>
|
||
|
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a4e1f12e66ed0cea46ca1b720398929c6"> 68</a></span>  u_int <a class="code" href="../../d6/d11/structcurrent__globals.html#a4e1f12e66ed0cea46ca1b720398929c6">cur_erc_counter</a>;</div>
|
||
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> * Current Qspn id and qspn time </span></div>
|
||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a6a010332e646b004993d16925af2882c"> 73</a></span>  <span class="keywordtype">int</span> *<a class="code" href="../../d6/d11/structcurrent__globals.html#a6a010332e646b004993d16925af2882c">cur_qspn_id</a>; <span class="comment">/*The current qspn_id we are processing. </span></div>
|
||
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> It is cur_qspn_id[levels] big*/</span></div>
|
||
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a82bbef6bb3423c44b71edf058da57709"> 75</a></span>  <span class="keyword">struct </span>timeval *<a class="code" href="../../d6/d11/structcurrent__globals.html#a82bbef6bb3423c44b71edf058da57709">cur_qspn_time</a>; <span class="comment">/*When the last qspn round was received/sent </span></div>
|
||
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> (gettimeofday format)*/</span></div>
|
||
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">/*</span></div>
|
||
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> * Internet gateways </span></div>
|
||
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a503139669c70b8a26eaf35d1b7fb80fe"> 80</a></span>  <a class="code" href="../../d8/daf/structinternet__gateway.html">inet_gw</a> **<a class="code" href="../../d6/d11/structcurrent__globals.html#a503139669c70b8a26eaf35d1b7fb80fe">igws</a>;</div>
|
||
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#aea1304e0bba6a009d95094aff49e6dce"> 81</a></span>  <span class="keywordtype">int</span> *<a class="code" href="../../d6/d11/structcurrent__globals.html#aea1304e0bba6a009d95094aff49e6dce">igws_counter</a>;</div>
|
||
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#aca2fce56795516214177121fb303ebb7"> 82</a></span>  <a class="code" href="../../d8/daf/structinternet__gateway.html">inet_gw</a> **<a class="code" href="../../d6/d11/structcurrent__globals.html#aca2fce56795516214177121fb303ebb7">my_igws</a>; <span class="comment">/* my_igws[level] points to our inet gateway</span></div>
|
||
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> present at igws[level]. It's the same of using</span></div>
|
||
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> igw_find_node(igws, me.cur_quadg.gnode[_EL(level)]); */</span></div>
|
||
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a0234f1c66323ecf658bd59cccc93d55c"> 85</a></span>  u_char <a class="code" href="../../d6/d11/structcurrent__globals.html#a0234f1c66323ecf658bd59cccc93d55c">my_bandwidth</a>; <span class="comment">/* The bandwidth of the Internet connection </span></div>
|
||
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> we are sharing*/</span></div>
|
||
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a564227495c058f97b37a7cee0d8fc564"> 87</a></span>  u_char <a class="code" href="../../d6/d11/structcurrent__globals.html#a564227495c058f97b37a7cee0d8fc564">inet_connected</a>; <span class="comment">/* If it is 1, we are connected to the Internet */</span></div>
|
||
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/* </span></div>
|
||
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> * Network interfaces </span></div>
|
||
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">interface </span>cur_ifs[<a class="code" href="../../dc/d8d/if_8h.html#a10bf2917a6a4297e21e03f60c487f591">MAX_INTERFACES</a>];</div>
|
||
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#ad02829156161ba9ca6632177b42747cd"> 93</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../d6/d11/structcurrent__globals.html#ad02829156161ba9ca6632177b42747cd">cur_ifs_n</a>; <span class="comment">/* number of interfaces present</span></div>
|
||
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> in `cur_ifs' */</span></div>
|
||
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
|
||
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d6/d11/structcurrent__globals.html#a5f1354ec4a231c68074e9261556917e3"> 96</a></span>  time_t <a class="code" href="../../d6/d11/structcurrent__globals.html#a5f1354ec4a231c68074e9261556917e3">uptime</a>; <span class="comment">/*The time when we finished the hooking, </span></div>
|
||
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> to get the the actual uptime just do: </span></div>
|
||
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> time(0)-me.uptime*/</span></div>
|
||
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }<a class="code" href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a>;</div>
|
||
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
|
||
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#ac32a4fdc4f9921d8af782aa9a1fc254c"> 101</a></span> <span class="preprocessor">#define NTK_TCP_PORT 269</span></div>
|
||
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#ac49b7e6a84bd0dcdeca70c861b5e5eb6"> 102</a></span> <span class="preprocessor">#define NTK_UDP_RADAR_PORT 269</span></div>
|
||
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
|
||
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a8a15c206218f6c4a810448c3a5321f54"> 104</a></span> <span class="preprocessor">#define ANDNA_UDP_PORT 277</span></div>
|
||
|
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a950e6f53518c3ed7920b87888d6e0b77"> 105</a></span> <span class="preprocessor">#define ANDNA_TCP_PORT 277</span></div>
|
||
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div>
|
||
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a42348ba19711670949ccc3a15ea8ebff"> 107</a></span> <span class="keyword">const</span> <span class="keyword">static</span> u_short <a class="code" href="../../db/d93/netsukuku_8h.html#a42348ba19711670949ccc3a15ea8ebff">ntk_udp_radar_port</a> = <a class="code" href="../../db/d93/netsukuku_8h.html#ac49b7e6a84bd0dcdeca70c861b5e5eb6">NTK_UDP_RADAR_PORT</a>,</div>
|
||
|
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#aab025c06c525294d39e46bd2d31d5a3b"> 108</a></span>  <a class="code" href="../../db/d93/netsukuku_8h.html#aab025c06c525294d39e46bd2d31d5a3b">ntk_tcp_port</a> = <a class="code" href="../../db/d93/netsukuku_8h.html#ac32a4fdc4f9921d8af782aa9a1fc254c">NTK_TCP_PORT</a>;</div>
|
||
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#ad4ee20c0abdb38420f6346bc56590200"> 109</a></span> <span class="keyword">const</span> <span class="keyword">static</span> u_short <a class="code" href="../../db/d93/netsukuku_8h.html#ad4ee20c0abdb38420f6346bc56590200">andna_udp_port</a> = <a class="code" href="../../db/d93/netsukuku_8h.html#a8a15c206218f6c4a810448c3a5321f54">ANDNA_UDP_PORT</a>,</div>
|
||
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#ad90e7ee610945321f63656de976b0231"> 110</a></span>  <a class="code" href="../../db/d93/netsukuku_8h.html#ad90e7ee610945321f63656de976b0231">andna_tcp_port</a> = <a class="code" href="../../db/d93/netsukuku_8h.html#a950e6f53518c3ed7920b87888d6e0b77">ANDNA_TCP_PORT</a>;</div>
|
||
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
|
||
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#acaca8367058cc097794cf8dd1c331ba4"> 112</a></span> <span class="preprocessor">#define NTK_CONFIG_FILE CONF_DIR "/netsukuku.conf"</span></div>
|
||
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a25e57644a70a508edb989be52006b732"> 113</a></span> <span class="preprocessor">#define NTK_PID_FILE PID_DIR "/ntkd.pid"</span></div>
|
||
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div>
|
||
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div>
|
||
|
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a2b3e456e7e840553f93b39863c507ae5"> 116</a></span> <span class="preprocessor">#define INT_MAP_FILE DATA_DIR "/ntk_internal_map"</span></div>
|
||
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#ac5f0f4792105859601f06720cb1bb8cb"> 117</a></span> <span class="preprocessor">#define EXT_MAP_FILE DATA_DIR "/ntk_external_map"</span></div>
|
||
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a47fd5021380a3d770309c78ff70a27a7"> 118</a></span> <span class="preprocessor">#define BNODE_MAP_FILE DATA_DIR "/ntk_bnode_map"</span></div>
|
||
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
|
||
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a6f8fecb1b90a08ee4358a8c6467201bc"> 120</a></span> <span class="preprocessor">#define ANDNA_HNAMES_FILE CONF_DIR "/andna_hostnames"</span></div>
|
||
|
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a9adfe832b712c14931d60a787f103163"> 121</a></span> <span class="preprocessor">#define SNSD_NODES_FILE CONF_DIR "/snsd_nodes"</span></div>
|
||
|
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a1e3072891bd029ff1ce27c10636a6683"> 122</a></span> <span class="preprocessor">#define ANDNA_CACHE_FILE DATA_DIR "/andna_cache"</span></div>
|
||
|
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a4284f5c9a0d54094e7dda024256c306d"> 123</a></span> <span class="preprocessor">#define LCLKEY_FILE DATA_DIR "/andna_lcl_keyring"</span></div>
|
||
|
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a8cec98fb14df6104cb604b217b68fe95"> 124</a></span> <span class="preprocessor">#define LCL_FILE DATA_DIR "/andna_lcl_cache"</span></div>
|
||
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a57e672127b8d432948bfc242a0722e8f"> 125</a></span> <span class="preprocessor">#define RHC_FILE DATA_DIR "/andna_rh_cache"</span></div>
|
||
|
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a2307b69e07d4485262ccf83e742734ab"> 126</a></span> <span class="preprocessor">#define COUNTER_C_FILE DATA_DIR "/andna_counter_cache"</span></div>
|
||
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#abfdace12c9b8155e1dcc37fc2c839824"> 128</a></span> <span class="preprocessor">#define IPMASQ_SCRIPT_FILE CONF_DIR "/ip_masquerade.sh"</span></div>
|
||
|
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a9fabd3843f97233554a2e40e24e741a8"> 129</a></span> <span class="preprocessor">#define TCSHAPER_SCRIPT_FILE CONF_DIR "/tc_shaper.sh"</span></div>
|
||
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
|
||
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment">/*</span></div>
|
||
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"> * ServOpt</span></div>
|
||
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> *</span></div>
|
||
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> * Options</span></div>
|
||
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> */</span></div>
|
||
|
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html"> 136</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div>
|
||
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> {</div>
|
||
|
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a2e77e65a1933243fec950058b4d09dde"> 138</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a2e77e65a1933243fec950058b4d09dde">config_file</a>;</div>
|
||
|
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a0b528208869114459c32ada31918fa88"> 139</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a0b528208869114459c32ada31918fa88">pid_file</a>;</div>
|
||
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
|
||
|
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a440d6be1bb90fb1184f30025592b1907"> 141</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a440d6be1bb90fb1184f30025592b1907">family</a>;</div>
|
||
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div>
|
||
|
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a574d6428c463207b5fe9cd6ddfd40bcc"> 143</a></span>  <span class="keywordtype">char</span> *ifs[<a class="code" href="../../dc/d8d/if_8h.html#a10bf2917a6a4297e21e03f60c487f591">MAX_INTERFACES</a>];</div>
|
||
|
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a46e9430b40a15218a198271c3e57fd42"> 144</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a46e9430b40a15218a198271c3e57fd42">ifs_n</a>; <span class="comment">/* number of interfaces present in `ifs' */</span></div>
|
||
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
||
|
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#aeb09937131337067b85bf75f5a4945ad"> 146</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#aeb09937131337067b85bf75f5a4945ad">int_map_file</a>;</div>
|
||
|
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a0b9204ce0fc2509010bd85b90e4a15f3"> 147</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a0b9204ce0fc2509010bd85b90e4a15f3">ext_map_file</a>;</div>
|
||
|
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a303c1865f09477bd59b3a21f19683a5c"> 148</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a303c1865f09477bd59b3a21f19683a5c">bnode_map_file</a>;</div>
|
||
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
|
||
|
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a470238a3efbf659fea75ca4b497143a1"> 150</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a470238a3efbf659fea75ca4b497143a1">andna_hnames_file</a>;</div>
|
||
|
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a40d1181e6bb79a64e86a28698175e081"> 151</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a40d1181e6bb79a64e86a28698175e081">snsd_nodes_file</a>;</div>
|
||
|
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a93b6d72c7e934b31466c51a96a961f41"> 152</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a93b6d72c7e934b31466c51a96a961f41">andna_cache_file</a>;</div>
|
||
|
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a4086997c7b34bb979ff72b1fa2167e93"> 153</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a4086997c7b34bb979ff72b1fa2167e93">lclkey_file</a>;</div>
|
||
|
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#acfd9a98a656cdb5721d9e142c2f9ed3f"> 154</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#acfd9a98a656cdb5721d9e142c2f9ed3f">lcl_file</a>;</div>
|
||
|
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a7775c2d1e57c6e0340d04485641802a0"> 155</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a7775c2d1e57c6e0340d04485641802a0">rhc_file</a>;</div>
|
||
|
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a19a9594dc4985753080879b20a16a905"> 156</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a19a9594dc4985753080879b20a16a905">counter_c_file</a>;</div>
|
||
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
|
||
|
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a681b27cd64174a41b67fe1423527dc62"> 158</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#a681b27cd64174a41b67fe1423527dc62">daemon</a>;</div>
|
||
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
|
||
|
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#adae6ee12761dc3234e135ff78849a1ae"> 160</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#adae6ee12761dc3234e135ff78849a1ae">restricted</a>;</div>
|
||
|
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a52a0ba76cc577df927f0b7725bbe2403"> 161</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a52a0ba76cc577df927f0b7725bbe2403">restricted_class</a>;</div>
|
||
|
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a9c7c681edd0fdda982d8852d794d138d"> 162</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#a9c7c681edd0fdda982d8852d794d138d">inet_connection</a>;<span class="comment">/* If it's 1, we are connected </span></div>
|
||
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> to the Internet */</span></div>
|
||
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a0c2de380be5de1a26c4488a4b890a39c"> 164</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#a0c2de380be5de1a26c4488a4b890a39c">share_internet</a>;</div>
|
||
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a725c463df71abf811aa48f10095fb2b6"> 165</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#a725c463df71abf811aa48f10095fb2b6">shape_internet</a>;</div>
|
||
|
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#ad56fba77c18182bcec638fbda3362f03"> 166</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#ad56fba77c18182bcec638fbda3362f03">use_shared_inet</a>;</div>
|
||
|
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a84a8cde2376a43328f30c546b07514d9"> 167</a></span>  <a class="code" href="../../da/d1d/structinet__prefix.html">inet_prefix</a> <a class="code" href="../../de/d05/structServOpt.html#a84a8cde2376a43328f30c546b07514d9">inet_gw</a>;</div>
|
||
|
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#ace3d66ff028bdb6e54ef5d5726ddea73"> 168</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#ace3d66ff028bdb6e54ef5d5726ddea73">inet_gw_dev</a>;</div>
|
||
|
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a82f589c543cbfa3ae26bb7aee3b2d7fd"> 169</a></span>  <span class="keywordtype">char</span> **<a class="code" href="../../de/d05/structServOpt.html#a82f589c543cbfa3ae26bb7aee3b2d7fd">inet_hosts</a>; <span class="comment">/* Hosts to be pinged in order to check</span></div>
|
||
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> if the internet connection is up */</span></div>
|
||
|
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a82faff572991fc8190aa1e8cc11b589f"> 171</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a82faff572991fc8190aa1e8cc11b589f">inet_hosts_counter</a>;</div>
|
||
|
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#af242c28b40e7ce3c273b10be4f48eb4e"> 172</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#af242c28b40e7ce3c273b10be4f48eb4e">ip_masq_script</a>;</div>
|
||
|
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a412aa02acdc210131c7a189254b5c1df"> 173</a></span>  <span class="keywordtype">char</span> *<a class="code" href="../../de/d05/structServOpt.html#a412aa02acdc210131c7a189254b5c1df">tc_shaper_script</a>;</div>
|
||
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
||
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="comment">/* The bandwidths of the Internet connection we are sharing.</span></div>
|
||
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * If we are just leeching they are all 0. */</span></div>
|
||
|
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a8a6730b320b3a9e1b599b0079db4df32"> 177</a></span>  u_int <a class="code" href="../../de/d05/structServOpt.html#a8a6730b320b3a9e1b599b0079db4df32">my_upload_bw</a>;</div>
|
||
|
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a38b80b4cb9c6b9e14e38db272057d0af"> 178</a></span>  u_int <a class="code" href="../../de/d05/structServOpt.html#a38b80b4cb9c6b9e14e38db272057d0af">my_dnload_bw</a>;</div>
|
||
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
|
||
|
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a227f129c3d4bf50db364c11e88097d5c"> 180</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#a227f129c3d4bf50db364c11e88097d5c">disable_andna</a>;</div>
|
||
|
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#aa1d543e9e5142cfabc15fa2af24c65b9"> 181</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#aa1d543e9e5142cfabc15fa2af24c65b9">disable_resolvconf</a>;</div>
|
||
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
|
||
|
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a87ac760f210b03e33e589afb5a82f1f2"> 183</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a87ac760f210b03e33e589afb5a82f1f2">max_connections</a>;</div>
|
||
|
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a75933e13b060b488b84b36bb81b5bdad"> 184</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a75933e13b060b488b84b36bb81b5bdad">max_accepts_per_host</a>;</div>
|
||
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#a00d440f9627ed2be540a61709de1caae"> 185</a></span>  <span class="keywordtype">int</span> <a class="code" href="../../de/d05/structServOpt.html#a00d440f9627ed2be540a61709de1caae">max_accepts_per_host_time</a>;</div>
|
||
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
||
|
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="../../de/d05/structServOpt.html#ab8f4d1738d19869c8bc8a415ba06fcad"> 187</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../de/d05/structServOpt.html#ab8f4d1738d19869c8bc8a415ba06fcad">dbg_lvl</a>;</div>
|
||
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> }<a class="code" href="../../de/d05/structServOpt.html">ServOpt</a>;</div>
|
||
|
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a0c5f1668a0466f009199a0e9c3ca8880"> 189</a></span> <a class="code" href="../../de/d05/structServOpt.html">ServOpt</a> <a class="code" href="../../db/d93/netsukuku_8h.html#a0c5f1668a0466f009199a0e9c3ca8880">server_opt</a>;</div>
|
||
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
||
|
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="../../db/d93/netsukuku_8h.html#a728da4cabb53c2b40ea759fc77bc2bbc"> 191</a></span> time_t <a class="code" href="../../db/d93/netsukuku_8h.html#a728da4cabb53c2b40ea759fc77bc2bbc">sigterm_timestamp</a>, <a class="code" href="../../db/d93/netsukuku_8h.html#a14a1780b658378782ef9121c1b831b05">sighup_timestamp</a>, <a class="code" href="../../db/d93/netsukuku_8h.html#a11147e2cc4db6a063049361cbe5bca87">sigalrm_timestamp</a>;</div>
|
||
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div>
|
||
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor">#endif </span><span class="comment">/*NETSUKUKU_H*/</span><span class="preprocessor"></span></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a14d5c5a0512da4bac005091d4dcaf075"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a14d5c5a0512da4bac005091d4dcaf075">current_globals::bnode_map</a></div><div class="ttdeci">map_bnode ** bnode_map</div><div class="ttdef"><b>Definition:</b> netsukuku.h:53</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a2fd1b769b9dc77ab1d60b35ebd9e3fb9"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a2fd1b769b9dc77ab1d60b35ebd9e3fb9">current_globals::bmap_nodes_closed</a></div><div class="ttdeci">u_int * bmap_nodes_closed</div><div class="ttdef"><b>Definition:</b> netsukuku.h:55</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a75933e13b060b488b84b36bb81b5bdad"><div class="ttname"><a href="../../de/d05/structServOpt.html#a75933e13b060b488b84b36bb81b5bdad">ServOpt::max_accepts_per_host</a></div><div class="ttdeci">int max_accepts_per_host</div><div class="ttdef"><b>Definition:</b> netsukuku.h:184</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a96b5b933335f5ab055ef461d5b812c51"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a96b5b933335f5ab055ef461d5b812c51">current_globals::cur_quadg</a></div><div class="ttdeci">quadro_group cur_quadg</div><div class="ttdef"><b>Definition:</b> netsukuku.h:48</div></div>
|
||
|
<div class="ttc" id="structServOpt_html"><div class="ttname"><a href="../../de/d05/structServOpt.html">ServOpt</a></div><div class="ttdef"><b>Definition:</b> netsukuku.h:136</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a7775c2d1e57c6e0340d04485641802a0"><div class="ttname"><a href="../../de/d05/structServOpt.html#a7775c2d1e57c6e0340d04485641802a0">ServOpt::rhc_file</a></div><div class="ttdeci">char * rhc_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:155</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a0b9204ce0fc2509010bd85b90e4a15f3"><div class="ttname"><a href="../../de/d05/structServOpt.html#a0b9204ce0fc2509010bd85b90e4a15f3">ServOpt::ext_map_file</a></div><div class="ttdeci">char * ext_map_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:147</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_acfd9a98a656cdb5721d9e142c2f9ed3f"><div class="ttname"><a href="../../de/d05/structServOpt.html#acfd9a98a656cdb5721d9e142c2f9ed3f">ServOpt::lcl_file</a></div><div class="ttdeci">char * lcl_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:154</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a0b528208869114459c32ada31918fa88"><div class="ttname"><a href="../../de/d05/structServOpt.html#a0b528208869114459c32ada31918fa88">ServOpt::pid_file</a></div><div class="ttdeci">char * pid_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:139</div></div>
|
||
|
<div class="ttc" id="igs_8h_html"><div class="ttname"><a href="../../da/dd7/igs_8h.html">igs.h</a></div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_af34008127e64a679afbbe1de6cefd8de"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#af34008127e64a679afbbe1de6cefd8de">current_globals::cur_node</a></div><div class="ttdeci">map_node * cur_node</div><div class="ttdef"><b>Definition:</b> netsukuku.h:62</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a00d440f9627ed2be540a61709de1caae"><div class="ttname"><a href="../../de/d05/structServOpt.html#a00d440f9627ed2be540a61709de1caae">ServOpt::max_accepts_per_host_time</a></div><div class="ttdeci">int max_accepts_per_host_time</div><div class="ttdef"><b>Definition:</b> netsukuku.h:185</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_ace3d66ff028bdb6e54ef5d5726ddea73"><div class="ttname"><a href="../../de/d05/structServOpt.html#ace3d66ff028bdb6e54ef5d5726ddea73">ServOpt::inet_gw_dev</a></div><div class="ttdeci">char * inet_gw_dev</div><div class="ttdef"><b>Definition:</b> netsukuku.h:168</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_ad4ee20c0abdb38420f6346bc56590200"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#ad4ee20c0abdb38420f6346bc56590200">andna_udp_port</a></div><div class="ttdeci">static const u_short andna_udp_port</div><div class="ttdef"><b>Definition:</b> netsukuku.h:109</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a0c5f1668a0466f009199a0e9c3ca8880"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a0c5f1668a0466f009199a0e9c3ca8880">server_opt</a></div><div class="ttdeci">ServOpt server_opt</div><div class="ttdef"><b>Definition:</b> netsukuku.h:189</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_af242c28b40e7ce3c273b10be4f48eb4e"><div class="ttname"><a href="../../de/d05/structServOpt.html#af242c28b40e7ce3c273b10be4f48eb4e">ServOpt::ip_masq_script</a></div><div class="ttdeci">char * ip_masq_script</div><div class="ttdef"><b>Definition:</b> netsukuku.h:172</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a52a0ba76cc577df927f0b7725bbe2403"><div class="ttname"><a href="../../de/d05/structServOpt.html#a52a0ba76cc577df927f0b7725bbe2403">ServOpt::restricted_class</a></div><div class="ttdeci">int restricted_class</div><div class="ttdef"><b>Definition:</b> netsukuku.h:161</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a6a010332e646b004993d16925af2882c"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a6a010332e646b004993d16925af2882c">current_globals::cur_qspn_id</a></div><div class="ttdeci">int * cur_qspn_id</div><div class="ttdef"><b>Definition:</b> netsukuku.h:73</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a87ac760f210b03e33e589afb5a82f1f2"><div class="ttname"><a href="../../de/d05/structServOpt.html#a87ac760f210b03e33e589afb5a82f1f2">ServOpt::max_connections</a></div><div class="ttdeci">int max_connections</div><div class="ttdef"><b>Definition:</b> netsukuku.h:183</div></div>
|
||
|
<div class="ttc" id="config_8h_html"><div class="ttname"><a href="../../db/d16/config_8h.html">config.h</a></div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a82faff572991fc8190aa1e8cc11b589f"><div class="ttname"><a href="../../de/d05/structServOpt.html#a82faff572991fc8190aa1e8cc11b589f">ServOpt::inet_hosts_counter</a></div><div class="ttdeci">int inet_hosts_counter</div><div class="ttdef"><b>Definition:</b> netsukuku.h:171</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a11147e2cc4db6a063049361cbe5bca87"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a11147e2cc4db6a063049361cbe5bca87">sigalrm_timestamp</a></div><div class="ttdeci">time_t sigalrm_timestamp</div><div class="ttdef"><b>Definition:</b> netsukuku.h:191</div></div>
|
||
|
<div class="ttc" id="structmap__node_html"><div class="ttname"><a href="../../d6/d1c/structmap__node.html">map_node</a></div><div class="ttdef"><b>Definition:</b> map.h:125</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a440d6be1bb90fb1184f30025592b1907"><div class="ttname"><a href="../../de/d05/structServOpt.html#a440d6be1bb90fb1184f30025592b1907">ServOpt::family</a></div><div class="ttdeci">int family</div><div class="ttdef"><b>Definition:</b> netsukuku.h:141</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_ad56fba77c18182bcec638fbda3362f03"><div class="ttname"><a href="../../de/d05/structServOpt.html#ad56fba77c18182bcec638fbda3362f03">ServOpt::use_shared_inet</a></div><div class="ttdeci">char use_shared_inet</div><div class="ttdef"><b>Definition:</b> netsukuku.h:166</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a681b27cd64174a41b67fe1423527dc62"><div class="ttname"><a href="../../de/d05/structServOpt.html#a681b27cd64174a41b67fe1423527dc62">ServOpt::daemon</a></div><div class="ttdeci">char daemon</div><div class="ttdef"><b>Definition:</b> netsukuku.h:158</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_adae6ee12761dc3234e135ff78849a1ae"><div class="ttname"><a href="../../de/d05/structServOpt.html#adae6ee12761dc3234e135ff78849a1ae">ServOpt::restricted</a></div><div class="ttdeci">char restricted</div><div class="ttdef"><b>Definition:</b> netsukuku.h:160</div></div>
|
||
|
<div class="ttc" id="structinet__prefix_html"><div class="ttname"><a href="../../da/d1d/structinet__prefix.html">inet_prefix</a></div><div class="ttdef"><b>Definition:</b> inet.h:73</div></div>
|
||
|
<div class="ttc" id="structquadro__group_html"><div class="ttname"><a href="../../d0/d3b/structquadro__group.html">quadro_group</a></div><div class="ttdef"><b>Definition:</b> gmap.h:127</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a303c1865f09477bd59b3a21f19683a5c"><div class="ttname"><a href="../../de/d05/structServOpt.html#a303c1865f09477bd59b3a21f19683a5c">ServOpt::bnode_map_file</a></div><div class="ttdeci">char * bnode_map_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:148</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a38b80b4cb9c6b9e14e38db272057d0af"><div class="ttname"><a href="../../de/d05/structServOpt.html#a38b80b4cb9c6b9e14e38db272057d0af">ServOpt::my_dnload_bw</a></div><div class="ttdeci">u_int my_dnload_bw</div><div class="ttdef"><b>Definition:</b> netsukuku.h:178</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a93b6d72c7e934b31466c51a96a961f41"><div class="ttname"><a href="../../de/d05/structServOpt.html#a93b6d72c7e934b31466c51a96a961f41">ServOpt::andna_cache_file</a></div><div class="ttdeci">char * andna_cache_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:152</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a3845f36a591a50d5099ca558e4cfc6c6"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a></div><div class="ttdeci">struct current_globals me</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a5f1354ec4a231c68074e9261556917e3"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a5f1354ec4a231c68074e9261556917e3">current_globals::uptime</a></div><div class="ttdeci">time_t uptime</div><div class="ttdef"><b>Definition:</b> netsukuku.h:96</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_aad883770e6b4e776ed3ae8062a5ae34d"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#aad883770e6b4e776ed3ae8062a5ae34d">current_globals::cur_ip</a></div><div class="ttdeci">inet_prefix cur_ip</div><div class="ttdef"><b>Definition:</b> netsukuku.h:61</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a2e77e65a1933243fec950058b4d09dde"><div class="ttname"><a href="../../de/d05/structServOpt.html#a2e77e65a1933243fec950058b4d09dde">ServOpt::config_file</a></div><div class="ttdeci">char * config_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:138</div></div>
|
||
|
<div class="ttc" id="if_8h_html_a10bf2917a6a4297e21e03f60c487f591"><div class="ttname"><a href="../../dc/d8d/if_8h.html#a10bf2917a6a4297e21e03f60c487f591">MAX_INTERFACES</a></div><div class="ttdeci">#define MAX_INTERFACES</div><div class="ttdef"><b>Definition:</b> if.h:25</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a227f129c3d4bf50db364c11e88097d5c"><div class="ttname"><a href="../../de/d05/structServOpt.html#a227f129c3d4bf50db364c11e88097d5c">ServOpt::disable_andna</a></div><div class="ttdeci">char disable_andna</div><div class="ttdef"><b>Definition:</b> netsukuku.h:180</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a14a1780b658378782ef9121c1b831b05"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a14a1780b658378782ef9121c1b831b05">sighup_timestamp</a></div><div class="ttdeci">time_t sighup_timestamp</div><div class="ttdef"><b>Definition:</b> netsukuku.h:191</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a42348ba19711670949ccc3a15ea8ebff"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a42348ba19711670949ccc3a15ea8ebff">ntk_udp_radar_port</a></div><div class="ttdeci">static const u_short ntk_udp_radar_port</div><div class="ttdef"><b>Definition:</b> netsukuku.h:107</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a950e6f53518c3ed7920b87888d6e0b77"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a950e6f53518c3ed7920b87888d6e0b77">ANDNA_TCP_PORT</a></div><div class="ttdeci">#define ANDNA_TCP_PORT</div><div class="ttdef"><b>Definition:</b> netsukuku.h:105</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_ae43984d8e997f4600525e3d12faced1f"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#ae43984d8e997f4600525e3d12faced1f">current_globals::bmap_nodes</a></div><div class="ttdeci">u_int * bmap_nodes</div><div class="ttdef"><b>Definition:</b> netsukuku.h:54</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_aa00bf7e2f1956a34193cebfa57531cc8"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#aa00bf7e2f1956a34193cebfa57531cc8">current_globals::ext_map</a></div><div class="ttdeci">map_gnode ** ext_map</div><div class="ttdef"><b>Definition:</b> netsukuku.h:47</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_ab3368a4b4110c0eef6690c2e6f4e86fe"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#ab3368a4b4110c0eef6690c2e6f4e86fe">current_globals::cur_erc</a></div><div class="ttdeci">ext_rnode_cache * cur_erc</div><div class="ttdef"><b>Definition:</b> netsukuku.h:67</div></div>
|
||
|
<div class="ttc" id="structext__rnode__cache_html"><div class="ttname"><a href="../../dc/d3a/structext__rnode__cache.html">ext_rnode_cache</a></div><div class="ttdef"><b>Definition:</b> gmap.h:197</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_ac32a4fdc4f9921d8af782aa9a1fc254c"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#ac32a4fdc4f9921d8af782aa9a1fc254c">NTK_TCP_PORT</a></div><div class="ttdeci">#define NTK_TCP_PORT</div><div class="ttdef"><b>Definition:</b> netsukuku.h:101</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a4e1f12e66ed0cea46ca1b720398929c6"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a4e1f12e66ed0cea46ca1b720398929c6">current_globals::cur_erc_counter</a></div><div class="ttdeci">u_int cur_erc_counter</div><div class="ttdef"><b>Definition:</b> netsukuku.h:68</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a787fdb651908336ea38c899bfdad27af"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a787fdb651908336ea38c899bfdad27af">current_globals::bmap_nodes_opened</a></div><div class="ttdeci">u_int * bmap_nodes_opened</div><div class="ttdef"><b>Definition:</b> netsukuku.h:56</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_aea1304e0bba6a009d95094aff49e6dce"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#aea1304e0bba6a009d95094aff49e6dce">current_globals::igws_counter</a></div><div class="ttdeci">int * igws_counter</div><div class="ttdef"><b>Definition:</b> netsukuku.h:81</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a84a8cde2376a43328f30c546b07514d9"><div class="ttname"><a href="../../de/d05/structServOpt.html#a84a8cde2376a43328f30c546b07514d9">ServOpt::inet_gw</a></div><div class="ttdeci">inet_prefix inet_gw</div><div class="ttdef"><b>Definition:</b> netsukuku.h:167</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a0c2de380be5de1a26c4488a4b890a39c"><div class="ttname"><a href="../../de/d05/structServOpt.html#a0c2de380be5de1a26c4488a4b890a39c">ServOpt::share_internet</a></div><div class="ttdeci">char share_internet</div><div class="ttdef"><b>Definition:</b> netsukuku.h:164</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a82bbef6bb3423c44b71edf058da57709"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a82bbef6bb3423c44b71edf058da57709">current_globals::cur_qspn_time</a></div><div class="ttdeci">struct timeval * cur_qspn_time</div><div class="ttdef"><b>Definition:</b> netsukuku.h:75</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_aab025c06c525294d39e46bd2d31d5a3b"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#aab025c06c525294d39e46bd2d31d5a3b">ntk_tcp_port</a></div><div class="ttdeci">static const u_short ntk_tcp_port</div><div class="ttdef"><b>Definition:</b> netsukuku.h:108</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a503139669c70b8a26eaf35d1b7fb80fe"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a503139669c70b8a26eaf35d1b7fb80fe">current_globals::igws</a></div><div class="ttdeci">inet_gw ** igws</div><div class="ttdef"><b>Definition:</b> netsukuku.h:80</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a817d39515593aa72e71acfb8276902a1"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a817d39515593aa72e71acfb8276902a1">current_globals::int_map</a></div><div class="ttdeci">map_node * int_map</div><div class="ttdef"><b>Definition:</b> netsukuku.h:42</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a470238a3efbf659fea75ca4b497143a1"><div class="ttname"><a href="../../de/d05/structServOpt.html#a470238a3efbf659fea75ca4b497143a1">ServOpt::andna_hnames_file</a></div><div class="ttdeci">char * andna_hnames_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:150</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a4086997c7b34bb979ff72b1fa2167e93"><div class="ttname"><a href="../../de/d05/structServOpt.html#a4086997c7b34bb979ff72b1fa2167e93">ServOpt::lclkey_file</a></div><div class="ttdeci">char * lclkey_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:153</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a8a6730b320b3a9e1b599b0079db4df32"><div class="ttname"><a href="../../de/d05/structServOpt.html#a8a6730b320b3a9e1b599b0079db4df32">ServOpt::my_upload_bw</a></div><div class="ttdeci">u_int my_upload_bw</div><div class="ttdef"><b>Definition:</b> netsukuku.h:177</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a728da4cabb53c2b40ea759fc77bc2bbc"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a728da4cabb53c2b40ea759fc77bc2bbc">sigterm_timestamp</a></div><div class="ttdeci">time_t sigterm_timestamp</div><div class="ttdef"><b>Definition:</b> netsukuku.h:191</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a9c7c681edd0fdda982d8852d794d138d"><div class="ttname"><a href="../../de/d05/structServOpt.html#a9c7c681edd0fdda982d8852d794d138d">ServOpt::inet_connection</a></div><div class="ttdeci">char inet_connection</div><div class="ttdef"><b>Definition:</b> netsukuku.h:162</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_ad02829156161ba9ca6632177b42747cd"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#ad02829156161ba9ca6632177b42747cd">current_globals::cur_ifs_n</a></div><div class="ttdeci">int cur_ifs_n</div><div class="ttdef"><b>Definition:</b> netsukuku.h:93</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a8a15c206218f6c4a810448c3a5321f54"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a8a15c206218f6c4a810448c3a5321f54">ANDNA_UDP_PORT</a></div><div class="ttdeci">#define ANDNA_UDP_PORT</div><div class="ttdef"><b>Definition:</b> netsukuku.h:104</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_aca2fce56795516214177121fb303ebb7"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#aca2fce56795516214177121fb303ebb7">current_globals::my_igws</a></div><div class="ttdeci">inet_gw ** my_igws</div><div class="ttdef"><b>Definition:</b> netsukuku.h:82</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a46e9430b40a15218a198271c3e57fd42"><div class="ttname"><a href="../../de/d05/structServOpt.html#a46e9430b40a15218a198271c3e57fd42">ServOpt::ifs_n</a></div><div class="ttdeci">int ifs_n</div><div class="ttdef"><b>Definition:</b> netsukuku.h:144</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_ad90e7ee610945321f63656de976b0231"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#ad90e7ee610945321f63656de976b0231">andna_tcp_port</a></div><div class="ttdeci">static const u_short andna_tcp_port</div><div class="ttdef"><b>Definition:</b> netsukuku.h:110</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html">current_globals</a></div><div class="ttdef"><b>Definition:</b> netsukuku.h:37</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a725c463df71abf811aa48f10095fb2b6"><div class="ttname"><a href="../../de/d05/structServOpt.html#a725c463df71abf811aa48f10095fb2b6">ServOpt::shape_internet</a></div><div class="ttdeci">char shape_internet</div><div class="ttdef"><b>Definition:</b> netsukuku.h:165</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a19a9594dc4985753080879b20a16a905"><div class="ttname"><a href="../../de/d05/structServOpt.html#a19a9594dc4985753080879b20a16a905">ServOpt::counter_c_file</a></div><div class="ttdeci">char * counter_c_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:156</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_aeb09937131337067b85bf75f5a4945ad"><div class="ttname"><a href="../../de/d05/structServOpt.html#aeb09937131337067b85bf75f5a4945ad">ServOpt::int_map_file</a></div><div class="ttdeci">char * int_map_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:146</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a564227495c058f97b37a7cee0d8fc564"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a564227495c058f97b37a7cee0d8fc564">current_globals::inet_connected</a></div><div class="ttdeci">u_char inet_connected</div><div class="ttdef"><b>Definition:</b> netsukuku.h:87</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a82f589c543cbfa3ae26bb7aee3b2d7fd"><div class="ttname"><a href="../../de/d05/structServOpt.html#a82f589c543cbfa3ae26bb7aee3b2d7fd">ServOpt::inet_hosts</a></div><div class="ttdeci">char ** inet_hosts</div><div class="ttdef"><b>Definition:</b> netsukuku.h:169</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_ac49b7e6a84bd0dcdeca70c861b5e5eb6"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#ac49b7e6a84bd0dcdeca70c861b5e5eb6">NTK_UDP_RADAR_PORT</a></div><div class="ttdeci">#define NTK_UDP_RADAR_PORT</div><div class="ttdef"><b>Definition:</b> netsukuku.h:102</div></div>
|
||
|
<div class="ttc" id="structcurrent__globals_html_a0234f1c66323ecf658bd59cccc93d55c"><div class="ttname"><a href="../../d6/d11/structcurrent__globals.html#a0234f1c66323ecf658bd59cccc93d55c">current_globals::my_bandwidth</a></div><div class="ttdeci">u_char my_bandwidth</div><div class="ttdef"><b>Definition:</b> netsukuku.h:85</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_aa1d543e9e5142cfabc15fa2af24c65b9"><div class="ttname"><a href="../../de/d05/structServOpt.html#aa1d543e9e5142cfabc15fa2af24c65b9">ServOpt::disable_resolvconf</a></div><div class="ttdeci">char disable_resolvconf</div><div class="ttdef"><b>Definition:</b> netsukuku.h:181</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_ab8f4d1738d19869c8bc8a415ba06fcad"><div class="ttname"><a href="../../de/d05/structServOpt.html#ab8f4d1738d19869c8bc8a415ba06fcad">ServOpt::dbg_lvl</a></div><div class="ttdeci">char dbg_lvl</div><div class="ttdef"><b>Definition:</b> netsukuku.h:187</div></div>
|
||
|
<div class="ttc" id="structmap__gnode_html"><div class="ttname"><a href="../../d5/d7c/structmap__gnode.html">map_gnode</a></div><div class="ttdef"><b>Definition:</b> gmap.h:37</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a412aa02acdc210131c7a189254b5c1df"><div class="ttname"><a href="../../de/d05/structServOpt.html#a412aa02acdc210131c7a189254b5c1df">ServOpt::tc_shaper_script</a></div><div class="ttdeci">char * tc_shaper_script</div><div class="ttdef"><b>Definition:</b> netsukuku.h:173</div></div>
|
||
|
<div class="ttc" id="structServOpt_html_a40d1181e6bb79a64e86a28698175e081"><div class="ttname"><a href="../../de/d05/structServOpt.html#a40d1181e6bb79a64e86a28698175e081">ServOpt::snsd_nodes_file</a></div><div class="ttdeci">char * snsd_nodes_file</div><div class="ttdef"><b>Definition:</b> netsukuku.h:151</div></div>
|
||
|
<div class="ttc" id="structinternet__gateway_html"><div class="ttname"><a href="../../d8/daf/structinternet__gateway.html">internet_gateway</a></div><div class="ttdef"><b>Definition:</b> igs.h:87</div></div>
|
||
|
</div><!-- fragment --></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="../../db/d93/netsukuku_8h.html">netsukuku.h</a></li>
|
||
|
<li class="footer">Generated on Wed Feb 19 2014 14:19:08 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>
|