123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820 |
- <!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 id="projectlogo"><img alt="Logo" src="../../Logo_netsukuku.jpg"/></td>
- <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('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"> </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="#nested-classes">Data Structures</a> |
- <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">iptables.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="textblock"><code>#include "iptables_common.h"</code><br/>
- <code>#include "<a class="el" href="../../d1/d6b/libiptc_8h_source.html">libiptc/libiptc.h</a>"</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  </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"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </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"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </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"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </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"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a3d5e383fa06a909c1b36a98b3c0ce192">IPT_LIB_DIR</a>   "/usr/local/lib/iptables"</td></tr>
- <tr class="separator:a3d5e383fa06a909c1b36a98b3c0ce192"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afce983cef8c9dfb0595ee46f7a955aa8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#afce983cef8c9dfb0595ee46f7a955aa8">IPPROTO_SCTP</a>   132</td></tr>
- <tr class="separator:afce983cef8c9dfb0595ee46f7a955aa8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abbbc43443092ce3ff00769edcafdbeea"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#abbbc43443092ce3ff00769edcafdbeea">IPT_SO_GET_REVISION_MATCH</a>   (IPT_BASE_CTL + 2)</td></tr>
- <tr class="separator:abbbc43443092ce3ff00769edcafdbeea"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1e27214c70d6a5e80cf4790a84822e59"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a1e27214c70d6a5e80cf4790a84822e59">IPT_SO_GET_REVISION_TARGET</a>   (IPT_BASE_CTL + 3)</td></tr>
- <tr class="separator:a1e27214c70d6a5e80cf4790a84822e59"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a711b49bf3b6bfdcb6a37dc37cb06afd7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a711b49bf3b6bfdcb6a37dc37cb06afd7">LINUX_VERSION</a>(x, y, z)   (0x10000*(x) + 0x100*(y) + z)</td></tr>
- <tr class="separator:a711b49bf3b6bfdcb6a37dc37cb06afd7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4a3241b58a5b3f86914922ef036d4828"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a4a3241b58a5b3f86914922ef036d4828">LINUX_VERSION_MAJOR</a>(x)   (((x)>>16) & 0xFF)</td></tr>
- <tr class="separator:a4a3241b58a5b3f86914922ef036d4828"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a32f9c940aa3c2bd3199c9d270b47c262"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#a32f9c940aa3c2bd3199c9d270b47c262">LINUX_VERSION_MINOR</a>(x)   (((x)>> 8) & 0xFF)</td></tr>
- <tr class="separator:a32f9c940aa3c2bd3199c9d270b47c262"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aff1ace127876601034f99135dd6a4396"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dff/iptables_8h.html#aff1ace127876601034f99135dd6a4396">LINUX_VERSION_PATCH</a>(x)   ( (x) & 0xFF)</td></tr>
- <tr class="separator:aff1ace127876601034f99135dd6a4396"><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:ac357abf2da450a494304044d28b04ba1"><td class="memItemLeft" align="right" valign="top">enum  </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"> </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 </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"> </td></tr>
- <tr class="memitem:ac5515c004d183b0244dc4266a3465a58"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
- <tr class="memitem:a9deb3638b501f7d0b8e75bf4728a88e8"><td class="memItemLeft" align="right" valign="top">struct in_addr * </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"> </td></tr>
- <tr class="memitem:ad25d974aa49c99f05ee4ea1203888f8b"><td class="memItemLeft" align="right" valign="top">char * </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"> </td></tr>
- <tr class="memitem:a5434efa93b8437dba6ad77e88656b5fd"><td class="memItemLeft" align="right" valign="top">char * </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"> </td></tr>
- <tr class="memitem:a52c981f26414623dde62b8ebd04380d4"><td class="memItemLeft" align="right" valign="top">char * </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"> </td></tr>
- <tr class="memitem:ae0151cc00152db5c38f68087ee7d72e4"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
- <tr class="memitem:a75a062ee1761c70a96d54a5ce0959599"><td class="memItemLeft" align="right" valign="top">u_int16_t </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"> </td></tr>
- <tr class="memitem:ad38d0ed45f0fe7870da80105f3fba4bf"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
- <tr class="memitem:a70cdbc4ab5ea9b49cfb8baf56da380ff"><td class="memItemLeft" align="right" valign="top">int </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"> </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> * </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"> </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> * </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"> </td></tr>
- <tr class="memitem:ae80ad39bb8e49aec849c238f7c7f5bb3"><td class="memItemLeft" align="right" valign="top">int </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"> </td></tr>
- <tr class="memitem:ac56b1d74411ccffcd835bafb3a0522cc"><td class="memItemLeft" align="right" valign="top">int </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"> </td></tr>
- <tr class="memitem:a83042a09c7c6a457fc6225ea2c2403cf"><td class="memItemLeft" align="right" valign="top">int </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"> </td></tr>
- <tr class="memitem:a9d429019c4bd7fee97f1c7b6282276e3"><td class="memItemLeft" align="right" valign="top">void </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"> </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 </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"> </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> * </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"> </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> * </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"> </td></tr>
- <tr class="memitem:aad6dd4eabf26670f507187c635945afd"><td class="memItemLeft" align="right" valign="top">int </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"> </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   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   "/usr/local/lib/iptables"</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   (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   (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"> </td>
- <td class="paramname">x, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"> </td>
- <td class="paramname">y, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"> </td>
- <td class="paramname">z </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td>   (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"> </td>
- <td class="paramname">x</td><td>)</td>
- <td>   (((x)>>16) & 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"> </td>
- <td class="paramname">x</td><td>)</td>
- <td>   (((x)>> 8) & 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"> </td>
- <td class="paramname">x</td><td>)</td>
- <td>   ( (x) & 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 </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654"></a>TRY_LOAD </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d"></a>LOAD_MUST_SUCCEED </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 * </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 * </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> </td>
- <td class="paramname"><em>chain</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </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> * </td>
- <td class="paramname"><em>handle</em> </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 </td>
- <td class="paramname"><em>argc</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char * </td>
- <td class="paramname"><em>argv</em>[], </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char ** </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> * </td>
- <td class="paramname"><em>handle</em> </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 * </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 * </td>
- <td class="paramname"><em>name</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">enum </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> ** </td>
- <td class="paramname"><em>match</em> </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 * </td>
- <td class="paramname"><em>name</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">enum </td>
- <td class="paramname"><em>ipt_tryload</em> </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> </td>
- <td class="paramname"><em>chain</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </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> * </td>
- <td class="paramname"><em>handle</em> </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> *) </td>
- <td class="paramname"><em>fn</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>verbose</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </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> * </td>
- <td class="paramname"><em>handle</em> </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 </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 * </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 * </td>
- <td class="paramname"><em>name</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">struct in_addr ** </td>
- <td class="paramname"><em>addrpp</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">struct in_addr * </td>
- <td class="paramname"><em>maskp</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unsigned int * </td>
- <td class="paramname"><em>naddrs</em> </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 * </td>
- <td class="paramname"><em>arg</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char * </td>
- <td class="paramname"><em>vianame</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unsigned char * </td>
- <td class="paramname"><em>mask</em> </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 * </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> * </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> * </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 16:29:18 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>
|