Go to the source code of this file.
Classes | |
class | Version |
class | StoreDigestCBlock |
class | DigestFetchState |
class | PeerDigest |
Functions | |
void | peerDigestNeeded (PeerDigest *pd) |
void | peerDigestNotePeerGone (PeerDigest *pd) |
void | peerDigestStatsReport (const PeerDigest *pd, StoreEntry *e) |
Variables | |
const Version | CacheDigestVer |
Function Documentation
◆ peerDigestNeeded()
void peerDigestNeeded | ( | PeerDigest * | pd | ) |
Definition at line 128 of file peer_digest.cc.
References assert, PeerDigest::cd, PeerDigest::flags, PeerDigest::needed, peerDigestSetCheck(), squid_curtime, and PeerDigest::times.
Referenced by peerDigestLookup().
◆ peerDigestNotePeerGone()
void peerDigestNotePeerGone | ( | PeerDigest * | pd | ) |
Definition at line 175 of file peer_digest.cc.
References debugs, PeerDigest::flags, PeerDigest::host, and PeerDigest::requested.
Referenced by CachePeer::~CachePeer(), peerDigestCheck(), and peerDigestPDFinish().
◆ peerDigestStatsReport()
void peerDigestStatsReport | ( | const PeerDigest * | pd, |
StoreEntry * | e | ||
) |
Definition at line 932 of file peer_digest.cc.
References appendTime, assert, cacheDigestGuessStatsReport(), cacheDigestReport(), PeerDigest::cd, f2s, PeerDigest::guess, PeerDigest::host, ByteCounter::kb, PeerDigest::kbytes, PeerDigest::msgs, PeerDigest::recv, PeerDigest::req_delay, PeerDigest::req_result, PeerDigest::retry_delay, PeerDigest::sent, SQUIDSBUFPH, SQUIDSBUFPRINT, PeerDigest::stats, storeAppendPrintf(), and PeerDigest::times.
Referenced by statPeerSelect().
Variable Documentation
◆ CacheDigestVer
|
extern |
Definition at line 55 of file peer_digest.cc.
Referenced by peerDigestSetCBlock(), and storeDigestCBlockSwapOut().