mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-23 09:21:47 +00:00
379 lines
70 KiB
HTML
379 lines
70 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 Source File</title>
|
||
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../jquery.js"></script>
|
||
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
||
|
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../resize.js"></script>
|
||
|
<script type="text/javascript" src="../../navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
||
|
</script>
|
||
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">The Netsukuku Project
|
||
|
 <span id="projectnumber">0.0.9</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">An Alternative routing method</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.6 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="../../index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="../../annotated.html"><span>Data Structures</span></a></li>
|
||
|
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="../../search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="../../files.html"><span>File List</span></a></li>
|
||
|
<li><a href="../../globals.html"><span>Globals</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){initNavTree('d4/dff/iptables_8h_source.html','../../');});
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a></div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">iptables.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="../../d4/dff/iptables_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef _IPTABLES_USER_H</span></div>
|
||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define _IPTABLES_USER_H</span></div>
|
||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div>
|
||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "iptables_common.h"</span></div>
|
||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="../../d1/d6b/libiptc_8h.html">libiptc/libiptc.h</a>"</span></div>
|
||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div>
|
||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#ifndef IPT_LIB_DIR</span></div>
|
||
|
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#a3d5e383fa06a909c1b36a98b3c0ce192"> 8</a></span> <span class="preprocessor">#define IPT_LIB_DIR "/usr/local/lib/iptables"</span></div>
|
||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifndef IPPROTO_SCTP</span></div>
|
||
|
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#afce983cef8c9dfb0595ee46f7a955aa8"> 12</a></span> <span class="preprocessor">#define IPPROTO_SCTP 132</span></div>
|
||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef IPT_SO_GET_REVISION_MATCH </span><span class="comment">/* Old kernel source. */</span><span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#abbbc43443092ce3ff00769edcafdbeea"> 16</a></span> <span class="preprocessor">#define IPT_SO_GET_REVISION_MATCH (IPT_BASE_CTL + 2)</span></div>
|
||
|
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#a1e27214c70d6a5e80cf4790a84822e59"> 17</a></span> <span class="preprocessor">#define IPT_SO_GET_REVISION_TARGET (IPT_BASE_CTL + 3)</span></div>
|
||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
||
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="../../d7/d27/structipt__get__revision.html"> 19</a></span> <span class="keyword">struct </span><a class="code" href="../../d7/d27/structipt__get__revision.html">ipt_get_revision</a></div>
|
||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div>
|
||
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="../../d7/d27/structipt__get__revision.html#ae8625225f1b928e0f2ddc45823ea8049"> 21</a></span>  <span class="keywordtype">char</span> <a class="code" href="../../d7/d27/structipt__get__revision.html#ae8625225f1b928e0f2ddc45823ea8049">name</a>[IPT_FUNCTION_MAXNAMELEN-1];</div>
|
||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="../../d7/d27/structipt__get__revision.html#a38624515f92e5e83a7c849d6509810c5"> 23</a></span>  u_int8_t <a class="code" href="../../d7/d27/structipt__get__revision.html#a38624515f92e5e83a7c849d6509810c5">revision</a>;</div>
|
||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> };</div>
|
||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#endif </span><span class="comment">/* IPT_SO_GET_REVISION_MATCH Old kernel source */</span><span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||
|
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d2/d86/structiptables__rule__match.html"> 27</a></span> <span class="keyword">struct </span><a class="code" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a></div>
|
||
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div>
|
||
|
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../d2/d86/structiptables__rule__match.html#a303c3ed8d78a1bbbe04662868f3ac3c3"> 29</a></span>  <span class="keyword">struct </span><a class="code" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a> *<a class="code" href="../../d2/d86/structiptables__rule__match.html#a303c3ed8d78a1bbbe04662868f3ac3c3">next</a>;</div>
|
||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
|
||
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../d2/d86/structiptables__rule__match.html#a104d012cf877e6639a2b2e9b2f3732a1"> 31</a></span>  <span class="keyword">struct </span><a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="code" href="../../d2/d86/structiptables__rule__match.html#a104d012cf877e6639a2b2e9b2f3732a1">match</a>;</div>
|
||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> };</div>
|
||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
|
||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">/* Include file for additions: new matches and targets. */</span></div>
|
||
|
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html"> 35</a></span> <span class="keyword">struct </span><a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a></div>
|
||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div>
|
||
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a3704c0129f5c238b7c50bcc665c1f791"> 37</a></span>  <span class="keyword">struct </span><a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="code" href="../../dc/d5c/structiptables__match.html#a3704c0129f5c238b7c50bcc665c1f791">next</a>;</div>
|
||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
|
||
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a455f1ff0584ba0399d99574c7d67d6eb"> 39</a></span>  <a class="code" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> <a class="code" href="../../dc/d5c/structiptables__match.html#a455f1ff0584ba0399d99574c7d67d6eb">name</a>;</div>
|
||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">/* Revision of match (0 by default). */</span></div>
|
||
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a84fd22990f7d93ade415c41d07aa54b2"> 42</a></span>  u_int8_t <a class="code" href="../../dc/d5c/structiptables__match.html#a84fd22990f7d93ade415c41d07aa54b2">revision</a>;</div>
|
||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a292175d94d0519dcddeb1cf1ef1354fa"> 44</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../dc/d5c/structiptables__match.html#a292175d94d0519dcddeb1cf1ef1354fa">version</a>;</div>
|
||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div>
|
||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">/* Size of match data. */</span></div>
|
||
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a8ddc8a632008d8df04bed8f551bea153"> 47</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="../../dc/d5c/structiptables__match.html#a8ddc8a632008d8df04bed8f551bea153">size</a>;</div>
|
||
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div>
|
||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">/* Size of match data relevent for userspace comparison purposes */</span></div>
|
||
|
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a676c3c61f198f742a82004634f85f5db"> 50</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="../../dc/d5c/structiptables__match.html#a676c3c61f198f742a82004634f85f5db">userspacesize</a>;</div>
|
||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
|
||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">/* Function which prints out usage message. */</span></div>
|
||
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a613c16c95dacffd3b17d657abe408731"> 53</a></span>  void (*<a class="code" href="../../dc/d5c/structiptables__match.html#a613c16c95dacffd3b17d657abe408731">help</a>)(void);</div>
|
||
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div>
|
||
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">/* Initialize the match. */</span></div>
|
||
|
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a724317e5b1ac4fcb337608865b22bb2d"> 56</a></span>  void (*<a class="code" href="../../dc/d5c/structiptables__match.html#a724317e5b1ac4fcb337608865b22bb2d">init</a>)(<span class="keyword">struct </span>ipt_entry_match *<a class="code" href="../../dc/d5c/structiptables__match.html#af37d342475e5c48610d5f88fd363d483">m</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *nfcache);</div>
|
||
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
||
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">/* Function which parses command options; returns true if it</span></div>
|
||
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> ate an option */</span></div>
|
||
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a890b3b9bde81d5173fbb66fea5474a17"> 60</a></span>  int (*<a class="code" href="../../dc/d5c/structiptables__match.html#a890b3b9bde81d5173fbb66fea5474a17">parse</a>)(<span class="keywordtype">int</span> c, <span class="keywordtype">char</span> **argv, <span class="keywordtype">int</span> invert, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<a class="code" href="../../d7/de2/if_8c.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>,</div>
|
||
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry *entry,</div>
|
||
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *nfcache,</div>
|
||
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">struct </span>ipt_entry_match **match);</div>
|
||
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
|
||
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">/* Final check; exit if not ok. */</span></div>
|
||
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#afa53a42b3ccf47795bb1a24844b3544f"> 66</a></span>  void (*<a class="code" href="../../dc/d5c/structiptables__match.html#afa53a42b3ccf47795bb1a24844b3544f">final_check</a>)(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../d7/de2/if_8c.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>);</div>
|
||
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div>
|
||
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">/* Prints out the match iff non-NULL: put space at end */</span></div>
|
||
|
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a36323e4caab32eca17c9b5dbe15179ad"> 69</a></span>  void (*<a class="code" href="../../dc/d5c/structiptables__match.html#a36323e4caab32eca17c9b5dbe15179ad">print</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>ipt_ip *ip,</div>
|
||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry_match *match, <span class="keywordtype">int</span> numeric);</div>
|
||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
|
||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">/* Saves the match info in parsable form to stdout. */</span></div>
|
||
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a3862ca6f98c8727c634bc38a6b2401cb"> 73</a></span>  void (*<a class="code" href="../../dc/d5c/structiptables__match.html#a3862ca6f98c8727c634bc38a6b2401cb">save</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>ipt_ip *ip,</div>
|
||
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry_match *match);</div>
|
||
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
||
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">/* Pointer to list of extra command-line options */</span></div>
|
||
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a05c41240dc7111b424e278df6e32ad2f"> 77</a></span>  <span class="keyword">const</span> <span class="keyword">struct </span>option *<a class="code" href="../../dc/d5c/structiptables__match.html#a05c41240dc7111b424e278df6e32ad2f">extra_opts</a>;</div>
|
||
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
|
||
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">/* Ignore these men behind the curtain: */</span></div>
|
||
|
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a5087d362d5a2ee89c008ac22de4535fc"> 80</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../dc/d5c/structiptables__match.html#a5087d362d5a2ee89c008ac22de4535fc">option_offset</a>;</div>
|
||
|
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#af37d342475e5c48610d5f88fd363d483"> 81</a></span>  <span class="keyword">struct </span>ipt_entry_match *<a class="code" href="../../dc/d5c/structiptables__match.html#af37d342475e5c48610d5f88fd363d483">m</a>;</div>
|
||
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../dc/d5c/structiptables__match.html#a5ebfbcd7c0e037c1defc70773e85e14a"> 82</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../dc/d5c/structiptables__match.html#a5ebfbcd7c0e037c1defc70773e85e14a">mflags</a>;</div>
|
||
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#ifdef NO_SHARED_LIBS</span></div>
|
||
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> loaded; <span class="comment">/* simulate loading so options are merged properly */</span></div>
|
||
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> };</div>
|
||
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
|
||
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html"> 88</a></span> <span class="keyword">struct </span><a class="code" href="../../d4/da6/structiptables__target.html">iptables_target</a></div>
|
||
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> {</div>
|
||
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#ae47dd35b60b948bf73fe611e17f70347"> 90</a></span>  <span class="keyword">struct </span><a class="code" href="../../d4/da6/structiptables__target.html">iptables_target</a> *<a class="code" href="../../d4/da6/structiptables__target.html#ae47dd35b60b948bf73fe611e17f70347">next</a>;</div>
|
||
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a466623ca71d629c29b87828e7f59b247"> 92</a></span>  <a class="code" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> <a class="code" href="../../d4/da6/structiptables__target.html#a466623ca71d629c29b87828e7f59b247">name</a>;</div>
|
||
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
||
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">/* Revision of target (0 by default). */</span></div>
|
||
|
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a068640dc1fe53496feb6c10ea4b41c4d"> 95</a></span>  u_int8_t <a class="code" href="../../d4/da6/structiptables__target.html#a068640dc1fe53496feb6c10ea4b41c4d">revision</a>;</div>
|
||
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
|
||
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#aca87efd261fea0cf0b640384b2b4343a"> 97</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../d4/da6/structiptables__target.html#aca87efd261fea0cf0b640384b2b4343a">version</a>;</div>
|
||
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div>
|
||
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">/* Size of target data. */</span></div>
|
||
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a5524444472f446a9c073886239979082"> 100</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="../../d4/da6/structiptables__target.html#a5524444472f446a9c073886239979082">size</a>;</div>
|
||
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
|
||
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">/* Size of target data relevent for userspace comparison purposes */</span></div>
|
||
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a6f71a4fbc94c12a6bc4280fc107d9cf4"> 103</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="../../d4/da6/structiptables__target.html#a6f71a4fbc94c12a6bc4280fc107d9cf4">userspacesize</a>;</div>
|
||
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div>
|
||
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">/* Function which prints out usage message. */</span></div>
|
||
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a909aa9f794e5dee9ca3a7e0f5d38f92d"> 106</a></span>  void (*<a class="code" href="../../d4/da6/structiptables__target.html#a909aa9f794e5dee9ca3a7e0f5d38f92d">help</a>)(void);</div>
|
||
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
||
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">/* Initialize the target. */</span></div>
|
||
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a47ccdbf562e18103c1af39fd44ad6112"> 109</a></span>  void (*<a class="code" href="../../d4/da6/structiptables__target.html#a47ccdbf562e18103c1af39fd44ad6112">init</a>)(<span class="keyword">struct </span>ipt_entry_target *<a class="code" href="../../d4/da6/structiptables__target.html#abd8afcd4d98682c80bac3e9e8a6f3499">t</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *nfcache);</div>
|
||
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
||
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">/* Function which parses command options; returns true if it</span></div>
|
||
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment"> ate an option */</span></div>
|
||
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a044f717283e82d97c302f18585861522"> 113</a></span>  int (*<a class="code" href="../../d4/da6/structiptables__target.html#a044f717283e82d97c302f18585861522">parse</a>)(<span class="keywordtype">int</span> c, <span class="keywordtype">char</span> **argv, <span class="keywordtype">int</span> invert, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<a class="code" href="../../d7/de2/if_8c.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>,</div>
|
||
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry *entry,</div>
|
||
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">struct </span>ipt_entry_target **target);</div>
|
||
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
||
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">/* Final check; exit if not ok. */</span></div>
|
||
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#ab9c8d8cc8e73923febc79c146fa521a3"> 118</a></span>  void (*<a class="code" href="../../d4/da6/structiptables__target.html#ab9c8d8cc8e73923febc79c146fa521a3">final_check</a>)(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../d7/de2/if_8c.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>);</div>
|
||
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
|
||
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">/* Prints out the target iff non-NULL: put space at end */</span></div>
|
||
|
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#aa229ddbdefb1bd05b6876f93bfeb2e30"> 121</a></span>  void (*<a class="code" href="../../d4/da6/structiptables__target.html#aa229ddbdefb1bd05b6876f93bfeb2e30">print</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>ipt_ip *ip,</div>
|
||
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry_target *target, <span class="keywordtype">int</span> numeric);</div>
|
||
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div>
|
||
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">/* Saves the targinfo in parsable form to stdout. */</span></div>
|
||
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#abb16915cbf1b019102aab45c0eca498a"> 125</a></span>  void (*<a class="code" href="../../d4/da6/structiptables__target.html#abb16915cbf1b019102aab45c0eca498a">save</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>ipt_ip *ip,</div>
|
||
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">const</span> <span class="keyword">struct </span>ipt_entry_target *target);</div>
|
||
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">/* Pointer to list of extra command-line options */</span></div>
|
||
|
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#affb5f842b700aaeabd332d8a88015c5b"> 129</a></span>  <span class="keyword">struct </span>option *<a class="code" href="../../d4/da6/structiptables__target.html#affb5f842b700aaeabd332d8a88015c5b">extra_opts</a>;</div>
|
||
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
|
||
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">/* Ignore these men behind the curtain: */</span></div>
|
||
|
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#a4f8024cede65f26d31a80607b6bdb164"> 132</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/da6/structiptables__target.html#a4f8024cede65f26d31a80607b6bdb164">option_offset</a>;</div>
|
||
|
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#abd8afcd4d98682c80bac3e9e8a6f3499"> 133</a></span>  <span class="keyword">struct </span>ipt_entry_target *<a class="code" href="../../d4/da6/structiptables__target.html#abd8afcd4d98682c80bac3e9e8a6f3499">t</a>;</div>
|
||
|
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#ad7463f00cce2157f5838fe060c75fbde"> 134</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/da6/structiptables__target.html#ad7463f00cce2157f5838fe060c75fbde">tflags</a>;</div>
|
||
|
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="../../d4/da6/structiptables__target.html#ab20a958f047bc915aa5a187f4c1c86ed"> 135</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/da6/structiptables__target.html#ab20a958f047bc915aa5a187f4c1c86ed">used</a>;</div>
|
||
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#ifdef NO_SHARED_LIBS</span></div>
|
||
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> loaded; <span class="comment">/* simulate loading so options are merged properly */</span></div>
|
||
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> };</div>
|
||
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
||
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#a41ebd28ef1d7c6ade45642cb6acc1039">line</a>;</div>
|
||
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div>
|
||
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment">/* Your shared library should call one of these. */</span></div>
|
||
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/dff/iptables_8h.html#a51e61523f6145efa9018411b056e8389">register_match</a>(<span class="keyword">struct</span> <a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="code" href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a>);</div>
|
||
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/dff/iptables_8h.html#ac5515c004d183b0244dc4266a3465a58">register_target</a>(<span class="keyword">struct</span> <a class="code" href="../../d4/da6/structiptables__target.html">iptables_target</a> *<a class="code" href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a>);</div>
|
||
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
|
||
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keyword">extern</span> <span class="keyword">struct </span>in_addr *<a class="code" href="../../d4/dff/iptables_8h.html#a9deb3638b501f7d0b8e75bf4728a88e8">dotted_to_addr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *dotted);</div>
|
||
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">extern</span> <span class="keywordtype">char</span> *<a class="code" href="../../d4/dff/iptables_8h.html#ad25d974aa49c99f05ee4ea1203888f8b">addr_to_dotted</a>(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr *addrp);</div>
|
||
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">extern</span> <span class="keywordtype">char</span> *<a class="code" href="../../d4/dff/iptables_8h.html#a5434efa93b8437dba6ad77e88656b5fd">addr_to_anyname</a>(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr *addr);</div>
|
||
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keyword">extern</span> <span class="keywordtype">char</span> *<a class="code" href="../../d4/dff/iptables_8h.html#a52c981f26414623dde62b8ebd04380d4">mask_to_dotted</a>(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr *mask);</div>
|
||
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/dff/iptables_8h.html#ae0151cc00152db5c38f68087ee7d72e4">parse_hostnetworkmask</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">struct</span> in_addr **addrpp,</div>
|
||
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">struct</span> in_addr *maskp, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *naddrs);</div>
|
||
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword">extern</span> u_int16_t <a class="code" href="../../d4/dff/iptables_8h.html#a75a062ee1761c70a96d54a5ce0959599">parse_protocol</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
|
||
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/dff/iptables_8h.html#ad38d0ed45f0fe7870da80105f3fba4bf">parse_interface</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *arg, <span class="keywordtype">char</span> *vianame, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *mask);</div>
|
||
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
||
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#a70cdbc4ab5ea9b49cfb8baf56da380ff">do_command</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[], <span class="keywordtype">char</span> **table,</div>
|
||
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle);</div>
|
||
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment">/* Keeping track of external matches and targets: linked lists. */</span></div>
|
||
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="code" href="../../d4/dff/iptables_8h.html#a16845b0a7f8fbe6db2dc4aa215e9911c">iptables_matches</a>;</div>
|
||
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="../../d4/da6/structiptables__target.html">iptables_target</a> *<a class="code" href="../../d4/dff/iptables_8h.html#a7e6e0d6d9582374e048c71eb800a17b5">iptables_targets</a>;</div>
|
||
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div>
|
||
|
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1"> 163</a></span> <span class="keyword">enum</span> <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a> {</div>
|
||
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52"> 164</a></span>  <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52">DONT_LOAD</a>,</div>
|
||
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654"> 165</a></span>  <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654">TRY_LOAD</a>,</div>
|
||
|
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d"> 166</a></span>  <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d">LOAD_MUST_SUCCEED</a></div>
|
||
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> };</div>
|
||
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div>
|
||
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="../../d4/da6/structiptables__target.html">iptables_target</a> *<a class="code" href="../../d4/dff/iptables_8h.html#ac81adf751598c404c03a19e6a9234a26">find_target</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../d4/da6/structiptables__target.html#a466623ca71d629c29b87828e7f59b247">name</a>, <span class="keyword">enum</span> <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a>);</div>
|
||
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="../../dc/d5c/structiptables__match.html">iptables_match</a> *<a class="code" href="../../d4/dff/iptables_8h.html#adaef1f3fd5c24589c941510bd46ddb1b">find_match</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="../../dc/d5c/structiptables__match.html#a455f1ff0584ba0399d99574c7d67d6eb">name</a>, <span class="keyword">enum</span> <a class="code" href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a>, <span class="keyword">struct</span> <a class="code" href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a> **match);</div>
|
||
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
|
||
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#ae80ad39bb8e49aec849c238f7c7f5bb3">delete_chain</a>(<span class="keyword">const</span> <a class="code" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> chain, <span class="keywordtype">int</span> verbose,</div>
|
||
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle);</div>
|
||
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#ac56b1d74411ccffcd835bafb3a0522cc">flush_entries</a>(<span class="keyword">const</span> <a class="code" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a> chain, <span class="keywordtype">int</span> verbose, </div>
|
||
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle);</div>
|
||
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#a83042a09c7c6a457fc6225ea2c2403cf">for_each_chain</a>(<span class="keywordtype">int</span> (*fn)(<span class="keyword">const</span> <a class="code" href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a>, <span class="keywordtype">int</span>, <a class="code" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *),</div>
|
||
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">int</span> verbose, <span class="keywordtype">int</span> builtinstoo, <a class="code" href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a> *handle);</div>
|
||
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
||
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment">/* kernel revision handling */</span></div>
|
||
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="../../d4/dff/iptables_8h.html#aad6dd4eabf26670f507187c635945afd">kernel_version</a>;</div>
|
||
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/dff/iptables_8h.html#a9d429019c4bd7fee97f1c7b6282276e3">get_kernel_version</a>(<span class="keywordtype">void</span>);</div>
|
||
|
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#a711b49bf3b6bfdcb6a37dc37cb06afd7"> 182</a></span> <span class="preprocessor">#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z)</span></div>
|
||
|
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#a4a3241b58a5b3f86914922ef036d4828"> 183</a></span> <span class="preprocessor">#define LINUX_VERSION_MAJOR(x) (((x)>>16) & 0xFF)</span></div>
|
||
|
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#a32f9c940aa3c2bd3199c9d270b47c262"> 184</a></span> <span class="preprocessor">#define LINUX_VERSION_MINOR(x) (((x)>> 8) & 0xFF)</span></div>
|
||
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="../../d4/dff/iptables_8h.html#aff1ace127876601034f99135dd6a4396"> 185</a></span> <span class="preprocessor">#define LINUX_VERSION_PATCH(x) ( (x) & 0xFF)</span></div>
|
||
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div>
|
||
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor">#endif </span><span class="comment">/*_IPTABLES_USER_H*/</span><span class="preprocessor"></span></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ae80ad39bb8e49aec849c238f7c7f5bb3"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ae80ad39bb8e49aec849c238f7c7f5bb3">delete_chain</a></div><div class="ttdeci">int delete_chain(const ipt_chainlabel chain, int verbose, iptc_handle_t *handle)</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a6f71a4fbc94c12a6bc4280fc107d9cf4"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a6f71a4fbc94c12a6bc4280fc107d9cf4">iptables_target::userspacesize</a></div><div class="ttdeci">size_t userspacesize</div><div class="ttdef"><b>Definition:</b> iptables.h:103</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a4f8024cede65f26d31a80607b6bdb164"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a4f8024cede65f26d31a80607b6bdb164">iptables_target::option_offset</a></div><div class="ttdeci">unsigned int option_offset</div><div class="ttdef"><b>Definition:</b> iptables.h:132</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_adaef1f3fd5c24589c941510bd46ddb1b"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#adaef1f3fd5c24589c941510bd46ddb1b">find_match</a></div><div class="ttdeci">struct iptables_match * find_match(const char *name, enum ipt_tryload, struct iptables_rule_match **match)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html">iptables_match</a></div><div class="ttdef"><b>Definition:</b> iptables.h:35</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a905876ebe39085baf1e31504d6daf654">TRY_LOAD</a></div><div class="ttdef"><b>Definition:</b> iptables.h:165</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a5087d362d5a2ee89c008ac22de4535fc"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a5087d362d5a2ee89c008ac22de4535fc">iptables_match::option_offset</a></div><div class="ttdeci">unsigned int option_offset</div><div class="ttdef"><b>Definition:</b> iptables.h:80</div></div>
|
||
|
<div class="ttc" id="structiptables__rule__match_html_a303c3ed8d78a1bbbe04662868f3ac3c3"><div class="ttname"><a href="../../d2/d86/structiptables__rule__match.html#a303c3ed8d78a1bbbe04662868f3ac3c3">iptables_rule_match::next</a></div><div class="ttdeci">struct iptables_rule_match * next</div><div class="ttdef"><b>Definition:</b> iptables.h:29</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a47ccdbf562e18103c1af39fd44ad6112"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a47ccdbf562e18103c1af39fd44ad6112">iptables_target::init</a></div><div class="ttdeci">void(* init)(struct ipt_entry_target *t, unsigned int *nfcache)</div><div class="ttdef"><b>Definition:</b> iptables.h:109</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a05c41240dc7111b424e278df6e32ad2f"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a05c41240dc7111b424e278df6e32ad2f">iptables_match::extra_opts</a></div><div class="ttdeci">const struct option * extra_opts</div><div class="ttdef"><b>Definition:</b> iptables.h:77</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_ab20a958f047bc915aa5a187f4c1c86ed"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#ab20a958f047bc915aa5a187f4c1c86ed">iptables_target::used</a></div><div class="ttdeci">unsigned int used</div><div class="ttdef"><b>Definition:</b> iptables.h:135</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_ae47dd35b60b948bf73fe611e17f70347"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#ae47dd35b60b948bf73fe611e17f70347">iptables_target::next</a></div><div class="ttdeci">struct iptables_target * next</div><div class="ttdef"><b>Definition:</b> iptables.h:90</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ad25d974aa49c99f05ee4ea1203888f8b"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ad25d974aa49c99f05ee4ea1203888f8b">addr_to_dotted</a></div><div class="ttdeci">char * addr_to_dotted(const struct in_addr *addrp)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a5ebfbcd7c0e037c1defc70773e85e14a"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a5ebfbcd7c0e037c1defc70773e85e14a">iptables_match::mflags</a></div><div class="ttdeci">unsigned int mflags</div><div class="ttdef"><b>Definition:</b> iptables.h:82</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_aad6dd4eabf26670f507187c635945afd"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#aad6dd4eabf26670f507187c635945afd">kernel_version</a></div><div class="ttdeci">int kernel_version</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a455f1ff0584ba0399d99574c7d67d6eb"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a455f1ff0584ba0399d99574c7d67d6eb">iptables_match::name</a></div><div class="ttdeci">ipt_chainlabel name</div><div class="ttdef"><b>Definition:</b> iptables.h:39</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a5434efa93b8437dba6ad77e88656b5fd"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a5434efa93b8437dba6ad77e88656b5fd">addr_to_anyname</a></div><div class="ttdeci">char * addr_to_anyname(const struct in_addr *addr)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a3704c0129f5c238b7c50bcc665c1f791"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a3704c0129f5c238b7c50bcc665c1f791">iptables_match::next</a></div><div class="ttdeci">struct iptables_match * next</div><div class="ttdef"><b>Definition:</b> iptables.h:37</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a70cdbc4ab5ea9b49cfb8baf56da380ff"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a70cdbc4ab5ea9b49cfb8baf56da380ff">do_command</a></div><div class="ttdeci">int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_aa229ddbdefb1bd05b6876f93bfeb2e30"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#aa229ddbdefb1bd05b6876f93bfeb2e30">iptables_target::print</a></div><div class="ttdeci">void(* print)(const struct ipt_ip *ip, const struct ipt_entry_target *target, int numeric)</div><div class="ttdef"><b>Definition:</b> iptables.h:121</div></div>
|
||
|
<div class="ttc" id="structipt__get__revision_html"><div class="ttname"><a href="../../d7/d27/structipt__get__revision.html">ipt_get_revision</a></div><div class="ttdef"><b>Definition:</b> iptables.h:19</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_abb16915cbf1b019102aab45c0eca498a"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#abb16915cbf1b019102aab45c0eca498a">iptables_target::save</a></div><div class="ttdeci">void(* save)(const struct ipt_ip *ip, const struct ipt_entry_target *target)</div><div class="ttdef"><b>Definition:</b> iptables.h:125</div></div>
|
||
|
<div class="ttc" id="netsukuku_8h_html_a3845f36a591a50d5099ca558e4cfc6c6"><div class="ttname"><a href="../../db/d93/netsukuku_8h.html#a3845f36a591a50d5099ca558e4cfc6c6">me</a></div><div class="ttdeci">struct current_globals me</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ae0151cc00152db5c38f68087ee7d72e4"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ae0151cc00152db5c38f68087ee7d72e4">parse_hostnetworkmask</a></div><div class="ttdeci">void parse_hostnetworkmask(const char *name, struct in_addr **addrpp, struct in_addr *maskp, unsigned int *naddrs)</div></div>
|
||
|
<div class="ttc" id="libiptc_8h_html_a2748325528965622493003928cfaf6fd"><div class="ttname"><a href="../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd">iptc_handle_t</a></div><div class="ttdeci">struct iptc_handle * iptc_handle_t</div><div class="ttdef"><b>Definition:</b> libiptc.h:51</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a75a062ee1761c70a96d54a5ce0959599"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a75a062ee1761c70a96d54a5ce0959599">parse_protocol</a></div><div class="ttdeci">u_int16_t parse_protocol(const char *s)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a292175d94d0519dcddeb1cf1ef1354fa"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a292175d94d0519dcddeb1cf1ef1354fa">iptables_match::version</a></div><div class="ttdeci">const char * version</div><div class="ttdef"><b>Definition:</b> iptables.h:44</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a3862ca6f98c8727c634bc38a6b2401cb"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a3862ca6f98c8727c634bc38a6b2401cb">iptables_match::save</a></div><div class="ttdeci">void(* save)(const struct ipt_ip *ip, const struct ipt_entry_match *match)</div><div class="ttdef"><b>Definition:</b> iptables.h:73</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a83042a09c7c6a457fc6225ea2c2403cf"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a83042a09c7c6a457fc6225ea2c2403cf">for_each_chain</a></div><div class="ttdeci">int for_each_chain(int(*fn)(const ipt_chainlabel, int, iptc_handle_t *), int verbose, int builtinstoo, iptc_handle_t *handle)</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a16845b0a7f8fbe6db2dc4aa215e9911c"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a16845b0a7f8fbe6db2dc4aa215e9911c">iptables_matches</a></div><div class="ttdeci">struct iptables_match * iptables_matches</div></div>
|
||
|
<div class="ttc" id="structipt__get__revision_html_ae8625225f1b928e0f2ddc45823ea8049"><div class="ttname"><a href="../../d7/d27/structipt__get__revision.html#ae8625225f1b928e0f2ddc45823ea8049">ipt_get_revision::name</a></div><div class="ttdeci">char name[IPT_FUNCTION_MAXNAMELEN-1]</div><div class="ttdef"><b>Definition:</b> iptables.h:21</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_afa53a42b3ccf47795bb1a24844b3544f"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#afa53a42b3ccf47795bb1a24844b3544f">iptables_match::final_check</a></div><div class="ttdeci">void(* final_check)(unsigned int flags)</div><div class="ttdef"><b>Definition:</b> iptables.h:66</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_aca87efd261fea0cf0b640384b2b4343a"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#aca87efd261fea0cf0b640384b2b4343a">iptables_target::version</a></div><div class="ttdeci">const char * version</div><div class="ttdef"><b>Definition:</b> iptables.h:97</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ad38d0ed45f0fe7870da80105f3fba4bf"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ad38d0ed45f0fe7870da80105f3fba4bf">parse_interface</a></div><div class="ttdeci">void parse_interface(const char *arg, char *vianame, unsigned char *mask)</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a909aa9f794e5dee9ca3a7e0f5d38f92d"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a909aa9f794e5dee9ca3a7e0f5d38f92d">iptables_target::help</a></div><div class="ttdeci">void(* help)(void)</div><div class="ttdef"><b>Definition:</b> iptables.h:106</div></div>
|
||
|
<div class="ttc" id="structiptables__rule__match_html_a104d012cf877e6639a2b2e9b2f3732a1"><div class="ttname"><a href="../../d2/d86/structiptables__rule__match.html#a104d012cf877e6639a2b2e9b2f3732a1">iptables_rule_match::match</a></div><div class="ttdeci">struct iptables_match * match</div><div class="ttdef"><b>Definition:</b> iptables.h:31</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html"><div class="ttname"><a href="../../d4/da6/structiptables__target.html">iptables_target</a></div><div class="ttdef"><b>Definition:</b> iptables.h:88</div></div>
|
||
|
<div class="ttc" id="structiptables__rule__match_html"><div class="ttname"><a href="../../d2/d86/structiptables__rule__match.html">iptables_rule_match</a></div><div class="ttdef"><b>Definition:</b> iptables.h:27</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a724317e5b1ac4fcb337608865b22bb2d"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a724317e5b1ac4fcb337608865b22bb2d">iptables_match::init</a></div><div class="ttdeci">void(* init)(struct ipt_entry_match *m, unsigned int *nfcache)</div><div class="ttdef"><b>Definition:</b> iptables.h:56</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a7e6e0d6d9582374e048c71eb800a17b5"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a7e6e0d6d9582374e048c71eb800a17b5">iptables_targets</a></div><div class="ttdeci">struct iptables_target * iptables_targets</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_affb5f842b700aaeabd332d8a88015c5b"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#affb5f842b700aaeabd332d8a88015c5b">iptables_target::extra_opts</a></div><div class="ttdeci">struct option * extra_opts</div><div class="ttdef"><b>Definition:</b> iptables.h:129</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a431c12ad053e3edf957143c2bcd57c52">DONT_LOAD</a></div><div class="ttdef"><b>Definition:</b> iptables.h:164</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a068640dc1fe53496feb6c10ea4b41c4d"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a068640dc1fe53496feb6c10ea4b41c4d">iptables_target::revision</a></div><div class="ttdeci">u_int8_t revision</div><div class="ttdef"><b>Definition:</b> iptables.h:95</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac56b1d74411ccffcd835bafb3a0522cc"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac56b1d74411ccffcd835bafb3a0522cc">flush_entries</a></div><div class="ttdeci">int flush_entries(const ipt_chainlabel chain, int verbose, iptc_handle_t *handle)</div></div>
|
||
|
<div class="ttc" id="structipt__get__revision_html_a38624515f92e5e83a7c849d6509810c5"><div class="ttname"><a href="../../d7/d27/structipt__get__revision.html#a38624515f92e5e83a7c849d6509810c5">ipt_get_revision::revision</a></div><div class="ttdeci">u_int8_t revision</div><div class="ttdef"><b>Definition:</b> iptables.h:23</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_abd8afcd4d98682c80bac3e9e8a6f3499"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#abd8afcd4d98682c80bac3e9e8a6f3499">iptables_target::t</a></div><div class="ttdeci">struct ipt_entry_target * t</div><div class="ttdef"><b>Definition:</b> iptables.h:133</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a5524444472f446a9c073886239979082"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a5524444472f446a9c073886239979082">iptables_target::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition:</b> iptables.h:100</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a613c16c95dacffd3b17d657abe408731"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a613c16c95dacffd3b17d657abe408731">iptables_match::help</a></div><div class="ttdeci">void(* help)(void)</div><div class="ttdef"><b>Definition:</b> iptables.h:53</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a41ebd28ef1d7c6ade45642cb6acc1039"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a41ebd28ef1d7c6ade45642cb6acc1039">line</a></div><div class="ttdeci">int line</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a466623ca71d629c29b87828e7f59b247"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a466623ca71d629c29b87828e7f59b247">iptables_target::name</a></div><div class="ttdeci">ipt_chainlabel name</div><div class="ttdef"><b>Definition:</b> iptables.h:92</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a52c981f26414623dde62b8ebd04380d4"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a52c981f26414623dde62b8ebd04380d4">mask_to_dotted</a></div><div class="ttdeci">char * mask_to_dotted(const struct in_addr *mask)</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_ab9c8d8cc8e73923febc79c146fa521a3"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#ab9c8d8cc8e73923febc79c146fa521a3">iptables_target::final_check</a></div><div class="ttdeci">void(* final_check)(unsigned int flags)</div><div class="ttdef"><b>Definition:</b> iptables.h:118</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a890b3b9bde81d5173fbb66fea5474a17"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a890b3b9bde81d5173fbb66fea5474a17">iptables_match::parse</a></div><div class="ttdeci">int(* parse)(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, unsigned int *nfcache, struct ipt_entry_match **match)</div><div class="ttdef"><b>Definition:</b> iptables.h:60</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_a044f717283e82d97c302f18585861522"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#a044f717283e82d97c302f18585861522">iptables_target::parse</a></div><div class="ttdeci">int(* parse)(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, struct ipt_entry_target **target)</div><div class="ttdef"><b>Definition:</b> iptables.h:113</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac357abf2da450a494304044d28b04ba1"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1">ipt_tryload</a></div><div class="ttdeci">ipt_tryload</div><div class="ttdef"><b>Definition:</b> iptables.h:163</div></div>
|
||
|
<div class="ttc" id="structiptables__target_html_ad7463f00cce2157f5838fe060c75fbde"><div class="ttname"><a href="../../d4/da6/structiptables__target.html#ad7463f00cce2157f5838fe060c75fbde">iptables_target::tflags</a></div><div class="ttdeci">unsigned int tflags</div><div class="ttdef"><b>Definition:</b> iptables.h:134</div></div>
|
||
|
<div class="ttc" id="libiptc_8h_html"><div class="ttname"><a href="../../d1/d6b/libiptc_8h.html">libiptc.h</a></div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a51e61523f6145efa9018411b056e8389"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a51e61523f6145efa9018411b056e8389">register_match</a></div><div class="ttdeci">void register_match(struct iptables_match *me)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a676c3c61f198f742a82004634f85f5db"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a676c3c61f198f742a82004634f85f5db">iptables_match::userspacesize</a></div><div class="ttdeci">size_t userspacesize</div><div class="ttdef"><b>Definition:</b> iptables.h:50</div></div>
|
||
|
<div class="ttc" id="if_8c_html_ac8bf36fe0577cba66bccda3a6f7e80a4"><div class="ttname"><a href="../../d7/de2/if_8c.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a></div><div class="ttdeci">int flags</div><div class="ttdef"><b>Definition:</b> if.c:39</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac81adf751598c404c03a19e6a9234a26"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac81adf751598c404c03a19e6a9234a26">find_target</a></div><div class="ttdeci">struct iptables_target * find_target(const char *name, enum ipt_tryload)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a36323e4caab32eca17c9b5dbe15179ad"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a36323e4caab32eca17c9b5dbe15179ad">iptables_match::print</a></div><div class="ttdeci">void(* print)(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric)</div><div class="ttdef"><b>Definition:</b> iptables.h:69</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac5515c004d183b0244dc4266a3465a58"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac5515c004d183b0244dc4266a3465a58">register_target</a></div><div class="ttdeci">void register_target(struct iptables_target *me)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a84fd22990f7d93ade415c41d07aa54b2"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a84fd22990f7d93ade415c41d07aa54b2">iptables_match::revision</a></div><div class="ttdeci">u_int8_t revision</div><div class="ttdef"><b>Definition:</b> iptables.h:42</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a9d429019c4bd7fee97f1c7b6282276e3"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a9d429019c4bd7fee97f1c7b6282276e3">get_kernel_version</a></div><div class="ttdeci">void get_kernel_version(void)</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#ac357abf2da450a494304044d28b04ba1a95d94b901b761b14fef70d69c36ac76d">LOAD_MUST_SUCCEED</a></div><div class="ttdef"><b>Definition:</b> iptables.h:166</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_af37d342475e5c48610d5f88fd363d483"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#af37d342475e5c48610d5f88fd363d483">iptables_match::m</a></div><div class="ttdeci">struct ipt_entry_match * m</div><div class="ttdef"><b>Definition:</b> iptables.h:81</div></div>
|
||
|
<div class="ttc" id="iptables_8h_html_a9deb3638b501f7d0b8e75bf4728a88e8"><div class="ttname"><a href="../../d4/dff/iptables_8h.html#a9deb3638b501f7d0b8e75bf4728a88e8">dotted_to_addr</a></div><div class="ttdeci">struct in_addr * dotted_to_addr(const char *dotted)</div></div>
|
||
|
<div class="ttc" id="structiptables__match_html_a8ddc8a632008d8df04bed8f551bea153"><div class="ttname"><a href="../../dc/d5c/structiptables__match.html#a8ddc8a632008d8df04bed8f551bea153">iptables_match::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition:</b> iptables.h:47</div></div>
|
||
|
<div class="ttc" id="libiptc_8h_html_a1afa0969a05e331565d49d101ed8b391"><div class="ttname"><a href="../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391">ipt_chainlabel</a></div><div class="ttdeci">char ipt_chainlabel[32]</div><div class="ttdef"><b>Definition:</b> libiptc.h:43</div></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../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:07 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>
|