stub_libicmp.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 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 AnyP::Uri &, CachePeer *, int, int) STUB
37 void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double) STUB
39 void netdbHostData(const char *host, int *samp, int *rtt, int *hops) STUB
40 
CachePeer * netdbClosestParent(PeerSelector *ps)
Definition: net_db.cc:1308
void netdbFreeMemory(void)
Definition: net_db.cc:955
void netdbExchangeStart(void *data)
Definition: net_db.cc:1270
virtual void Recv(void)
Handle ICMP responses.
Definition: IcmpSquid.cc:120
void netdbUpdatePeer(const AnyP::Uri &url, CachePeer *e, int irtt, int ihops)
Definition: net_db.cc:1087
int netdbHostRtt(const char *host)
Definition: net_db.cc:1052
void netdbInit(void)
Definition: net_db.cc:885
static CLCB Close
Definition: Ident.cc:65
virtual int Open()
Start pinger helper and initiate control channel.
Definition: IcmpSquid.cc:189
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void * addr
Definition: membanger.c:46
void netdbDump(StoreEntry *sentry)
Definition: net_db.cc:970
int unsigned int const char *desc STUB void int len
Definition: stub_fd.cc:20
int netdbHostHops(const char *host)
Definition: net_db.cc:1037
void netdbExchangeUpdatePeer(Ip::Address &addr, CachePeer *e, double rtt, double hops)
Definition: net_db.cc:1123
virtual void SendEcho(Ip::Address &to, int opcode, const char *payload=NULL, int len=0)
Definition: IcmpSquid.cc:52
void netdbHostData(const char *host, int *samp, int *rtt, int *hops)
Definition: net_db.cc:1067
void netdbDeleteAddrNetwork(Ip::Address &addr)
Definition: net_db.cc:1165
void netdbPingSite(const char *hostname)
Definition: net_db.cc:909
void netdbBinaryExchange(StoreEntry *s)
Definition: net_db.cc:1180
void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt)
Definition: net_db.cc:925
Definition: Address.cc:190

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors