mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-22 17:01:46 +00:00
703 lines
55 KiB
HTML
703 lines
55 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/libping.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;">
|
|
<td id="projectlogo"><img alt="Logo" src="../../Logo_netsukuku.jpg"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">The Netsukuku Project
|
|
 <span id="projectnumber">0.0.9</span>
|
|
</div>
|
|
<div id="projectbrief">An Alternative routing method</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="../../index.html"><span>Main Page</span></a></li>
|
|
<li><a href="../../annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="../../search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="../../files.html"><span>File List</span></a></li>
|
|
<li><a href="../../globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('df/d9c/libping_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="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">libping.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <sys/types.h></code><br/>
|
|
<code>#include <sys/socket.h></code><br/>
|
|
<code>#include <netdb.h></code><br/>
|
|
<code>#include <pthread.h></code><br/>
|
|
<code>#include <stdlib.h></code><br/>
|
|
<code>#include "<a class="el" href="../../d1/d64/libping_8h_source.html">libping.h</a>"</code><br/>
|
|
<code>#include "<a class="el" href="../../d8/de3/xmalloc_8h_source.html">xmalloc.h</a>"</code><br/>
|
|
<code>#include "<a class="el" href="../../d7/d7f/log_8h_source.html">log.h</a>"</code><br/>
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for libping.c:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../d3/d5e/libping_8c__incl.png" border="0" usemap="#src_2libping_8c" alt=""/></div>
|
|
<map name="src_2libping_8c" id="src_2libping_8c">
|
|
<area shape="rect" id="node13" href="../../d1/d64/libping_8h.html" title="libping.h" alt="" coords="1087,83,1156,112"/><area shape="rect" id="node68" href="../../d8/de3/xmalloc_8h.html" title="xmalloc.h" alt="" coords="1180,83,1257,112"/><area shape="rect" id="node70" href="../../d7/d7f/log_8h.html" title="log.h" alt="" coords="1353,83,1404,112"/><area shape="rect" id="node15" href="../../d1/d0b/includes_8h.html" title="includes.h" alt="" coords="1081,160,1161,189"/></map>
|
|
</div>
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:a7ba9e84bcb788897ed2f0f6469ed7493"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a7ba9e84bcb788897ed2f0f6469ed7493">MAXPACKET</a>   65535</td></tr>
|
|
<tr class="separator:a7ba9e84bcb788897ed2f0f6469ed7493"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac50973a1441c64f8d9e484d776f323c6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#ac50973a1441c64f8d9e484d776f323c6">PKTSIZE</a>   64</td></tr>
|
|
<tr class="separator:ac50973a1441c64f8d9e484d776f323c6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a13550f28207d6cded155933c698e494c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a13550f28207d6cded155933c698e494c">HDRLEN</a>   ICMP_MINLEN</td></tr>
|
|
<tr class="separator:a13550f28207d6cded155933c698e494c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a537da5b81a0934e1e8dc3c08dbba68c8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a537da5b81a0934e1e8dc3c08dbba68c8">DATALEN</a>   (<a class="el" href="../../df/d9c/libping_8c.html#ac50973a1441c64f8d9e484d776f323c6">PKTSIZE</a>-<a class="el" href="../../df/d9c/libping_8c.html#a13550f28207d6cded155933c698e494c">HDRLEN</a>)</td></tr>
|
|
<tr class="separator:a537da5b81a0934e1e8dc3c08dbba68c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae7e715c270481406658bbd2bafa2897f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#ae7e715c270481406658bbd2bafa2897f">MAXDATA</a>   (MAXPKT-<a class="el" href="../../df/d9c/libping_8c.html#a13550f28207d6cded155933c698e494c">HDRLEN</a>-TIMLEN)</td></tr>
|
|
<tr class="separator:ae7e715c270481406658bbd2bafa2897f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a53712d3c054c04a805c2a09b075a898f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a53712d3c054c04a805c2a09b075a898f">DEF_TIMEOUT</a>   5</td></tr>
|
|
<tr class="separator:a53712d3c054c04a805c2a09b075a898f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a18f4e70ad7737fd37b5c4f5d34ffb8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a8a18f4e70ad7737fd37b5c4f5d34ffb8">PROTO_BUF_LEN</a>   1024</td></tr>
|
|
<tr class="separator:a8a18f4e70ad7737fd37b5c4f5d34ffb8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a0ac8200b876bd54e8af3a4715a103e47"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a0ac8200b876bd54e8af3a4715a103e47">ping_priv_default</a> (void)</td></tr>
|
|
<tr class="separator:a0ac8200b876bd54e8af3a4715a103e47"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7e6ed87a89b2362608660300e4ba023e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e">elapsed_time</a> (struct timeval *starttime)</td></tr>
|
|
<tr class="separator:a7e6ed87a89b2362608660300e4ba023e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad305e8420ba68e08880340cf242838d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#ad305e8420ba68e08880340cf242838d3">JOEfreeprotoent</a> (struct protoent *p)</td></tr>
|
|
<tr class="separator:ad305e8420ba68e08880340cf242838d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ce3caa396551a69aef7b7428c2abd55"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a7ce3caa396551a69aef7b7428c2abd55">JOEfreehostent</a> (struct hostent *h)</td></tr>
|
|
<tr class="separator:a7ce3caa396551a69aef7b7428c2abd55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5414b3905e57ddbdf81f61b66837089c"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c">in_checksum</a> (u_short *buf, int len)</td></tr>
|
|
<tr class="separator:a5414b3905e57ddbdf81f61b66837089c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7698ebb4671ed34f4251e5dcbf1a62f3"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3">send_ping</a> (const char *host, struct sockaddr_in *taddr, struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> *datum)</td></tr>
|
|
<tr class="separator:a7698ebb4671ed34f4251e5dcbf1a62f3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8f7f1c39174accd1cf2c6ab418e94034"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034">recv_ping</a> (struct sockaddr_in *taddr, struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> *datum)</td></tr>
|
|
<tr class="separator:a8f7f1c39174accd1cf2c6ab418e94034"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8d19aa4db5571649ce14ad5e39cd101d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d">myping</a> (const char *hostname, int t, struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> *datum)</td></tr>
|
|
<tr class="separator:a8d19aa4db5571649ce14ad5e39cd101d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8607f45baf68c8774b2c30473d212f69"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a8607f45baf68c8774b2c30473d212f69">pinghost</a> (const char *hostname)</td></tr>
|
|
<tr class="separator:a8607f45baf68c8774b2c30473d212f69"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24df2d8c0a25a2d1d0515597943049ac"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a24df2d8c0a25a2d1d0515597943049ac">pingthost</a> (const char *hostname, int t)</td></tr>
|
|
<tr class="separator:a24df2d8c0a25a2d1d0515597943049ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af72477aa43621b62340d7fbde1036dac"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#af72477aa43621b62340d7fbde1036dac">tpinghost</a> (const char *hostname)</td></tr>
|
|
<tr class="separator:af72477aa43621b62340d7fbde1036dac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a27914918d2a8da494de3916fcc0b58e2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9c/libping_8c.html#a27914918d2a8da494de3916fcc0b58e2">tpingthost</a> (const char *hostname, int t)</td></tr>
|
|
<tr class="separator:a27914918d2a8da494de3916fcc0b58e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a537da5b81a0934e1e8dc3c08dbba68c8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define DATALEN   (<a class="el" href="../../df/d9c/libping_8c.html#ac50973a1441c64f8d9e484d776f323c6">PKTSIZE</a>-<a class="el" href="../../df/d9c/libping_8c.html#a13550f28207d6cded155933c698e494c">HDRLEN</a>)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a53712d3c054c04a805c2a09b075a898f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define DEF_TIMEOUT   5</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a13550f28207d6cded155933c698e494c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define HDRLEN   ICMP_MINLEN</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae7e715c270481406658bbd2bafa2897f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define MAXDATA   (MAXPKT-<a class="el" href="../../df/d9c/libping_8c.html#a13550f28207d6cded155933c698e494c">HDRLEN</a>-TIMLEN)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7ba9e84bcb788897ed2f0f6469ed7493"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define MAXPACKET   65535</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>PING module</p>
|
|
<p>Copyright (C) 2001 Jeffrey Fulmer <a href="#" onclick="location.href='mai'+'lto:'+'jdf'+'ul'+'mer'+'@a'+'rms'+'tr'+'ong'+'.c'+'om'; return false;">jdful<span style="display: none;">.nosp@m.</span>mer@<span style="display: none;">.nosp@m.</span>armst<span style="display: none;">.nosp@m.</span>rong<span style="display: none;">.nosp@m.</span>.com</a> This file is part of LIBPING</p>
|
|
<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>
|
|
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
|
|
<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. </p>
|
|
<hr/>
|
|
<p>This code has been lightly modified to adapt it in the Netsukuku source code. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac50973a1441c64f8d9e484d776f323c6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define PKTSIZE   64</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8a18f4e70ad7737fd37b5c4f5d34ffb8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define PROTO_BUF_LEN   1024</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="a7e6ed87a89b2362608660300e4ba023e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int elapsed_time </td>
|
|
<td>(</td>
|
|
<td class="paramtype">struct timeval * </td>
|
|
<td class="paramname"><em>starttime</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>elapsed_time returns an int value for the difference between now and starttime in milliseconds. </p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_cgraph" id="df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_cgraph">
|
|
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="152,32,219,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="268,32,313,61"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="379,5,448,35"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="363,59,464,88"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_icgraph" id="df/d9c/libping_8c_a7e6ed87a89b2362608660300e4ba023e_icgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="152,85,216,115"/><area shape="rect" id="node5" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="269,5,339,35"/><area shape="rect" id="node7" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="267,59,341,88"/><area shape="rect" id="node25" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="267,112,341,141"/><area shape="rect" id="node27" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="265,165,343,195"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="392,33,539,63"/><area shape="rect" id="node20" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="617,87,716,116"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="796,17,940,63"/><area shape="rect" id="node17" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="588,33,745,63"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="989,28,1096,57"/><area shape="rect" id="node15" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1144,56,1195,85"/><area shape="rect" id="node22" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="800,87,936,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5414b3905e57ddbdf81f61b66837089c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int in_checksum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">u_short * </td>
|
|
<td class="paramname"><em>buf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>len</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</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="../../df/d9c/libping_8c_a5414b3905e57ddbdf81f61b66837089c_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a5414b3905e57ddbdf81f61b66837089c_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a5414b3905e57ddbdf81f61b66837089c_icgraph" id="df/d9c/libping_8c_a5414b3905e57ddbdf81f61b66837089c_icgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="153,85,233,115"/><area shape="rect" id="node5" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="283,85,347,115"/><area shape="rect" id="node7" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="400,5,469,35"/><area shape="rect" id="node9" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="397,59,472,88"/><area shape="rect" id="node27" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="397,112,472,141"/><area shape="rect" id="node29" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="396,165,473,195"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="523,33,669,63"/><area shape="rect" id="node22" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="748,87,847,116"/><area shape="rect" id="node13" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="927,17,1071,63"/><area shape="rect" id="node19" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="719,33,876,63"/><area shape="rect" id="node15" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1120,28,1227,57"/><area shape="rect" id="node17" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1275,56,1325,85"/><area shape="rect" id="node24" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="931,87,1067,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7ce3caa396551a69aef7b7428c2abd55"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void JOEfreehostent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">struct hostent * </td>
|
|
<td class="paramname"><em>h</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad305e8420ba68e08880340cf242838d3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void JOEfreeprotoent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">struct protoent * </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d19aa4db5571649ce14ad5e39cd101d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int myping </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>hostname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>t</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> * </td>
|
|
<td class="paramname"><em>datum</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="../../df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_cgraph" id="df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_cgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="127,59,207,88"/><area shape="rect" id="node18" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e" title="elapsed_time" alt="" coords="117,5,216,35"/><area shape="rect" id="node21" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034" title="recv_ping" alt="" coords="128,112,205,141"/><area shape="rect" id="node5" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="280,5,347,35"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="285,112,341,141"/><area shape="rect" id="node16" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="264,59,363,88"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="412,12,457,41"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="523,72,592,101"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="507,12,608,41"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_icgraph" id="df/d9c/libping_8c_a8d19aa4db5571649ce14ad5e39cd101d_icgraph">
|
|
<area shape="rect" id="node3" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="123,5,192,35"/><area shape="rect" id="node5" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="120,59,195,88"/><area shape="rect" id="node23" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="120,112,195,141"/><area shape="rect" id="node25" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="119,165,196,195"/><area shape="rect" id="node7" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="245,33,392,63"/><area shape="rect" id="node18" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="471,87,569,116"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="649,17,793,63"/><area shape="rect" id="node15" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="441,33,599,63"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="843,28,949,57"/><area shape="rect" id="node13" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="997,56,1048,85"/><area shape="rect" id="node20" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="653,87,789,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0ac8200b876bd54e8af3a4715a103e47"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> ping_priv_default </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></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="../../df/d9c/libping_8c_a0ac8200b876bd54e8af3a4715a103e47_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a0ac8200b876bd54e8af3a4715a103e47_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a0ac8200b876bd54e8af3a4715a103e47_icgraph" id="df/d9c/libping_8c_a0ac8200b876bd54e8af3a4715a103e47_icgraph">
|
|
<area shape="rect" id="node3" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="179,5,248,35"/><area shape="rect" id="node5" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="176,59,251,88"/><area shape="rect" id="node23" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="176,112,251,141"/><area shape="rect" id="node25" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="175,165,252,195"/><area shape="rect" id="node7" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="301,33,448,63"/><area shape="rect" id="node18" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="527,87,625,116"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="705,17,849,63"/><area shape="rect" id="node15" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="497,33,655,63"/><area shape="rect" id="node11" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="899,28,1005,57"/><area shape="rect" id="node13" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1053,56,1104,85"/><area shape="rect" id="node20" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="709,87,845,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8607f45baf68c8774b2c30473d212f69"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pinghost </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>hostname</em></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="../../df/d9c/libping_8c_a8607f45baf68c8774b2c30473d212f69_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a8607f45baf68c8774b2c30473d212f69_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a8607f45baf68c8774b2c30473d212f69_cgraph" id="df/d9c/libping_8c_a8607f45baf68c8774b2c30473d212f69_cgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a0ac8200b876bd54e8af3a4715a103e47" title="ping_priv_default" alt="" coords="125,5,245,35"/><area shape="rect" id="node5" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="153,59,217,88"/><area shape="rect" id="node7" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="303,59,383,88"/><area shape="rect" id="node22" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e" title="elapsed_time" alt="" coords="293,5,392,35"/><area shape="rect" id="node25" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034" title="recv_ping" alt="" coords="304,112,381,141"/><area shape="rect" id="node9" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="456,5,523,35"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="461,112,517,141"/><area shape="rect" id="node20" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="440,59,539,88"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="588,12,633,41"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="699,72,768,101"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="683,12,784,41"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a24df2d8c0a25a2d1d0515597943049ac"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pingthost </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>hostname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>t</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="../../df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_cgraph" id="df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_cgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a0ac8200b876bd54e8af3a4715a103e47" title="ping_priv_default" alt="" coords="128,5,248,35"/><area shape="rect" id="node5" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="156,59,220,88"/><area shape="rect" id="node7" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="305,59,385,88"/><area shape="rect" id="node22" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e" title="elapsed_time" alt="" coords="296,5,395,35"/><area shape="rect" id="node25" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034" title="recv_ping" alt="" coords="307,112,384,141"/><area shape="rect" id="node9" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="459,5,525,35"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="464,112,520,141"/><area shape="rect" id="node20" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="443,59,541,88"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="591,12,636,41"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="701,72,771,101"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="685,12,787,41"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_icgraph" id="df/d9c/libping_8c_a24df2d8c0a25a2d1d0515597943049ac_icgraph">
|
|
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="128,23,275,52"/><area shape="rect" id="node14" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="353,76,452,105"/><area shape="rect" id="node5" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="532,6,676,53"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="324,23,481,52"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="725,17,832,47"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="880,45,931,75"/><area shape="rect" id="node16" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="536,76,672,105"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8f7f1c39174accd1cf2c6ab418e94034"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int recv_ping </td>
|
|
<td>(</td>
|
|
<td class="paramtype">struct sockaddr_in * </td>
|
|
<td class="paramname"><em>taddr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> * </td>
|
|
<td class="paramname"><em>datum</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </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="../../df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_cgraph" id="df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_cgraph">
|
|
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="135,5,191,35"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="241,5,311,35"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_icgraph" id="df/d9c/libping_8c_a8f7f1c39174accd1cf2c6ab418e94034_icgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="133,85,197,115"/><area shape="rect" id="node5" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="251,5,320,35"/><area shape="rect" id="node7" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="248,59,323,88"/><area shape="rect" id="node25" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="248,112,323,141"/><area shape="rect" id="node27" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="247,165,324,195"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="373,33,520,63"/><area shape="rect" id="node20" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="599,87,697,116"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="777,17,921,63"/><area shape="rect" id="node17" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="569,33,727,63"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="971,28,1077,57"/><area shape="rect" id="node15" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1125,56,1176,85"/><area shape="rect" id="node22" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="781,87,917,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7698ebb4671ed34f4251e5dcbf1a62f3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int send_ping </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>host</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct sockaddr_in * </td>
|
|
<td class="paramname"><em>taddr</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="../../d3/dd6/structping__priv.html">ping_priv</a> * </td>
|
|
<td class="paramname"><em>datum</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </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="../../df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_cgraph" id="df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_cgraph">
|
|
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="152,5,219,35"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="284,59,340,88"/><area shape="rect" id="node14" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="136,109,235,139"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="289,5,335,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="405,59,475,88"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="389,5,491,35"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="../../df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_icgraph.png" border="0" usemap="#df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_icgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_icgraph" id="df/d9c/libping_8c_a7698ebb4671ed34f4251e5dcbf1a62f3_icgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="136,85,200,115"/><area shape="rect" id="node5" href="../../d1/d64/libping_8h.html#a8607f45baf68c8774b2c30473d212f69" title="pinghost" alt="" coords="253,5,323,35"/><area shape="rect" id="node7" href="../../d1/d64/libping_8h.html#a24df2d8c0a25a2d1d0515597943049ac" title="pingthost" alt="" coords="251,59,325,88"/><area shape="rect" id="node25" href="../../d1/d64/libping_8h.html#af72477aa43621b62340d7fbde1036dac" title="tpinghost" alt="" coords="251,112,325,141"/><area shape="rect" id="node27" href="../../d1/d64/libping_8h.html#a27914918d2a8da494de3916fcc0b58e2" title="tpingthost" alt="" coords="249,165,327,195"/><area shape="rect" id="node9" href="../../da/dd7/igs_8h.html#a5855d790f8cd80495bf1962009b6cb7b" title="igw_check_inet_conn" alt="" coords="376,33,523,63"/><area shape="rect" id="node20" href="../../d1/d6f/igs_8c.html#a94fb2e3622439b35372a6d3972a6f5e3" title="igw_ping_igw" alt="" coords="601,87,700,116"/><area shape="rect" id="node11" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="780,17,924,63"/><area shape="rect" id="node17" href="../../da/dd7/igs_8h.html#af0c6fb918f055c28c21d5a17fe02db09" title="igw_check_inet_conn_t" alt="" coords="572,33,729,63"/><area shape="rect" id="node13" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="973,28,1080,57"/><area shape="rect" id="node15" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1128,56,1179,85"/><area shape="rect" id="node22" href="../../da/dd7/igs_8h.html#ac87ed2fc7a66e73c5fef763321862295" title="igw_monitor_igws_t" alt="" coords="784,87,920,116"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af72477aa43621b62340d7fbde1036dac"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int tpinghost </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>hostname</em></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="../../df/d9c/libping_8c_af72477aa43621b62340d7fbde1036dac_cgraph.png" border="0" usemap="#df/d9c/libping_8c_af72477aa43621b62340d7fbde1036dac_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_af72477aa43621b62340d7fbde1036dac_cgraph" id="df/d9c/libping_8c_af72477aa43621b62340d7fbde1036dac_cgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a0ac8200b876bd54e8af3a4715a103e47" title="ping_priv_default" alt="" coords="128,5,248,35"/><area shape="rect" id="node5" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="156,59,220,88"/><area shape="rect" id="node7" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="305,59,385,88"/><area shape="rect" id="node22" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e" title="elapsed_time" alt="" coords="296,5,395,35"/><area shape="rect" id="node25" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034" title="recv_ping" alt="" coords="307,112,384,141"/><area shape="rect" id="node9" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="459,5,525,35"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="464,112,520,141"/><area shape="rect" id="node20" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="443,59,541,88"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="591,12,636,41"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="701,72,771,101"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="685,12,787,41"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a27914918d2a8da494de3916fcc0b58e2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int tpingthost </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>hostname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>t</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="../../df/d9c/libping_8c_a27914918d2a8da494de3916fcc0b58e2_cgraph.png" border="0" usemap="#df/d9c/libping_8c_a27914918d2a8da494de3916fcc0b58e2_cgraph" alt=""/></div>
|
|
<map name="df/d9c/libping_8c_a27914918d2a8da494de3916fcc0b58e2_cgraph" id="df/d9c/libping_8c_a27914918d2a8da494de3916fcc0b58e2_cgraph">
|
|
<area shape="rect" id="node3" href="../../df/d9c/libping_8c.html#a0ac8200b876bd54e8af3a4715a103e47" title="ping_priv_default" alt="" coords="133,5,253,35"/><area shape="rect" id="node5" href="../../df/d9c/libping_8c.html#a8d19aa4db5571649ce14ad5e39cd101d" title="myping" alt="" coords="161,59,225,88"/><area shape="rect" id="node7" href="../../df/d9c/libping_8c.html#a7698ebb4671ed34f4251e5dcbf1a62f3" title="send_ping" alt="" coords="311,59,391,88"/><area shape="rect" id="node22" href="../../df/d9c/libping_8c.html#a7e6ed87a89b2362608660300e4ba023e" title="elapsed_time" alt="" coords="301,5,400,35"/><area shape="rect" id="node25" href="../../df/d9c/libping_8c.html#a8f7f1c39174accd1cf2c6ab418e94034" title="recv_ping" alt="" coords="312,112,389,141"/><area shape="rect" id="node9" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="464,5,531,35"/><area shape="rect" id="node17" href="../../d7/df8/log_8c.html#a983d6ac9e7105eb38445c20ff5e72135" title="debug" alt="" coords="469,112,525,141"/><area shape="rect" id="node20" href="../../df/d9c/libping_8c.html#a5414b3905e57ddbdf81f61b66837089c" title="in_checksum" alt="" coords="448,59,547,88"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="596,12,641,41"/><area shape="rect" id="node13" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="707,72,776,101"/><area shape="rect" id="node15" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="691,12,792,41"/></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="../../df/d9c/libping_8c.html">libping.c</a></li>
|
|
<li class="footer">Generated on Wed Feb 19 2014 16:29:24 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>
|