2014-02-19 23:45:00 +00:00
<!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/libiptc.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;" >
2014-02-20 00:30:40 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "../../Logo_netsukuku.jpg" / > < / td >
2014-02-19 23:45:00 +00:00
< 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('d1/d6b/libiptc_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" > libiptc.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a href = "../../d1/d6b/libiptc_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 _LIBIPTC_H< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #define _LIBIPTC_H< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > /* Library which manipulates filtering rules. */< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "preprocessor" > #ifndef _FWCHAINS_KERNEL_HEADERS_H< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#ad84f43fcb0825aea0de103712ec85413" > 6< / a > < / span >   < span class = "preprocessor" > #define _FWCHAINS_KERNEL_HEADERS_H< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > #include < limits.h> < / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "preprocessor" > #if defined(__GLIBC__) & & __GLIBC__ == 2< / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #include < netinet/in.h> < / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "preprocessor" > #include < netinet/tcp.h> < / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #include < netinet/udp.h> < / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "preprocessor" > #include < net/if.h> < / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "preprocessor" > #include < sys/types.h> < / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "preprocessor" > #else < / span > < span class = "comment" > /* libc5 */< / span > < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "preprocessor" > #include < sys/socket.h> < / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "preprocessor" > #include < linux/ip.h> < / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < span class = "preprocessor" > #include < linux/in.h> < / span > < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "preprocessor" > #include < linux/if.h> < / span > < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < span class = "preprocessor" > #include < linux/icmp.h> < / span > < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < span class = "preprocessor" > #include < linux/tcp.h> < / span > < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "preprocessor" > #include < linux/udp.h> < / span > < / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < span class = "preprocessor" > #include < linux/types.h> < / span > < / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < span class = "preprocessor" > #include < linux/in6.h> < / span > < / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < span class = "preprocessor" > #include < linux/netfilter_ipv4/ip_tables.h> < / span > < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < span class = "preprocessor" > #endif< / 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 = "preprocessor" > #ifndef IPT_MIN_ALIGN< / span > < / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < span class = "comment" > /* ipt_entry has pointers and u_int64_t' s in it, so if you align to< / span > < / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "comment" > it, you' ll also align to any crazy matches and targets someone< / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "comment" > might write */< / span > < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#aa43951b3289a62527da1b2430f1cde90" > 38< / a > < / span >   < span class = "preprocessor" > #define IPT_MIN_ALIGN (__alignof__(struct ipt_entry))< / span > < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#a7f5eb514da9a524135ec8f55e347df24" > 41< / a > < / span >   < span class = "preprocessor" > #define IPT_ALIGN(s) (((s) + ((IPT_MIN_ALIGN)-1)) & ~((IPT_MIN_ALIGN)-1))< / span > < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391" > 43< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keywordtype" > char< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a1afa0969a05e331565d49d101ed8b391" > ipt_chainlabel< / a > [32];< / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#ad04280efe19acdad5ceb0c7131b479f1" > 45< / a > < / span >   < span class = "preprocessor" > #define IPTC_LABEL_ACCEPT " ACCEPT" < / span > < / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#a46395ef7fd7761ae7860c83972ea31de" > 46< / a > < / span >   < span class = "preprocessor" > #define IPTC_LABEL_DROP " DROP" < / span > < / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#ab47f5fce9451e2f390204290b9057017" > 47< / a > < / span >   < span class = "preprocessor" > #define IPTC_LABEL_QUEUE " QUEUE" < / span > < / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#aa39aeace6ae224c618f13888a1bf7b6f" > 48< / a > < / span >   < span class = "preprocessor" > #define IPTC_LABEL_RETURN " RETURN" < / span > < / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "comment" > /* Transparent handle type. */< / span > < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd" > 51< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > iptc_handle *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a2748325528965622493003928cfaf6fd" > iptc_handle_t< / a > ;< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   < span class = "comment" > /* Does this chain exist? */< / span > < / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a1aabca201f7a386daeacd404f7b55925" > iptc_is_chain< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *chain, < span class = "keyword" > const< / span > iptc_handle_t handle);< / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "comment" > /* Take a snapshot of the rules. Returns NULL on error. */< / span > < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   iptc_handle_t < a class = "code" href = "../../d1/d6b/libiptc_8h.html#ae2d8cd75a10268c3b70a9d37e08004b4" > iptc_init< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *tablename);< / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   < / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < span class = "comment" > /* Cleanup after iptc_init(). */< / span > < / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a05527d7767cd7c5f2d63de887fc2cd37" > iptc_free< / a > (iptc_handle_t *h);< / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < span class = "comment" > /* Iterator functions to run through the chains. Returns NULL at end. */< / span > < / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a5c04395566942b486c7ed55f1c0c15f5" > iptc_first_chain< / a > (iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a9412a314fc05a6d9a2c084e5799df2fe" > iptc_next_chain< / a > (iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < span class = "comment" > /* Get first rule in the given chain: NULL for empty chain. */< / span > < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct < / span > ipt_entry *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a569e36bb7700cd958c21b8438bc64fc9" > iptc_first_rule< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *chain,< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < span class = "comment" > /* Returns NULL when rules run out. */< / span > < / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > 71< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct < / span > ipt_entry *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a343ecb2ab7f20188d5788569b52e6dfc" > iptc_next_rule< / a > (< span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *prev,< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   < / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > 74< / span >   < span class = "comment" > /* Returns a pointer to the target name of this entry. */< / span > < / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#ae0e7c1d061db651740269bf507c81b26" > iptc_get_target< / a > (< span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *e,< / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   < span class = "comment" > /* Is this a built-in chain? */< / span > < / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a0ab5c13bb80063102f83d3a325399ffe" > iptc_builtin< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *chain, < span class = "keyword" > const< / span > iptc_handle_t handle);< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   < / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   < span class = "comment" > /* Get the policy of a given built-in chain */< / span > < / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a28fc6d33d13f15b7fc688deb0109e9ac" > iptc_get_policy< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *chain,< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   < span class = "keyword" > struct< / span > ipt_counters *counter,< / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   < / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   < span class = "comment" > /* These functions return TRUE for OK or 0 and set errno. If errno ==< / span > < / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   < span class = "comment" > 0, it means there was a version error (ie. upgrade libiptc). */< / span > < / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < span class = "comment" > /* Rule numbers start at 1 for the first rule. */< / span > < / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   < / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   < span class = "comment" > /* Insert the entry `e' in chain `chain' into position `rulenum' . */< / span > < / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a8776cb6ed66b4c4b71b440d9f4e8c534" > iptc_insert_entry< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *e,< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   < / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   < span class = "comment" > /* Atomically replace rule `rulenum' in `chain' with `e' . */< / span > < / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a56fd2a01d9151068d54808e4be533ea4" > iptc_replace_entry< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *e,< / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   iptc_handle_t *handle);< / 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" > /* Append entry `e' to chain `chain' . Equivalent to insert with< / span > < / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / span >   < span class = "comment" > rulenum = length of chain. */< / span > < / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a94c437e7d96a62caee840c4eb2edc16a" > iptc_append_entry< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *e,< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   iptc_handle_t *handle);< / 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" > /* Delete the first rule in `chain' which matches `e' , subject to< / span > < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < span class = "comment" > matchmask (array of length == origfw) */< / span > < / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a40f295c3e8ceae85fcca880eeda3fb07" > iptc_delete_entry< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > ipt_entry *origfw,< / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > char< / span > *matchmask,< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   < span class = "comment" > /* Delete the rule in position `rulenum' in `chain' . */< / span > < / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a465ad6c36f47ca06e7649956382870e7" > iptc_delete_num_entry< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   iptc_handle_t *handle);< / 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" > /* Check the packet `e' on chain `chain' . Returns the verdict, or< / span > < / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   < span class = "comment" > NULL and sets errno. */< / span > < / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#af3d8e371defe255c32f57aca2cd54b75" > iptc_check_packet< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   < span class = "keyword" > struct< / span > ipt_entry *entry,< / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   < / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < span class = "comment" > /* Flushes the entries in the given chain (ie. empties chain). */< / span > < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a20dd1551afafb68d0d0c5e3b2cd28435" > iptc_flush_entries< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "comment" > /* Zeroes the counters in a chain. */< / span > < / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a85c6738e9e5c5951bc9cea730dfe53f2" > iptc_zero_entries< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   < / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < span class = "comment" > /* Creates a new chain. */< / span > < / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#ac5fefcbe0159a853ebc9cee7fd84b542" > iptc_create_chain< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   < / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   < span class = "comment" > /* Deletes a chain. */< / span > < / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a83f9235c6f1058c4b99deab56ecde875" > iptc_delete_chain< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < span class = "comment" > /* Renames a chain. */< / span > < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a1758fe07d2e3423ce263a56c7c83d97e" > iptc_rename_chain< / a > (< span class = "keyword" > const< / span > ipt_chainlabel oldname,< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < span class = "keyword" > const< / span > ipt_chainlabel newname,< / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   iptc_handle_t *handle);< / 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 = "comment" > /* Sets the policy on a built-in chain. */< / span > < / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a493a6e20cce953dbb89aadccbae69088" > iptc_set_policy< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   < span class = "keyword" > const< / span > ipt_chainlabel policy,< / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   < span class = "keyword" > struct< / span > ipt_counters *counters,< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   < / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   < span class = "comment" > /* Get the number of references to this chain */< / span > < / div >
< div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a9174e6135f1ce92adc59b385bcff7269" > iptc_get_references< / a > (< span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > *ref,< / div >
< div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > 155< / span >   < span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   < span class = "comment" > /* read packet and byte counters for a specific rule */< / span > < / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < span class = "keyword" > struct < / span > ipt_counters *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#a7fdf361063402c2dbcb149862540799d" > iptc_read_counter< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < / div >
< div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   < span class = "comment" > /* zero packet and byte counters for a specific rule */< / span > < / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#ab7b70de858ccfdfb617c784ba9f11f56" > iptc_zero_counter< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   iptc_handle_t *handle);< / 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 >   < span class = "comment" > /* set packet and byte counters for a specific rule */< / span > < / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a2378dba67cfecade0ffe43a4c5fe1341" > iptc_set_counter< / a > (< span class = "keyword" > const< / span > ipt_chainlabel chain,< / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > rulenum,< / div >
< div class = "line" > < a name = "l00171" > < / a > < span class = "lineno" > 171< / span >   < span class = "keyword" > struct< / span > ipt_counters *counters,< / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00173" > < / a > < span class = "lineno" > 173< / span >   < / div >
< div class = "line" > < a name = "l00174" > < / a > < span class = "lineno" > 174< / span >   < span class = "comment" > /* Makes the actual changes. */< / span > < / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#ac501f3fe20be73430601409b1ac2fb5a" > iptc_commit< / a > (iptc_handle_t *handle);< / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   < / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < span class = "comment" > /* Get raw socket. */< / span > < / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "../../d1/d6b/libiptc_8h.html#a9ffb0bcb929b90aeec64ef82a88f051c" > iptc_get_raw_socket< / a > ();< / div >
< div class = "line" > < a name = "l00179" > < / a > < span class = "lineno" > 179< / span >   < / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < span class = "comment" > /* Translates errno numbers into more human-readable form than strerror. */< / span > < / div >
< div class = "line" > < a name = "l00181" > < / a > < span class = "lineno" > 181< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< a class = "code" href = "../../d1/d6b/libiptc_8h.html#acea4cb1fbf2aa22554757cc703643f4b" > iptc_strerror< / a > (< span class = "keywordtype" > int< / span > err);< / div >
< div class = "line" > < a name = "l00182" > < / a > < span class = "lineno" > 182< / span >   < / div >
< div class = "line" > < a name = "l00183" > < / a > < span class = "lineno" > 183< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > 184< / span >   }< / div >
< div class = "line" > < a name = "l00185" > < / a > < span class = "lineno" > 185< / span >   < span class = "preprocessor" > #endif< / 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 >   < / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > 188< / span >   < span class = "preprocessor" > #endif < / span > < span class = "comment" > /* _LIBIPTC_H */< / span > < span class = "preprocessor" > < / span > < / div >
< div class = "ttc" id = "libiptc_8h_html_ae2d8cd75a10268c3b70a9d37e08004b4" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#ae2d8cd75a10268c3b70a9d37e08004b4" > iptc_init< / a > < / div > < div class = "ttdeci" > iptc_handle_t iptc_init(const char *tablename)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_ab7b70de858ccfdfb617c784ba9f11f56" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#ab7b70de858ccfdfb617c784ba9f11f56" > iptc_zero_counter< / a > < / div > < div class = "ttdeci" > int iptc_zero_counter(const ipt_chainlabel chain, unsigned int rulenum, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_ac501f3fe20be73430601409b1ac2fb5a" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#ac501f3fe20be73430601409b1ac2fb5a" > iptc_commit< / a > < / div > < div class = "ttdeci" > int iptc_commit(iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a9ffb0bcb929b90aeec64ef82a88f051c" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a9ffb0bcb929b90aeec64ef82a88f051c" > iptc_get_raw_socket< / a > < / div > < div class = "ttdeci" > int iptc_get_raw_socket()< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a20dd1551afafb68d0d0c5e3b2cd28435" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a20dd1551afafb68d0d0c5e3b2cd28435" > iptc_flush_entries< / a > < / div > < div class = "ttdeci" > int iptc_flush_entries(const ipt_chainlabel chain, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a493a6e20cce953dbb89aadccbae69088" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a493a6e20cce953dbb89aadccbae69088" > iptc_set_policy< / a > < / div > < div class = "ttdeci" > int iptc_set_policy(const ipt_chainlabel chain, const ipt_chainlabel policy, struct ipt_counters *counters, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a5c04395566942b486c7ed55f1c0c15f5" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a5c04395566942b486c7ed55f1c0c15f5" > iptc_first_chain< / a > < / div > < div class = "ttdeci" > const char * iptc_first_chain(iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a0ab5c13bb80063102f83d3a325399ffe" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a0ab5c13bb80063102f83d3a325399ffe" > iptc_builtin< / a > < / div > < div class = "ttdeci" > int iptc_builtin(const char *chain, const iptc_handle_t handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a85c6738e9e5c5951bc9cea730dfe53f2" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a85c6738e9e5c5951bc9cea730dfe53f2" > iptc_zero_entries< / a > < / div > < div class = "ttdeci" > int iptc_zero_entries(const ipt_chainlabel chain, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_af3d8e371defe255c32f57aca2cd54b75" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#af3d8e371defe255c32f57aca2cd54b75" > iptc_check_packet< / a > < / div > < div class = "ttdeci" > const char * iptc_check_packet(const ipt_chainlabel chain, struct ipt_entry *entry, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a8776cb6ed66b4c4b71b440d9f4e8c534" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a8776cb6ed66b4c4b71b440d9f4e8c534" > iptc_insert_entry< / a > < / div > < div class = "ttdeci" > int iptc_insert_entry(const ipt_chainlabel chain, const struct ipt_entry *e, unsigned int rulenum, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a9174e6135f1ce92adc59b385bcff7269" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a9174e6135f1ce92adc59b385bcff7269" > iptc_get_references< / a > < / div > < div class = "ttdeci" > int iptc_get_references(unsigned int *ref, const ipt_chainlabel chain, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a7fdf361063402c2dbcb149862540799d" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a7fdf361063402c2dbcb149862540799d" > iptc_read_counter< / a > < / div > < div class = "ttdeci" > struct ipt_counters * iptc_read_counter(const ipt_chainlabel chain, unsigned int rulenum, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a05527d7767cd7c5f2d63de887fc2cd37" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a05527d7767cd7c5f2d63de887fc2cd37" > iptc_free< / a > < / div > < div class = "ttdeci" > void iptc_free(iptc_handle_t *h)< / 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 = "libiptc_8h_html_a94c437e7d96a62caee840c4eb2edc16a" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a94c437e7d96a62caee840c4eb2edc16a" > iptc_append_entry< / a > < / div > < div class = "ttdeci" > int iptc_append_entry(const ipt_chainlabel chain, const struct ipt_entry *e, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_ae0e7c1d061db651740269bf507c81b26" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#ae0e7c1d061db651740269bf507c81b26" > iptc_get_target< / a > < / div > < div class = "ttdeci" > const char * iptc_get_target(const struct ipt_entry *e, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a2378dba67cfecade0ffe43a4c5fe1341" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a2378dba67cfecade0ffe43a4c5fe1341" > iptc_set_counter< / a > < / div > < div class = "ttdeci" > int iptc_set_counter(const ipt_chainlabel chain, unsigned int rulenum, struct ipt_counters *counters, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a343ecb2ab7f20188d5788569b52e6dfc" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a343ecb2ab7f20188d5788569b52e6dfc" > iptc_next_rule< / a > < / div > < div class = "ttdeci" > const struct ipt_entry * iptc_next_rule(const struct ipt_entry *prev, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a28fc6d33d13f15b7fc688deb0109e9ac" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a28fc6d33d13f15b7fc688deb0109e9ac" > iptc_get_policy< / a > < / div > < div class = "ttdeci" > const char * iptc_get_policy(const char *chain, struct ipt_counters *counter, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a56fd2a01d9151068d54808e4be533ea4" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a56fd2a01d9151068d54808e4be533ea4" > iptc_replace_entry< / a > < / div > < div class = "ttdeci" > int iptc_replace_entry(const ipt_chainlabel chain, const struct ipt_entry *e, unsigned int rulenum, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_acea4cb1fbf2aa22554757cc703643f4b" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#acea4cb1fbf2aa22554757cc703643f4b" > iptc_strerror< / a > < / div > < div class = "ttdeci" > const char * iptc_strerror(int err)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a569e36bb7700cd958c21b8438bc64fc9" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a569e36bb7700cd958c21b8438bc64fc9" > iptc_first_rule< / a > < / div > < div class = "ttdeci" > const struct ipt_entry * iptc_first_rule(const char *chain, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a9412a314fc05a6d9a2c084e5799df2fe" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a9412a314fc05a6d9a2c084e5799df2fe" > iptc_next_chain< / a > < / div > < div class = "ttdeci" > const char * iptc_next_chain(iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a465ad6c36f47ca06e7649956382870e7" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a465ad6c36f47ca06e7649956382870e7" > iptc_delete_num_entry< / a > < / div > < div class = "ttdeci" > int iptc_delete_num_entry(const ipt_chainlabel chain, unsigned int rulenum, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a1aabca201f7a386daeacd404f7b55925" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a1aabca201f7a386daeacd404f7b55925" > iptc_is_chain< / a > < / div > < div class = "ttdeci" > int iptc_is_chain(const char *chain, const iptc_handle_t handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a40f295c3e8ceae85fcca880eeda3fb07" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a40f295c3e8ceae85fcca880eeda3fb07" > iptc_delete_entry< / a > < / div > < div class = "ttdeci" > int iptc_delete_entry(const ipt_chainlabel chain, const struct ipt_entry *origfw, unsigned char *matchmask, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a83f9235c6f1058c4b99deab56ecde875" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a83f9235c6f1058c4b99deab56ecde875" > iptc_delete_chain< / a > < / div > < div class = "ttdeci" > int iptc_delete_chain(const ipt_chainlabel chain, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_a1758fe07d2e3423ce263a56c7c83d97e" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#a1758fe07d2e3423ce263a56c7c83d97e" > iptc_rename_chain< / a > < / div > < div class = "ttdeci" > int iptc_rename_chain(const ipt_chainlabel oldname, const ipt_chainlabel newname, iptc_handle_t *handle)< / div > < / div >
< div class = "ttc" id = "libiptc_8h_html_ac5fefcbe0159a853ebc9cee7fd84b542" > < div class = "ttname" > < a href = "../../d1/d6b/libiptc_8h.html#ac5fefcbe0159a853ebc9cee7fd84b542" > iptc_create_chain< / a > < / div > < div class = "ttdeci" > int iptc_create_chain(const ipt_chainlabel chain, iptc_handle_t *handle)< / 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 = "../../d1/d6b/libiptc_8h.html" > libiptc.h< / a > < / li >
2014-02-20 00:30:40 +00:00
< li class = "footer" > Generated on Wed Feb 19 2014 16:28:40 for The Netsukuku Project by
2014-02-19 23:45:00 +00:00
< 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 >