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/hash.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('d1/d04/hash_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" > hash.c File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include " < a class = "el" href = "../../d1/d0b/includes_8h_source.html" > includes.h< / a > " < / code > < br / >
< code > #include " < a class = "el" href = "../../db/dfb/hash_8h_source.html" > hash.h< / a > " < / code > < br / >
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for hash.c:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "../../d0/d44/hash_8c__incl.png" border = "0" usemap = "#src_2hash_8c" alt = "" / > < / div >
< map name = "src_2hash_8c" id = "src_2hash_8c" >
< area shape = "rect" id = "node3" href = "../../d1/d0b/includes_8h.html" title = "includes.h" alt = "" coords = "1268,83,1348,112" / > < area shape = "rect" id = "node57" href = "../../db/dfb/hash_8h.html" title = "hash.h" alt = "" coords = "1372,83,1433,112" / > < / map >
< / div >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ad411d1a13b7a00208ca03735fe98f82f" > < td class = "memItemLeft" align = "right" valign = "top" > unsigned int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d04/hash_8c.html#ad411d1a13b7a00208ca03735fe98f82f" > inthash< / a > (unsigned int key)< / td > < / tr >
< tr class = "separator:ad411d1a13b7a00208ca03735fe98f82f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a72fc128c5f9194101194f55562c44155" > < td class = "memItemLeft" align = "right" valign = "top" > u_long  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d04/hash_8c.html#a72fc128c5f9194101194f55562c44155" > fnv_32_buf< / a > (void *buf, size_t len, u_long hval)< / td > < / tr >
< tr class = "separator:a72fc128c5f9194101194f55562c44155" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8d534fa9485b910895ba3bb54743eafc" > < td class = "memItemLeft" align = "right" valign = "top" > unsigned int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d04/hash_8c.html#a8d534fa9485b910895ba3bb54743eafc" > dl_elf_hash< / a > (const unsigned char *name)< / td > < / tr >
< tr class = "separator:a8d534fa9485b910895ba3bb54743eafc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a30e40d3a529ede52d5397b43a32775ca" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d1/d04/hash_8c.html#a30e40d3a529ede52d5397b43a32775ca" > hash_time< / a > (int *h_sec, int *h_usec)< / td > < / tr >
< tr class = "separator:a30e40d3a529ede52d5397b43a32775ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "a8d534fa9485b910895ba3bb54743eafc" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > unsigned int dl_elf_hash < / td >
< td > (< / td >
< td class = "paramtype" > const unsigned char *  < / td >
< td class = "paramname" > < em > name< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / 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 = "../../d1/d04/hash_8c_a8d534fa9485b910895ba3bb54743eafc_icgraph.png" border = "0" usemap = "#d1/d04/hash_8c_a8d534fa9485b910895ba3bb54743eafc_icgraph" alt = "" / > < / div >
< map name = "d1/d04/hash_8c_a8d534fa9485b910895ba3bb54743eafc_icgraph" id = "d1/d04/hash_8c_a8d534fa9485b910895ba3bb54743eafc_icgraph" >
< area shape = "rect" id = "node3" href = "../../db/dfb/hash_8h.html#a30e40d3a529ede52d5397b43a32775ca" title = "hash_time" alt = "" coords = "141,5,224,35" / > < / map >
< / div >
< / p >
< / div >
< / div >
< a class = "anchor" id = "a72fc128c5f9194101194f55562c44155" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > u_long fnv_32_buf < / td >
< td > (< / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > buf< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > len< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > u_long  < / td >
< td class = "paramname" > < em > hval< / 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 = "../../d1/d04/hash_8c_a72fc128c5f9194101194f55562c44155_icgraph.png" border = "0" usemap = "#d1/d04/hash_8c_a72fc128c5f9194101194f55562c44155_icgraph" alt = "" / > < / div >
< map name = "d1/d04/hash_8c_a72fc128c5f9194101194f55562c44155_icgraph" id = "d1/d04/hash_8c_a72fc128c5f9194101194f55562c44155_icgraph" >
< area shape = "rect" id = "node3" href = "../../d4/d18/andna_8c.html#aedc9bb0e88975d80c22e1bf47f53cfab" title = "andna_hash_by_family" alt = "" coords = "141,387,296,416" / > < area shape = "rect" id = "node49" href = "../../d5/d05/andna_8h.html#a1ce60180d15ab89d473eb45928ee6ee5" title = "andna_resolve_hash" alt = "" coords = "349,224,491,253" / > < area shape = "rect" id = "node87" href = "../../d4/d18/andna_8c.html#af8449aa760529b5de85e4fa75190bfd7" title = "andna_resolve_hash\l_locally" alt = "" coords = "148,294,289,341" / > < area shape = "rect" id = "node91" href = "../../d2/de6/andna__cache_8c.html#a226c42d0738c6be39991cac7dbce175b" title = "andna_32bit_hash" alt = "" coords = "156,661,281,691" / > < area shape = "rect" id = "node123" href = "../../df/dba/rehook_8c.html#a2d7f0474e424b7bc54275385ad1bd83f" title = "rehook_compute_new\l_gnode" alt = "" coords = "144,810,293,857" / > < area shape = "rect" id = "node5" href = "../../d4/d18/andna_8c.html#a891984b6fe0f589d0cbe51273e3c42b7" title = "andna_hash" alt = "" coords = "375,501,465,531" / > < area shape = "rect" id = "node38" href = "../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title = "andna_recv_reg_rq" alt = "" coords = "775,449,905,479" / > < area shape = "rect" id = "node78" href = "../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title = "andna_recv_resolve_rq" alt = "" coords = "545,397,700,427" / > < area shape = "rect" id = "node81" href = "../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title = "put_single_acache" alt = "" coords = "775,283,905,312" / > < area shape = "rect" id = "node84" href = "../../d5/d05/andna_8h.html#a7cb15ea6895d12e1dc8b334360de6819" title = "recv_spread_single\l_acache" alt = "" coords = "556,327,689,374" / > < area shape = "rect" id = "node7" href = "../../d5/d05/andna_8h.html#a47f535bfa2b7403ded9d8b4a7c19d27d" title = "andna_register_hname" alt = "" coords = "547,657,699,687" / > < area shape = "rect" id = "node36" href = "../../d5/d05/andna_8h.html#a278c2e4e68b10357f59f3edbaa9bf7de" title = "andna_check_counter" alt = "" coords = "548,501,697,531" / > < area shape = "rect" id = "node45" href = "../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title = "andna_recv_check_counter" alt = "" coords = "749,503,931,532" / > < area shape = "rect" id = "node9" href = "../../d4/d18/andna_8c.html#abac5b6d2df2140ec17abb62d9ce8cbbc" title = "andna_min_update_retry" alt = "" coords = "759,657,921,687" / > < area shape = "rect" id = "node11" href = "../../d5/d05/andna_8h.html#a22751676386bfd17dd30f88528ee0f12" title = "andna_update_hnames" alt = "" coords = "987,709,1141,739" / > < area shape = "rect" id = "node31" href = "../../d5/d05/andna_8h.html#ac5e2e3a07b8b99edbc9501aae6e5b1ff" title = "andna_maintain_hnames\l_active" alt = "" coords = "981,597,1147,643" / > < area shape = "rect" id = "node13" href = "../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title = "reload_hostname_thread" alt = "" coords = "1199,801,1361,831" / > < area shape = "rect" id = "node19" href = "../../d2/d42/rehook_8h.html#ae6ae2d4b03e5a8cc1891cbf553ebb913" title = "rehook" alt = "" coords = "1249,741,1311,771" / > < area shape = "rect" id = "node15" href = "../../d4/d3b/netsukuku_8c.html#a207b25374e65f083a666cdfaca49bb99" title = "sighup_handler" alt = "" coords = "1424,683,1533,712" / > < area shape = "rect" id = "node17" href = "../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title = "main" alt = "" coords = "1621,605,1672,635" / > < area shape = "rect" id = "node21" href = "../../df/dba/rehook_8c.html#aeb32663f186f840edf41bb43d1f82459" title = "new_rehook_thread" alt = "" coords = "1412,743,1545,772" / > < area shape = "rect" id = "node23" href = "../../d2/d42/rehook_8h.html#acd9ab3b97734c31a06ae3dcf475a1b39" title = "new_rehook" alt = "" coords = "1601,743,1692,772" / > < area shape = "rect" id = "node25" href = "../../d6/d62/tracer_8c.html#a8bab813b90267e0e25592821248d7158" title = "tracer_check_node_collision" alt = "" coords = "1747,716,1933,745" / > < area shape = "rect" id = "node27" href = "../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title = "tracer_store_pkt" alt = "" coords = "1983,743,2097,772" / > < area shape = "rect" id = "node33" href = "../../d5/d05/andna_8h.html#ae8a0abdfc416da1b04dafe5c30fb14c3" title = "andna_main" alt = "" coords = "1433,605,1524,635" / > < area shape = "rect" id = "node40" href = "../../d5/d05/andna_8h.html#aa7b
< / div >
< / p >
< / div >
< / div >
< a class = "anchor" id = "a30e40d3a529ede52d5397b43a32775ca" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int hash_time < / td >
< td > (< / td >
< td class = "paramtype" > int *  < / td >
< td class = "paramname" > < em > h_sec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int *  < / td >
< td class = "paramname" > < em > h_usec< / 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 call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "../../d1/d04/hash_8c_a30e40d3a529ede52d5397b43a32775ca_cgraph.png" border = "0" usemap = "#d1/d04/hash_8c_a30e40d3a529ede52d5397b43a32775ca_cgraph" alt = "" / > < / div >
< map name = "d1/d04/hash_8c_a30e40d3a529ede52d5397b43a32775ca_cgraph" id = "d1/d04/hash_8c_a30e40d3a529ede52d5397b43a32775ca_cgraph" >
< area shape = "rect" id = "node3" href = "../../d1/d04/hash_8c.html#a8d534fa9485b910895ba3bb54743eafc" title = "dl_elf_hash" alt = "" coords = "136,5,224,35" / > < area shape = "rect" id = "node5" href = "../../d1/d04/hash_8c.html#ad411d1a13b7a00208ca03735fe98f82f" title = "inthash" alt = "" coords = "148,59,212,88" / > < / map >
< / div >
< / p >
< / div >
< / div >
< a class = "anchor" id = "ad411d1a13b7a00208ca03735fe98f82f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > unsigned int inthash < / td >
< td > (< / td >
< td class = "paramtype" > unsigned int  < / td >
< td class = "paramname" > < em > key< / em > < / 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 = "../../d1/d04/hash_8c_ad411d1a13b7a00208ca03735fe98f82f_icgraph.png" border = "0" usemap = "#d1/d04/hash_8c_ad411d1a13b7a00208ca03735fe98f82f_icgraph" alt = "" / > < / div >
< map name = "d1/d04/hash_8c_ad411d1a13b7a00208ca03735fe98f82f_icgraph" id = "d1/d04/hash_8c_ad411d1a13b7a00208ca03735fe98f82f_icgraph" >
< area shape = "rect" id = "node3" href = "../../db/dfb/hash_8h.html#a30e40d3a529ede52d5397b43a32775ca" title = "hash_time" alt = "" coords = "117,5,200,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 = "../../d1/d04/hash_8c.html" > hash.c< / a > < / li >
2014-02-20 00:30:40 +00:00
< li class = "footer" > Generated on Wed Feb 19 2014 16:29:04 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 >