stub_libicmp.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 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 "tests/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 &, const char *) STUB
19 #if USE_ICMP
20 void IcmpSquid::SendEcho(Ip::Address &, int, const char*, int) 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 &, int, int) STUB
28 void netdbPingSite(const char *) STUB
30 void netdbFreeMemory(void) STUB
31 int netdbHostHops(const char *) STUB_RETVAL(-1)
32 int netdbHostRtt(const char *) STUB_RETVAL(-1)
33 void netdbUpdatePeer(const AnyP::Uri &, CachePeer *, int, int) STUB
34 void netdbDeleteAddrNetwork(Ip::Address &) STUB
36 void netdbExchangeStart(void *) STUB
37 void netdbExchangeUpdatePeer(Ip::Address &, CachePeer *, double, double) STUB
39 void netdbHostData(const char *, int *, int *, int *) STUB
40 
virtual void Recv(void)
Handle ICMP responses.
Definition: IcmpSquid.cc:118
virtual void SendEcho(Ip::Address &to, int opcode, const char *payload=NULL, int len=0)
Definition: IcmpSquid.cc:52
CachePeer * netdbClosestParent(PeerSelector *ps)
Definition: net_db.cc:1333
void netdbFreeMemory(void)
Definition: net_db.cc:958
static CLCB Close
Definition: Ident.cc:73
#define STUB_RETVAL(x)
Definition: STUB.h:41
void netdbUpdatePeer(const AnyP::Uri &url, CachePeer *e, int irtt, int ihops)
Definition: net_db.cc:1098
void netdbExchangeStart(void *data)
Definition: net_db.cc:1293
int netdbHostRtt(const char *host)
Definition: net_db.cc:1056
virtual int Open()
Start pinger helper and initiate control channel.
Definition: IcmpSquid.cc:190
void netdbInit(void)
Definition: net_db.cc:884
Definition: forward.h:15
void netdbDump(StoreEntry *sentry)
Definition: net_db.cc:973
#define STUB
macro to stub a void function.
Definition: STUB.h:33
Definition: client_db.h:23
int netdbHostHops(const char *host)
Definition: net_db.cc:1040
void netdbDeleteAddrNetwork(Ip::Address &addr)
Definition: net_db.cc:1186
void netdbExchangeUpdatePeer(Ip::Address &addr, CachePeer *e, double rtt, double hops)
Definition: net_db.cc:1139
void netdbBinaryExchange(StoreEntry *s)
Definition: net_db.cc:1203
void netdbHostData(const char *host, int *samp, int *rtt, int *hops)
Definition: net_db.cc:1073
void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt)
Definition: net_db.cc:925
void netdbPingSite(const char *hostname)
Definition: net_db.cc:908
int unsigned int
Definition: stub_fd.cc:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors