mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-23 09:21:47 +00:00
455 lines
28 KiB
HTML
455 lines
28 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/conf.h File Reference</title>
|
||
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../jquery.js"></script>
|
||
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
||
|
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../resize.js"></script>
|
||
|
<script type="text/javascript" src="../../navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||
|
</script>
|
||
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">The Netsukuku Project
|
||
|
 <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('df/d77/conf_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"> </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="summary">
|
||
|
<a href="#define-members">Macros</a> |
|
||
|
<a href="#enum-members">Enumerations</a> |
|
||
|
<a href="#func-members">Functions</a> |
|
||
|
<a href="#var-members">Variables</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">conf.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="../../d9/d9e/conf_8h__dep__incl.png" border="0" usemap="#src_2conf_8hdep" alt=""/></div>
|
||
|
<map name="src_2conf_8hdep" id="src_2conf_8hdep">
|
||
|
<area shape="rect" id="node3" href="../../d7/d99/conf_8c.html" title="src/conf.c" alt="" coords="5,83,85,112"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html" title="src/netsukuku.c" alt="" coords="109,83,224,112"/></map>
|
||
|
</div>
|
||
|
</div>
|
||
|
<p><a href="../../df/d77/conf_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:aa645418da917c64ec63c1e71d3dc578c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#aa645418da917c64ec63c1e71d3dc578c">CONF_MAX_LINES</a>   500 /* Max number of option lines */</td></tr>
|
||
|
<tr class="separator:aa645418da917c64ec63c1e71d3dc578c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1bbfefba4fd4c6370752750ab142ed99"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#a1bbfefba4fd4c6370752750ab142ed99">CONF_GET_VALUE</a>(opt)   (getenv(<a class="el" href="../../df/d77/conf_8h.html#abde8ac9bcaa8d70afc502c74dd7d1c62">config_str</a>[(opt)]))</td></tr>
|
||
|
<tr class="separator:a1bbfefba4fd4c6370752750ab142ed99"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac1992998b8938ec091ffdee51a48b2eb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#ac1992998b8938ec091ffdee51a48b2eb">CONF_GET_INT_VALUE</a>(opt, n)</td></tr>
|
||
|
<tr class="separator:ac1992998b8938ec091ffdee51a48b2eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a921c482f670714a148a66643734baab3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#a921c482f670714a148a66643734baab3">CONF_GET_STRN_VALUE</a>(opt, str, maxbytes)</td></tr>
|
||
|
<tr class="separator:a921c482f670714a148a66643734baab3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||
|
Enumerations</h2></td></tr>
|
||
|
<tr class="memitem:ab0fdd734c254172f17d54af21a0370c6"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6">config_options</a> { <br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a77753ffc44edafc040e88ef8feb28c17">CONF_NTK_INT_MAP_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a511cfdb7f03aeca6a8c75fee30a90c42">CONF_NTK_BNODE_MAP_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6adbbc8103a2d86f6e23112873a9575847">CONF_NTK_EXT_MAP_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a1885ab0f4f0ac6b43ef257e97b219801">CONF_ANDNA_HNAMES_FILE</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a6c02d0db475470ecf321df6a354e3621">CONF_SNSD_NODES_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a50b468269401089c3a9b55acd86644aa">CONF_ANDNA_CACHE_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6ac489be02913050b9c7d35aec993fbe93">CONF_ANDNA_LCLKEY_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a5e13c12f7cd6f882d4212f6f826488e1">CONF_ANDNA_LCL_FILE</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a1052bf3610dcc5c5b06dd610575e388a">CONF_ANDNA_RHC_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a7c1f0bbd363a7d91320adfffe6a02599">CONF_ANDNA_COUNTER_C_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a65982d72e5ccc518149d106dad5752df">CONF_NTK_PID_FILE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a03041bc41e7db99f6ac65d968e6ca338">CONF_NTK_MAX_CONNECTIONS</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6ac805ecb7818d3b9ac7e1a9f24c0dc84d">CONF_NTK_MAX_ACCEPTS_PER_HOST</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6ac05e459a8a53798dca3920715a4ec405">CONF_NTK_MAX_ACCEPTS_PER_HOST_TIME</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a9515848165777ee3bf44f84ef8b9679f">CONF_DISABLE_ANDNA</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6af39fd10b37df066f3f99529d30304b62">CONF_DISABLE_RESOLVCONF</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a8b257cb1c3f6621f59b8dce6955f4d04">CONF_NTK_RESTRICTED_MODE</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6abaf73f53827a4f9cf7c34bc723f7c55a">CONF_NTK_RESTRICTED_CLASS</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a91d1732f73c35f92a543cf029c12261f">CONF_NTK_INTERNET_CONNECTION</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a69b11ec178b516bc5c6790f82315a2a8">CONF_NTK_INTERNET_GW</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6ac336091a3cda66cc6459b4e36daf414a">CONF_NTK_INTERNET_UPLOAD</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a9b676267584ac110933d59248d2ab6fc">CONF_NTK_INTERNET_DOWNLOAD</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a612fea18f61d58aeccae8806ce71fb49">CONF_NTK_INTERNET_PING_HOSTS</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a879662dfe0a3396d474182f9da1bd3f4">CONF_SHARE_INTERNET</a>,
|
||
|
<br/>
|
||
|
  <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6ae1ae743475e6b33e8fd0b7dfb05ba2c3">CONF_SHAPE_INTERNET</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6aa91ad40eaa54506c4421e4f5262954ea">CONF_USE_SHARED_INET</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6aebd1fa9414885f6ea1b1b2aae6b9379b">CONF_NTK_IP_MASQ_SCRIPT</a>,
|
||
|
<a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6a02fe077858795bd3c399f5d959d9b51d">CONF_NTK_TC_SHAPER_SCRIPT</a>
|
||
|
<br/>
|
||
|
}</td></tr>
|
||
|
<tr class="separator:ab0fdd734c254172f17d54af21a0370c6"><td class="memSeparator" colspan="2"> </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:a2b3330e6875d6db0b40acc9dfa14929a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#a2b3330e6875d6db0b40acc9dfa14929a">clear_config_env</a> (void)</td></tr>
|
||
|
<tr class="separator:a2b3330e6875d6db0b40acc9dfa14929a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5613125090be341b2026a5677e5b08c5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#a5613125090be341b2026a5677e5b08c5">load_config_file</a> (char *file)</td></tr>
|
||
|
<tr class="separator:a5613125090be341b2026a5677e5b08c5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||
|
Variables</h2></td></tr>
|
||
|
<tr class="memitem:abde8ac9bcaa8d70afc502c74dd7d1c62"><td class="memItemLeft" align="right" valign="top">static const char </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d77/conf_8h.html#abde8ac9bcaa8d70afc502c74dd7d1c62">config_str</a> [][30]</td></tr>
|
||
|
<tr class="separator:abde8ac9bcaa8d70afc502c74dd7d1c62"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||
|
<a class="anchor" id="ac1992998b8938ec091ffdee51a48b2eb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define CONF_GET_INT_VALUE</td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">opt, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">n </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"> char *_val; \</div>
|
||
|
<div class="line"> _val=<a class="code" href="../../df/d77/conf_8h.html#a1bbfefba4fd4c6370752750ab142ed99">CONF_GET_VALUE</a>((opt)); \</div>
|
||
|
<div class="line"> if(_val) \</div>
|
||
|
<div class="line"> (n)=atoi(_val); \</div>
|
||
|
<div class="line">})</div>
|
||
|
<div class="ttc" id="conf_8h_html_a1bbfefba4fd4c6370752750ab142ed99"><div class="ttname"><a href="../../df/d77/conf_8h.html#a1bbfefba4fd4c6370752750ab142ed99">CONF_GET_VALUE</a></div><div class="ttdeci">#define CONF_GET_VALUE(opt)</div><div class="ttdef"><b>Definition:</b> conf.h:24</div></div>
|
||
|
</div><!-- fragment -->
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a921c482f670714a148a66643734baab3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define CONF_GET_STRN_VALUE</td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">opt, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">str, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">maxbytes </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"> char *_val; \</div>
|
||
|
<div class="line"> _val=<a class="code" href="../../df/d77/conf_8h.html#a1bbfefba4fd4c6370752750ab142ed99">CONF_GET_VALUE</a>((opt)); \</div>
|
||
|
<div class="line"> if(_val) \</div>
|
||
|
<div class="line"> *(str)=<a class="code" href="../../d2/dab/xmalloc_8c.html#aa0d9692e0141edaf2b2f748d630b5485">xstrndup</a>(_val, (maxbytes)); \</div>
|
||
|
<div class="line">})</div>
|
||
|
<div class="ttc" id="conf_8h_html_a1bbfefba4fd4c6370752750ab142ed99"><div class="ttname"><a href="../../df/d77/conf_8h.html#a1bbfefba4fd4c6370752750ab142ed99">CONF_GET_VALUE</a></div><div class="ttdeci">#define CONF_GET_VALUE(opt)</div><div class="ttdef"><b>Definition:</b> conf.h:24</div></div>
|
||
|
<div class="ttc" id="xmalloc_8c_html_aa0d9692e0141edaf2b2f748d630b5485"><div class="ttname"><a href="../../d2/dab/xmalloc_8c.html#aa0d9692e0141edaf2b2f748d630b5485">xstrndup</a></div><div class="ttdeci">char * xstrndup(const char *str, size_t n)</div><div class="ttdef"><b>Definition:</b> xmalloc.c:106</div></div>
|
||
|
</div><!-- fragment -->
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1bbfefba4fd4c6370752750ab142ed99"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define CONF_GET_VALUE</td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname">opt</td><td>)</td>
|
||
|
<td>   (getenv(<a class="el" href="../../df/d77/conf_8h.html#abde8ac9bcaa8d70afc502c74dd7d1c62">config_str</a>[(opt)]))</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa645418da917c64ec63c1e71d3dc578c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define CONF_MAX_LINES   500 /* Max number of option lines */</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||
|
<a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">enum <a class="el" href="../../df/d77/conf_8h.html#ab0fdd734c254172f17d54af21a0370c6">config_options</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<table class="fieldtable">
|
||
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a77753ffc44edafc040e88ef8feb28c17"></a>CONF_NTK_INT_MAP_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a511cfdb7f03aeca6a8c75fee30a90c42"></a>CONF_NTK_BNODE_MAP_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6adbbc8103a2d86f6e23112873a9575847"></a>CONF_NTK_EXT_MAP_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a1885ab0f4f0ac6b43ef257e97b219801"></a>CONF_ANDNA_HNAMES_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a6c02d0db475470ecf321df6a354e3621"></a>CONF_SNSD_NODES_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a50b468269401089c3a9b55acd86644aa"></a>CONF_ANDNA_CACHE_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6ac489be02913050b9c7d35aec993fbe93"></a>CONF_ANDNA_LCLKEY_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a5e13c12f7cd6f882d4212f6f826488e1"></a>CONF_ANDNA_LCL_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a1052bf3610dcc5c5b06dd610575e388a"></a>CONF_ANDNA_RHC_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a7c1f0bbd363a7d91320adfffe6a02599"></a>CONF_ANDNA_COUNTER_C_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a65982d72e5ccc518149d106dad5752df"></a>CONF_NTK_PID_FILE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a03041bc41e7db99f6ac65d968e6ca338"></a>CONF_NTK_MAX_CONNECTIONS </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6ac805ecb7818d3b9ac7e1a9f24c0dc84d"></a>CONF_NTK_MAX_ACCEPTS_PER_HOST </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6ac05e459a8a53798dca3920715a4ec405"></a>CONF_NTK_MAX_ACCEPTS_PER_HOST_TIME </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a9515848165777ee3bf44f84ef8b9679f"></a>CONF_DISABLE_ANDNA </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6af39fd10b37df066f3f99529d30304b62"></a>CONF_DISABLE_RESOLVCONF </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a8b257cb1c3f6621f59b8dce6955f4d04"></a>CONF_NTK_RESTRICTED_MODE </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6abaf73f53827a4f9cf7c34bc723f7c55a"></a>CONF_NTK_RESTRICTED_CLASS </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a91d1732f73c35f92a543cf029c12261f"></a>CONF_NTK_INTERNET_CONNECTION </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a69b11ec178b516bc5c6790f82315a2a8"></a>CONF_NTK_INTERNET_GW </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6ac336091a3cda66cc6459b4e36daf414a"></a>CONF_NTK_INTERNET_UPLOAD </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a9b676267584ac110933d59248d2ab6fc"></a>CONF_NTK_INTERNET_DOWNLOAD </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a612fea18f61d58aeccae8806ce71fb49"></a>CONF_NTK_INTERNET_PING_HOSTS </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a879662dfe0a3396d474182f9da1bd3f4"></a>CONF_SHARE_INTERNET </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6ae1ae743475e6b33e8fd0b7dfb05ba2c3"></a>CONF_SHAPE_INTERNET </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6aa91ad40eaa54506c4421e4f5262954ea"></a>CONF_USE_SHARED_INET </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6aebd1fa9414885f6ea1b1b2aae6b9379b"></a>CONF_NTK_IP_MASQ_SCRIPT </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
<tr><td class="fieldname"><a class="anchor" id="ab0fdd734c254172f17d54af21a0370c6a02fe077858795bd3c399f5d959d9b51d"></a>CONF_NTK_TC_SHAPER_SCRIPT </td><td class="fielddoc">
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Function Documentation</h2>
|
||
|
<a class="anchor" id="a2b3330e6875d6db0b40acc9dfa14929a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void clear_config_env </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </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="../../df/d77/conf_8h_a2b3330e6875d6db0b40acc9dfa14929a_icgraph.png" border="0" usemap="#df/d77/conf_8h_a2b3330e6875d6db0b40acc9dfa14929a_icgraph" alt=""/></div>
|
||
|
<map name="df/d77/conf_8h_a2b3330e6875d6db0b40acc9dfa14929a_icgraph" id="df/d77/conf_8h_a2b3330e6875d6db0b40acc9dfa14929a_icgraph">
|
||
|
<area shape="rect" id="node3" href="../../d4/d3b/netsukuku_8c.html#a9eccd187480c0bd5207afd99966ef68b" title="fill_loaded_cfg_options" alt="" coords="173,5,328,35"/><area shape="rect" id="node5" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="376,5,427,35"/></map>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5613125090be341b2026a5677e5b08c5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int load_config_file </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">char * </td>
|
||
|
<td class="paramname"><em>file</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="../../df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_cgraph.png" border="0" usemap="#df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_cgraph" alt=""/></div>
|
||
|
<map name="df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_cgraph" id="df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_cgraph">
|
||
|
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="337,32,383,61"/><area shape="rect" id="node9" href="../../d7/d99/conf_8c.html#a42eee1f93095d4c6a5b5f2ec80778043" title="parse_config_line" alt="" coords="165,57,288,87"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="448,5,517,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="432,59,533,88"/></map>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><img src="../../df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_icgraph.png" border="0" usemap="#df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_icgraph" alt=""/></div>
|
||
|
<map name="df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_icgraph" id="df/d77/conf_8h_a5613125090be341b2026a5677e5b08c5_icgraph">
|
||
|
<area shape="rect" id="node3" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="165,5,216,35"/></map>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Variable Documentation</h2>
|
||
|
<a class="anchor" id="abde8ac9bcaa8d70afc502c74dd7d1c62"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const char config_str[][30]</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../df/d77/conf_8h.html">conf.h</a></li>
|
||
|
<li class="footer">Generated on Wed Feb 19 2014 14:19:09 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>
|