#include <net_db.h>
![Inheritance graph](classnetdbEntry__inherit__graph.png)
![Collaboration graph](classnetdbEntry__coll__graph.png)
Public Member Functions | |
netdbEntry () | |
Public Attributes | |
char | network [MAX_IPSTRLEN] |
int | pings_sent = 0 |
int | pings_recv = 0 |
double | hops = 0 |
double | rtt = 1.0 |
time_t | next_ping_time = 0 |
time_t | last_use_time = 0 |
int | link_count = 0 |
net_db_name * | hosts = nullptr |
net_db_peer * | peers = nullptr |
int | n_peers_alloc = 0 |
int | n_peers = 0 |
void * | key |
hash_link * | next |
Private Member Functions | |
MEMPROXY_CLASS (netdbEntry) | |
Detailed Description
Constructor & Destructor Documentation
◆ netdbEntry()
Member Function Documentation
◆ MEMPROXY_CLASS()
|
private |
Member Data Documentation
◆ hops
double netdbEntry::hops = 0 |
Definition at line 59 of file net_db.h.
Referenced by netdbBinaryExchange(), netdbDump(), netdbHandlePingReply(), netdbHostData(), netdbHostHops(), netdbReloadState(), netdbSaveState(), and TestNetDb::testConstruct().
◆ hosts
net_db_name* netdbEntry::hosts = nullptr |
Definition at line 64 of file net_db.h.
Referenced by net_db_name::net_db_name(), netdbDump(), netdbHostDelete(), netdbRelease(), netdbSaveState(), netdbSendPing(), and TestNetDb::testConstruct().
◆ key
|
inherited |
Definition at line 19 of file hash.h.
Referenced by ACLExternal::aclMatchExternal(), MemStore::anchorToCache(), Rock::SwapDir::anchorToCache(), Store::CheckSwapMetaKey(), StoreEntry::clearPublicKeyScope(), ClientInfo::ClientInfo(), Rock::SwapDir::createStoreIO(), CommQuotaQueue::dequeue(), destroyStoreEntry(), CommQuotaQueue::enqueue(), external_acl_cache_add(), StoreEntry::forcePublicKey(), fqdncache_entry::fqdncache_entry(), fqdncacheAddEntry(), fqdncacheParse(), StoreEntry::getMD5Text(), hash_join(), hash_remove_link(), StoreEntry::hashDelete(), StoreEntry::hashInsert(), hashKeyStr(), Rock::SwapDir::hasReadableEntry(), htcpQuery(), IdleConnList::IdleConnList(), idnsStartQuery(), ipcache_entry::ipcache_entry(), ipcacheAddEntry(), ipcacheRelease(), Fs::Ufs::UFSSwapDir::logEntry(), Store::Controller::markedForDeletionAndAbandoned(), my_free(), ipcache_entry::name(), neighborsUdpPing(), net_db_name::net_db_name(), netdbHashInsert(), Ipc::StoreMap::openForUpdating(), Store::PackFields(), peerCountMcastPeersCreateAndSend(), StoreEntry::publicKey(), read_passwd_file(), Ipc::StoreMapAnchor::set(), StoreEntry::setPrivateKey(), StoreEntry::setPublicKey(), ClientInfo::setWriteLimiter(), MemStore::startCaching(), storeDigestAdd(), storeDigestDel(), storeKeyHashHash(), storeKeyText(), storeRebuildParseEntry(), Store::UnpackIndexSwapMeta(), WIN32_StoreKey(), wordlistAdd(), UFSCleanLog::write(), ClientInfo::~ClientInfo(), ExternalACLEntry::~ExternalACLEntry(), fqdncache_entry::~fqdncache_entry(), IdleConnList::~IdleConnList(), and net_db_name::~net_db_name().
◆ last_use_time
time_t netdbEntry::last_use_time = 0 |
Definition at line 62 of file net_db.h.
Referenced by netdbClosestParent(), netdbHostData(), netdbHostHops(), netdbHostRtt(), netdbReloadState(), netdbSaveState(), netdbSendPing(), and TestNetDb::testConstruct().
◆ link_count
int netdbEntry::link_count = 0 |
Definition at line 63 of file net_db.h.
Referenced by net_db_name::net_db_name(), netdbHostDelete(), netdbRelease(), netdbSendPing(), and TestNetDb::testConstruct().
◆ n_peers
int netdbEntry::n_peers = 0 |
Definition at line 67 of file net_db.h.
Referenced by netdbClosestParent(), netdbDump(), netdbExchangeUpdatePeer(), netdbPeerAdd(), netdbPeerByName(), netdbRelease(), netdbUpdatePeer(), and TestNetDb::testConstruct().
◆ n_peers_alloc
int netdbEntry::n_peers_alloc = 0 |
Definition at line 66 of file net_db.h.
Referenced by netdbPeerAdd(), netdbRelease(), and TestNetDb::testConstruct().
◆ network
char netdbEntry::network[MAX_IPSTRLEN] |
Definition at line 56 of file net_db.h.
Referenced by netdbBinaryExchange(), netdbDeleteAddrNetwork(), netdbDump(), netdbEntry(), netdbHandlePingReply(), netdbHashInsert(), netdbPeerAdd(), netdbRelease(), netdbSaveState(), netdbSendPing(), and TestNetDb::testConstruct().
◆ next
|
inherited |
Definition at line 20 of file hash.h.
Referenced by clientdbGC(), Store::LocalSearch::copyBucket(), StoreEntry::dump(), hash_join(), hash_lookup(), hash_next(), hash_remove_link(), IdleConnList::IdleConnList(), and lru_stats().
◆ next_ping_time
time_t netdbEntry::next_ping_time = 0 |
Definition at line 61 of file net_db.h.
Referenced by netdbPingSite(), netdbReloadState(), netdbSaveState(), netdbSendPing(), and TestNetDb::testConstruct().
◆ peers
net_db_peer* netdbEntry::peers = nullptr |
Definition at line 65 of file net_db.h.
Referenced by netdbClosestParent(), netdbDump(), netdbExchangeUpdatePeer(), netdbPeerAdd(), netdbPeerByName(), netdbRelease(), netdbUpdatePeer(), and TestNetDb::testConstruct().
◆ pings_recv
int netdbEntry::pings_recv = 0 |
Definition at line 58 of file net_db.h.
Referenced by netdbDump(), netdbHandlePingReply(), netdbHostData(), netdbReloadState(), netdbSaveState(), and TestNetDb::testConstruct().
◆ pings_sent
int netdbEntry::pings_sent = 0 |
Definition at line 57 of file net_db.h.
Referenced by netdbDump(), netdbReloadState(), netdbSaveState(), netdbSendPing(), and TestNetDb::testConstruct().
◆ rtt
double netdbEntry::rtt = 1.0 |
Definition at line 60 of file net_db.h.
Referenced by netdbBinaryExchange(), netdbClosestParent(), netdbDump(), netdbHandlePingReply(), netdbHostData(), netdbHostRtt(), netdbReloadState(), netdbSaveState(), and TestNetDb::testConstruct().
The documentation for this class was generated from the following file:
- src/icmp/net_db.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products