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/buffer.c File Reference</title>
|
|
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
|
|
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="../../resize.js"></script>
|
|
|
|
<script type="text/javascript" src="../../navtree.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(initResizable);
|
|
|
|
$(window).load(resizeHeight);
|
|
|
|
</script>
|
|
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
|
|
</script>
|
|
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
|
|
<div id="titlearea">
|
|
|
|
<table cellspacing="0" cellpadding="0">
|
|
|
|
<tbody>
|
|
|
|
<tr style="height: 56px;">
|
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('d3/d8b/buffer_8c.html','../../');});
|
|
|
|
</script>
|
|
|
|
<div id="doc-content">
|
|
|
|
<!-- window showing the filter options -->
|
|
|
|
<div id="MSearchSelectWindow"
|
|
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a></div>
|
|
|
|
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
|
|
<div id="MSearchResultsWindow">
|
|
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
|
|
name="MSearchResults" id="MSearchResults">
|
|
|
|
</iframe>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="header">
|
|
|
|
<div class="summary">
|
|
|
|
<a href="#func-members">Functions</a> </div>
|
|
|
|
<div class="headertitle">
|
|
|
|
<div class="title">buffer.c File Reference</div> </div>
|
|
|
|
</div><!--header-->
|
|
|
|
<div class="contents">
|
|
|
|
<table class="memberdecls">
|
|
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
|
|
Functions</h2></td></tr>
|
|
|
|
<tr class="memitem:aef3a47dd35a06c4fbbc29dac8dc5451f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d8b/buffer_8c.html#aef3a47dd35a06c4fbbc29dac8dc5451f">is_bufzero</a> (const void *a, int sz)</td></tr>
|
|
|
|
<tr class="separator:aef3a47dd35a06c4fbbc29dac8dc5451f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table>
|
|
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
|
|
<a class="anchor" id="aef3a47dd35a06c4fbbc29dac8dc5451f"></a>
|
|
|
|
<div class="memitem">
|
|
|
|
<div class="memproto">
|
|
|
|
<table class="memname">
|
|
|
|
<tr>
|
|
|
|
<td class="memname">int is_bufzero </td>
|
|
|
|
<td>(</td>
|
|
|
|
<td class="paramtype">const void * </td>
|
|
|
|
<td class="paramname"><em>a</em>, </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="paramkey"></td>
|
|
|
|
<td></td>
|
|
|
|
<td class="paramtype">int </td>
|
|
|
|
<td class="paramname"><em>sz</em> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td>)</td>
|
|
|
|
<td></td><td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div><div class="memdoc">
|
|
|
|
|
|
|
|
<p><div class="dynheader">
|
|
|
|
Here is the caller graph for this function:</div>
|
|
|
|
<div class="dyncontent">
|
|
|
|
<div class="center"><img src="../../d3/d8b/buffer_8c_aef3a47dd35a06c4fbbc29dac8dc5451f_icgraph.png" border="0" usemap="#d3/d8b/buffer_8c_aef3a47dd35a06c4fbbc29dac8dc5451f_icgraph" alt=""/></div>
|
|
|
|
<map name="d3/d8b/buffer_8c_aef3a47dd35a06c4fbbc29dac8dc5451f_icgraph" id="d3/d8b/buffer_8c_aef3a47dd35a06c4fbbc29dac8dc5451f_icgraph">
|
|
|
|
<area shape="rect" id="node3" href="../../d6/d4a/inet_8h.html#a68fa8e8776282525daffa752fbdc6628" title="inet_validate_ip" alt="" coords="136,255,248,284"/><area shape="rect" id="node51" href="../../d3/df5/radar_8h.html#a6908f30023e15ac38b957dc8f3941f37" title="radar_update_map" alt="" coords="436,163,564,192"/><area shape="rect" id="node5" href="../../d7/d3b/gmap_8h.html#ab9b8447a87c9c09e24de89e12d5f5387" title="random_ip" alt="" coords="296,255,379,284"/><area shape="rect" id="node47" href="../../d3/dc7/hook_8c.html#a9c2f57416bf3788157e15a1d889cca5e" title="hook_choose_new_ip" alt="" coords="427,307,573,336"/><area shape="rect" id="node7" href="../../d6/d34/hook_8h.html#ab49323f81163c48f70eacb3bd5a5eec4" title="create_gnodes" alt="" coords="447,253,553,283"/><area shape="rect" id="node9" href="../../d3/dc7/hook_8c.html#acce6e668cf071bc363f3237daebc95d0" title="create_new_qgroup" alt="" coords="623,215,756,244"/><area shape="rect" id="node44" href="../../d3/dc7/hook_8c.html#a00d0f0c666be6f5b1d58632b4b5d222c" title="hook_get_ext_map" alt="" coords="624,268,755,297"/><area shape="rect" id="node11" href="../../d3/dc7/hook_8c.html#a7503e6bf75bee5edba1dd37e8878911a" title="hook_first_radar_scan" alt="" coords="812,111,961,140"/><area shape="rect" id="node41" href="../../d3/dc7/hook_8c.html#a121f2311c11a2ea89f57e07d064f33b9" title="hook_get_free_nodes" alt="" coords="813,217,960,247"/><area shape="rect" id="node13" href="../../d6/d34/hook_8h.html#af10a487801fab9a28a3cfb6759fe138f" title="netsukuku_hook" alt="" coords="1016,191,1133,220"/><area shape="rect" id="node15" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="2453,111,2504,140"/><area shape="rect" id="node17" href="../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title="rehook" alt="" coords="1181,163,1243,192"/><area shape="rect" id="node19" href="../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title="new_rehook_thread" alt="" coords="1292,163,1425,192"/><area shape="rect" id="node21" href="../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title="new_rehook" alt="" coords="1476,163,1567,192"/><area shape="rect" id="node23" href="../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title="tracer_check_node_collision" alt="" coords="1616,111,1803,140"/><area shape="rect" id="node25" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="1852,111,1967,140"/><area shape="rect" id="node27" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="2028,164,2116,193"/><area shape="rect" id="node34" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="2029,57,2115,87"/><area shape="rect" id="node37" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="2016,111,2128,140"/><area shape="rect" id="node29" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="2176,111,2251,140"/><area shape="rect" id="node31" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2299,111,2405,140"/><area shape="rect" id="node53" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="647,84,732,113"/><area shape="rect" id="node62" href="../../d3/df5/radar_8h.html#aa589f34d936b21665c16fca95f06092f" title="refresh_hook_root_node" alt="" coords="807,164,967,193"/><area shape="rect" id="node56" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="843,57,931,87"/><area shape="rect" id="node59" href="../../d3/df5/radar_8h.html#ac9d1b53d63e675b260906e91850b588c" title="radar_daemon" alt="" coords="1023,5,1127,35"/></map>
|
|
|
|
</div>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- contents -->
|
|
|
|
</div><!-- doc-content -->
|
|
|
|
<!-- start footer part -->
|
|
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
|
|
<ul>
|
|
|
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../d3/d8b/buffer_8c.html">buffer.c</a></li>
|
2014-02-20 00:30:40 +00:00
|
|
|
<li class="footer">Generated on Wed Feb 19 2014 16:28:54 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>
|