netsukuku/d4/dff/iptables_8h.html
MissValeska f97a6e4a6f missvaleska@missvaleska-GA-970A-D3:~/Documents/Netsukuku/NtkDoc/html$ git status# On branch gh-pages
missvaleska@missvaleska-GA-970A-D3:~/Documents/Netsukuku/NtkDoc/html$ git status# On branch gh-pages
Doxygen generated Documentation
2014-02-19 15:45:00 -08:00

820 lines
41 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/libiptc/iptables.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">The Netsukuku Project
&#160;<span id="projectnumber">0.0.9</span>
</div>
<div id="projectbrief">An Alternative routing method</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
<li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../files.html"><span>File&#160;List</span></a></li>
<li><a href="../../globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d4/dff/iptables_8h.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">iptables.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;iptables_common.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="../../d1/d6b/libiptc_8h_source.html">libiptc/libiptc.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for iptables.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d52/iptables_8h__incl.png" border="0" usemap="#src_2libiptc_2iptables_8h" alt=""/></div>
<map name="src_2libiptc_2iptables_8h" id="src_2libiptc_2iptables_8h">
<area shape="rect" id="node5" href="../../d1/d6b/libiptc_8h.html" title="libiptc/libiptc.h" alt="" coords="497,83,601,112"/></map>
</div>
</div>
<p><a href="../../d4/dff/iptables_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="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d27/structipt__get__revision.html">ipt_get_revision</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a3d5e383fa06a909c1b36a98b3c0ce192"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a3d5e383fa06a909c1b36a98b3c0ce192">IPT_LIB_DIR</a>&#160;&#160;&#160;&quot;/usr/local/lib/iptables&quot;</td></tr>
<tr class="separator:a3d5e383fa06a909c1b36a98b3c0ce192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afce983cef8c9dfb0595ee46f7a955aa8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#afce983cef8c9dfb0595ee46f7a955aa8">IPPROTO_SCTP</a>&#160;&#160;&#160;132</td></tr>
<tr class="separator:afce983cef8c9dfb0595ee46f7a955aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbbc43443092ce3ff00769edcafdbeea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#abbbc43443092ce3ff00769edcafdbeea">IPT_SO_GET_REVISION_MATCH</a>&#160;&#160;&#160;(IPT_BASE_CTL + 2)</td></tr>
<tr class="separator:abbbc43443092ce3ff00769edcafdbeea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e27214c70d6a5e80cf4790a84822e59"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a1e27214c70d6a5e80cf4790a84822e59">IPT_SO_GET_REVISION_TARGET</a>&#160;&#160;&#160;(IPT_BASE_CTL + 3)</td></tr>
<tr class="separator:a1e27214c70d6a5e80cf4790a84822e59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a711b49bf3b6bfdcb6a37dc37cb06afd7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a711b49bf3b6bfdcb6a37dc37cb06afd7">LINUX_VERSION</a>(x, y, z)&#160;&#160;&#160;(0x10000*(x) + 0x100*(y) + z)</td></tr>
<tr class="separator:a711b49bf3b6bfdcb6a37dc37cb06afd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a3241b58a5b3f86914922ef036d4828"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a4a3241b58a5b3f86914922ef036d4828">LINUX_VERSION_MAJOR</a>(x)&#160;&#160;&#160;(((x)&gt;&gt;16) &amp; 0xFF)</td></tr>
<tr class="separator:a4a3241b58a5b3f86914922ef036d4828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32f9c940aa3c2bd3199c9d270b47c262"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a32f9c940aa3c2bd3199c9d270b47c262">LINUX_VERSION_MINOR</a>(x)&#160;&#160;&#160;(((x)&gt;&gt; 8) &amp; 0xFF)</td></tr>
<tr class="separator:a32f9c940aa3c2bd3199c9d270b47c262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1ace127876601034f99135dd6a4396"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#aff1ace127876601034f99135dd6a4396">LINUX_VERSION_PATCH</a>(x)&#160;&#160;&#160;( (x) &amp; 0xFF)</td></tr>
<tr class="separator:aff1ace127876601034f99135dd6a4396"><td class="memSeparator" colspan="2">&#160;</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:ac357abf2da450a494304044d28b04ba1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a> { <a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52">DONT_LOAD</a>,
<a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654">TRY_LOAD</a>,
<a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d">LOAD_MUST_SUCCEED</a>
}</td></tr>
<tr class="separator:ac357abf2da450a494304044d28b04ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a51e61523f6145efa9018411b056e8389"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a51e61523f6145efa9018411b056e8389">register_match</a> (struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="el" href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a>)</td></tr>
<tr class="separator:a51e61523f6145efa9018411b056e8389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5515c004d183b0244dc4266a3465a58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ac5515c004d183b0244dc4266a3465a58">register_target</a> (struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a> *<a class="el" href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a>)</td></tr>
<tr class="separator:ac5515c004d183b0244dc4266a3465a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9deb3638b501f7d0b8e75bf4728a88e8"><td class="memItemLeft" align="right" valign="top">struct in_addr *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a9deb3638b501f7d0b8e75bf4728a88e8">dotted_to_addr</a> (const char *dotted)</td></tr>
<tr class="separator:a9deb3638b501f7d0b8e75bf4728a88e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad25d974aa49c99f05ee4ea1203888f8b"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ad25d974aa49c99f05ee4ea1203888f8b">addr_to_dotted</a> (const struct in_addr *addrp)</td></tr>
<tr class="separator:ad25d974aa49c99f05ee4ea1203888f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5434efa93b8437dba6ad77e88656b5fd"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a5434efa93b8437dba6ad77e88656b5fd">addr_to_anyname</a> (const struct in_addr *addr)</td></tr>
<tr class="separator:a5434efa93b8437dba6ad77e88656b5fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c981f26414623dde62b8ebd04380d4"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a52c981f26414623dde62b8ebd04380d4">mask_to_dotted</a> (const struct in_addr *mask)</td></tr>
<tr class="separator:a52c981f26414623dde62b8ebd04380d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0151cc00152db5c38f68087ee7d72e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ae0151cc00152db5c38f68087ee7d72e4">parse_hostnetworkmask</a> (const char *name, struct in_addr **addrpp, struct in_addr *maskp, unsigned int *naddrs)</td></tr>
<tr class="separator:ae0151cc00152db5c38f68087ee7d72e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75a062ee1761c70a96d54a5ce0959599"><td class="memItemLeft" align="right" valign="top">u_int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a75a062ee1761c70a96d54a5ce0959599">parse_protocol</a> (const char *s)</td></tr>
<tr class="separator:a75a062ee1761c70a96d54a5ce0959599"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38d0ed45f0fe7870da80105f3fba4bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ad38d0ed45f0fe7870da80105f3fba4bf">parse_interface</a> (const char *arg, char *vianame, unsigned char *mask)</td></tr>
<tr class="separator:ad38d0ed45f0fe7870da80105f3fba4bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70cdbc4ab5ea9b49cfb8baf56da380ff"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a70cdbc4ab5ea9b49cfb8baf56da380ff">do_command</a> (int argc, char *argv[], char **table, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle)</td></tr>
<tr class="separator:a70cdbc4ab5ea9b49cfb8baf56da380ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac81adf751598c404c03a19e6a9234a26"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ac81adf751598c404c03a19e6a9234a26">find_target</a> (const char *name, enum <a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a>)</td></tr>
<tr class="separator:ac81adf751598c404c03a19e6a9234a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaef1f3fd5c24589c941510bd46ddb1b"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#adaef1f3fd5c24589c941510bd46ddb1b">find_match</a> (const char *name, enum <a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a>, struct <a class="el" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a> **match)</td></tr>
<tr class="separator:adaef1f3fd5c24589c941510bd46ddb1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80ad39bb8e49aec849c238f7c7f5bb3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ae80ad39bb8e49aec849c238f7c7f5bb3">delete_chain</a> (const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> chain, int verbose, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle)</td></tr>
<tr class="separator:ae80ad39bb8e49aec849c238f7c7f5bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac56b1d74411ccffcd835bafb3a0522cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#ac56b1d74411ccffcd835bafb3a0522cc">flush_entries</a> (const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> chain, int verbose, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle)</td></tr>
<tr class="separator:ac56b1d74411ccffcd835bafb3a0522cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83042a09c7c6a457fc6225ea2c2403cf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a83042a09c7c6a457fc6225ea2c2403cf">for_each_chain</a> (int(*fn)(const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a>, int, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *), int verbose, int builtinstoo, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle)</td></tr>
<tr class="separator:a83042a09c7c6a457fc6225ea2c2403cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d429019c4bd7fee97f1c7b6282276e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a9d429019c4bd7fee97f1c7b6282276e3">get_kernel_version</a> (void)</td></tr>
<tr class="separator:a9d429019c4bd7fee97f1c7b6282276e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a41ebd28ef1d7c6ade45642cb6acc1039"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a41ebd28ef1d7c6ade45642cb6acc1039">line</a></td></tr>
<tr class="separator:a41ebd28ef1d7c6ade45642cb6acc1039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16845b0a7f8fbe6db2dc4aa215e9911c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a16845b0a7f8fbe6db2dc4aa215e9911c">iptables_matches</a></td></tr>
<tr class="separator:a16845b0a7f8fbe6db2dc4aa215e9911c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6e0d6d9582374e048c71eb800a17b5"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a7e6e0d6d9582374e048c71eb800a17b5">iptables_targets</a></td></tr>
<tr class="separator:a7e6e0d6d9582374e048c71eb800a17b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad6dd4eabf26670f507187c635945afd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#aad6dd4eabf26670f507187c635945afd">kernel_version</a></td></tr>
<tr class="separator:aad6dd4eabf26670f507187c635945afd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="afce983cef8c9dfb0595ee46f7a955aa8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IPPROTO_SCTP&#160;&#160;&#160;132</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3d5e383fa06a909c1b36a98b3c0ce192"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IPT_LIB_DIR&#160;&#160;&#160;&quot;/usr/local/lib/iptables&quot;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="abbbc43443092ce3ff00769edcafdbeea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IPT_SO_GET_REVISION_MATCH&#160;&#160;&#160;(IPT_BASE_CTL + 2)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a1e27214c70d6a5e80cf4790a84822e59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IPT_SO_GET_REVISION_TARGET&#160;&#160;&#160;(IPT_BASE_CTL + 3)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a711b49bf3b6bfdcb6a37dc37cb06afd7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LINUX_VERSION</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">y, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">z&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;(0x10000*(x) + 0x100*(y) + z)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4a3241b58a5b3f86914922ef036d4828"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LINUX_VERSION_MAJOR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(((x)&gt;&gt;16) &amp; 0xFF)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a32f9c940aa3c2bd3199c9d270b47c262"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LINUX_VERSION_MINOR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(((x)&gt;&gt; 8) &amp; 0xFF)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aff1ace127876601034f99135dd6a4396"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LINUX_VERSION_PATCH</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;( (x) &amp; 0xFF)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ac357abf2da450a494304044d28b04ba1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</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="ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52"></a>DONT_LOAD&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654"></a>TRY_LOAD&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d"></a>LOAD_MUST_SUCCEED&#160;</td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a5434efa93b8437dba6ad77e88656b5fd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* addr_to_anyname </td>
<td>(</td>
<td class="paramtype">const struct in_addr *&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad25d974aa49c99f05ee4ea1203888f8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* addr_to_dotted </td>
<td>(</td>
<td class="paramtype">const struct in_addr *&#160;</td>
<td class="paramname"><em>addrp</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae80ad39bb8e49aec849c238f7c7f5bb3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int delete_chain </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a>&#160;</td>
<td class="paramname"><em>chain</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>verbose</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *&#160;</td>
<td class="paramname"><em>handle</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a70cdbc4ab5ea9b49cfb8baf56da380ff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int do_command </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>argv</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>table</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *&#160;</td>
<td class="paramname"><em>handle</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9deb3638b501f7d0b8e75bf4728a88e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct in_addr* dotted_to_addr </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>dotted</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="adaef1f3fd5c24589c941510bd46ddb1b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a>* find_match </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum&#160;</td>
<td class="paramname"><em>ipt_tryload</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a> **&#160;</td>
<td class="paramname"><em>match</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac81adf751598c404c03a19e6a9234a26"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a>* find_target </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">enum&#160;</td>
<td class="paramname"><em>ipt_tryload</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac56b1d74411ccffcd835bafb3a0522cc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int flush_entries </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a>&#160;</td>
<td class="paramname"><em>chain</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>verbose</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *&#160;</td>
<td class="paramname"><em>handle</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a83042a09c7c6a457fc6225ea2c2403cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int for_each_chain </td>
<td>(</td>
<td class="paramtype">int(*)(const <a class="el" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a>, int, <a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *)&#160;</td>
<td class="paramname"><em>fn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>verbose</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>builtinstoo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *&#160;</td>
<td class="paramname"><em>handle</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9d429019c4bd7fee97f1c7b6282276e3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void get_kernel_version </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a52c981f26414623dde62b8ebd04380d4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* mask_to_dotted </td>
<td>(</td>
<td class="paramtype">const struct in_addr *&#160;</td>
<td class="paramname"><em>mask</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae0151cc00152db5c38f68087ee7d72e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void parse_hostnetworkmask </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct in_addr **&#160;</td>
<td class="paramname"><em>addrpp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct in_addr *&#160;</td>
<td class="paramname"><em>maskp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int *&#160;</td>
<td class="paramname"><em>naddrs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad38d0ed45f0fe7870da80105f3fba4bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void parse_interface </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>arg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>vianame</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char *&#160;</td>
<td class="paramname"><em>mask</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a75a062ee1761c70a96d54a5ce0959599"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u_int16_t parse_protocol </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a51e61523f6145efa9018411b056e8389"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void register_match </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *&#160;</td>
<td class="paramname"><em>me</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac5515c004d183b0244dc4266a3465a58"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void register_target </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a> *&#160;</td>
<td class="paramname"><em>me</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a16845b0a7f8fbe6db2dc4aa215e9911c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="../../dc/d5c/structiptables__match.html">iptables_match</a>* iptables_matches</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7e6e0d6d9582374e048c71eb800a17b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="../../d4/da6/structiptables__target.html">iptables_target</a>* iptables_targets</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aad6dd4eabf26670f507187c635945afd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int kernel_version</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a41ebd28ef1d7c6ade45642cb6acc1039"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int line</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="../../dir_8bc5913a01a98b5812fe0bc47a8f5b87.html">libiptc</a></li><li class="navelem"><a class="el" href="../../d4/dff/iptables_8h.html">iptables.h</a></li>
<li class="footer">Generated on Wed Feb 19 2014 14:19:13 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>