stub_libicmp.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #define STUB_API "icmp/libicmp.la"
11 #include "STUB.h"
12 
13 #include "icmp/IcmpSquid.h"
14 //IcmpSquid::IcmpSquid() STUB
15 //IcmpSquid::~IcmpSquid() STUB
17 void IcmpSquid::Close() STUB
18 void IcmpSquid::DomainPing(Ip::Address &to, const char *domain) STUB
19 #if USE_ICMP
20 void IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char* payload, int len) STUB
21 void IcmpSquid::Recv(void) STUB
22 #endif
23 //IcmpSquid icmpEngine;
24 
25 #include "icmp/net_db.h"
26 void netdbInit(void) STUB
27 void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt) STUB
28 void netdbPingSite(const char *hostname) STUB
31 int netdbHostHops(const char *host) STUB_RETVAL(-1)
32 int netdbHostRtt(const char *host) STUB_RETVAL(-1)
33 void netdbUpdatePeer(const URL &, CachePeer * e, int rtt, int hops) STUB
37 void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double) STUB
39 void netdbHostData(const char *host, int *samp, int *rtt, int *hops) STUB
40 
void netdbPingSite(const char *hostname)
Definition: stub_libicmp.cc:28
void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt)
Definition: stub_libicmp.cc:27
virtual void Recv(void)
Handle ICMP responses.
Definition: IcmpSquid.cc:120
CachePeer * netdbClosestParent(HttpRequest *)
Definition: stub_libicmp.cc:38
void netdbFreeMemory(void)
Definition: stub_libicmp.cc:30
static CLCB Close
Definition: Ident.cc:65
void netdbUpdatePeer(const URL &, CachePeer *e, int rtt, int hops)
Definition: stub_libicmp.cc:33
virtual int Open()
Start pinger helper and initiate control channel.
Definition: IcmpSquid.cc:190
void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double)
Definition: stub_libicmp.cc:37
#define STUB_RETVAL(x)
Definition: STUB.h:41
void netdbBinaryExchange(StoreEntry *)
Definition: stub_libicmp.cc:35
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void netdbHostData(const char *host, int *samp, int *rtt, int *hops)
Definition: stub_libicmp.cc:39
void * addr
Definition: membanger.c:46
int netdbHostHops(const char *host)
Definition: stub_libicmp.cc:31
int unsigned int const char *desc STUB void int len
Definition: stub_fd.cc:20
void netdbDump(StoreEntry *)
Definition: stub_libicmp.cc:29
void netdbInit(void)
Definition: stub_libicmp.cc:26
virtual void SendEcho(Ip::Address &to, int opcode, const char *payload=NULL, int len=0)
Definition: IcmpSquid.cc:52
void netdbExchangeStart(void *)
Definition: stub_libicmp.cc:36
void netdbDeleteAddrNetwork(Ip::Address &addr)
Definition: stub_libicmp.cc:34
int netdbHostRtt(const char *host)
Definition: stub_libicmp.cc:32
#define NULL
Definition: types.h:166
Definition: Address.cc:190

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors