#include <net_db.h>

Inheritance diagram for netdbEntry:
Collaboration diagram for netdbEntry:

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_namehosts = nullptr
 
net_db_peerpeers = nullptr
 
int n_peers_alloc = 0
 
int n_peers = 0
 
void * key
 
hash_linknext
 

Private Member Functions

 MEMPROXY_CLASS (netdbEntry)
 

Detailed Description

Definition at line 46 of file net_db.h.

Constructor & Destructor Documentation

◆ netdbEntry()

netdbEntry::netdbEntry ( )
inline

Definition at line 52 of file net_db.h.

References network.

Member Function Documentation

◆ MEMPROXY_CLASS()

netdbEntry::MEMPROXY_CLASS ( netdbEntry  )
private

Member Data Documentation

◆ hops

◆ hosts

◆ key

void* hash_link::key
inherited

Definition at line 19 of file hash.h.

Referenced by aclMatchExternal(), MemStore::anchorToCache(), Rock::SwapDir::anchorToCache(), StoreMetaMD5::checkConsistency(), 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(), Rock::SwapDir::openStoreIO(), peerCountMcastPeersCreateAndSend(), StoreEntry::publicKey(), read_passwd_file(), Ipc::StoreMapAnchor::set(), StoreEntry::setPrivateKey(), StoreEntry::setPublicKey(), ClientInfo::setWriteLimiter(), Ident::Start(), MemStore::startCaching(), storeDigestAdd(), storeDigestDel(), storeKeyHashHash(), storeKeyText(), storeRebuildParseEntry(), storeSwapMetaBuild(), 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

◆ link_count

int netdbEntry::link_count = 0

◆ n_peers

◆ n_peers_alloc

int netdbEntry::n_peers_alloc = 0

Definition at line 64 of file net_db.h.

Referenced by netdbPeerAdd(), netdbRelease(), and testNetDb::testConstruct().

◆ network

◆ next

◆ next_ping_time

time_t netdbEntry::next_ping_time = 0

◆ peers

◆ pings_recv

int netdbEntry::pings_recv = 0

◆ pings_sent

int netdbEntry::pings_sent = 0

◆ rtt


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors