ICP probing of cache_peers during peer selection. More...
#include <PingData.h>
Public Member Functions | |
ping_data () | |
timeval | deadline () const |
Public Attributes | |
struct timeval | start |
struct timeval | stop |
int | n_sent |
int | n_recv |
int | n_replies_expected |
int | timeout |
int | timedout |
int | w_rtt |
int | p_rtt |
Private Attributes | |
friend | PeerSelectorPingMonitor |
WaitingPeerSelectorPosition | monitorRegistration |
maintained by PeerSelectorPingMonitor More... | |
Detailed Description
Definition at line 25 of file PingData.h.
Constructor & Destructor Documentation
◆ ping_data()
ping_data::ping_data | ( | ) |
Definition at line 1194 of file peer_select.cc.
Member Function Documentation
◆ deadline()
timeval ping_data::deadline | ( | ) | const |
no ICP responses are expected beyond the returned absolute time
- Returns
- start + timeout
Definition at line 1211 of file peer_select.cc.
References start, timeout, and tvAdd().
Referenced by PeerSelectorPingMonitor::forget(), and PeerSelectorPingMonitor::monitor().
Member Data Documentation
◆ monitorRegistration
|
private |
Definition at line 49 of file PingData.h.
Referenced by PeerSelectorPingMonitor::forget(), and PeerSelectorPingMonitor::monitor().
◆ n_recv
int ping_data::n_recv |
Definition at line 39 of file PingData.h.
Referenced by PeerSelector::handleHtcpReply(), PeerSelector::handleIcpReply(), and peerCountMcastPeersAbort().
◆ n_replies_expected
int ping_data::n_replies_expected |
Definition at line 40 of file PingData.h.
Referenced by PeerSelector::handleHtcpReply(), PeerSelector::handleIcpReply(), and PeerSelector::selectSomeNeighbor().
◆ n_sent
int ping_data::n_sent |
Definition at line 38 of file PingData.h.
Referenced by PeerSelector::selectSomeNeighbor().
◆ p_rtt
int ping_data::p_rtt |
Definition at line 44 of file PingData.h.
Referenced by PeerSelector::checkNetdbDirect(), PeerSelector::handleHtcpParentMiss(), and PeerSelector::handleIcpParentMiss().
◆ PeerSelectorPingMonitor
|
private |
Definition at line 47 of file PingData.h.
◆ start
struct timeval ping_data::start |
Definition at line 35 of file PingData.h.
Referenced by ping_data(), clientPingHasFinished(), clientUpdateHierCounters(), deadline(), PeerSelector::handleHtcpParentMiss(), PeerSelector::handleIcpParentMiss(), and PeerSelector::selectSomeNeighbor().
◆ stop
struct timeval ping_data::stop |
Definition at line 37 of file PingData.h.
Referenced by ping_data(), clientPingHasFinished(), clientUpdateHierCounters(), and PeerSelector::resolveSelected().
◆ timedout
int ping_data::timedout |
Definition at line 42 of file PingData.h.
Referenced by Format::Format::assemble(), PeerSelector::handlePath(), PeerSelector::handlePingTimeout(), PeerSelector::resolveSelected(), and Log::Format::SquidNative().
◆ timeout
int ping_data::timeout |
Definition at line 41 of file PingData.h.
Referenced by clientUpdateHierCounters(), deadline(), and PeerSelector::selectSomeNeighbor().
◆ w_rtt
int ping_data::w_rtt |
Definition at line 43 of file PingData.h.
Referenced by PeerSelector::handleHtcpParentMiss(), and PeerSelector::handleIcpParentMiss().
The documentation for this class was generated from the following files:
- src/PingData.h
- src/peer_select.cc