fqdncache.cc
Go to the documentation of this file.
123static int fqdncacheParse(fqdncache_entry *, const rfc1035_rr *, int, const char *error_message);
316fqdncacheParse(fqdncache_entry *f, const rfc1035_rr * answers, int nr, const char *error_message)
350 debugs(35, 2, "fqdncacheParse: invalid PTR record '" << answers[k].rdata << "' for '" << name << "'");
390fqdncacheHandleReply(void *data, const rfc1035_rr * answers, int na, const char *error_message, const bool lastAnswer)
643 debugs(35, DBG_IMPORTANT, "WARNING: can't add static entry for locked address '" << addr << "'");
720 debugs(49, 5, "snmp_netFqdnFn: Processing request:" << snmpDebugOid(Var->name, Var->name_length, tmp));
Definition: Address.h:41
char * toStr(char *buf, const unsigned int blen, int force=AF_UNSPEC) const
Definition: Address.cc:792
Definition: MemBuf.h:24
struct SquidConfig::@103 fqdncache
struct StatCounters::@127 dns
Definition: Store.h:42
Definition: cbdata.cc:38
Definition: dlink.h:24
Definition: dlink.h:15
Definition: fqdncache.cc:80
struct fqdncache_entry::Flags flags
MEMPROXY_CLASS(fqdncache_entry)
Definition: cbdata.h:361
Definition: hash.h:23
Definition: rfc1035.h:37
void IDNSCB(void *cbdata, const rfc1035_rr *answer, const int recordsInAnswer, const char *error, bool lastAnswer)
Definition: forward.h:16
void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *)
Definition: dns_internal.cc:1804
void eventAdd(const char *name, EVH *func, void *arg, double when, int weight, bool cbdata)
Definition: event.cc:107
void fqdncacheAddEntryFromHosts(char *addr, SBufList &hostnames)
Definition: fqdncache.cc:636
variable_list * snmp_netFqdnFn(variable_list *Var, snint *ErrP)
Definition: fqdncache.cc:716
const char * fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
Definition: fqdncache.cc:481
void fqdncache_nbgethostbyaddr(const Ip::Address &addr, FQDNH *handler, void *handlerData)
Definition: fqdncache.cc:414
static void fqdncacheRegisterWithCacheManager(void)
Definition: fqdncache.cc:671
static int fqdncacheExpiredEntry(const fqdncache_entry *)
Definition: fqdncache.cc:185
static void fqdncacheUnlockEntry(fqdncache_entry *f)
Definition: fqdncache.cc:594
static int fqdncacheParse(fqdncache_entry *, const rfc1035_rr *, int, const char *error_message)
Definition: fqdncache.cc:316
static struct _fqdn_cache_stats FqdncacheStats
static void fqdncacheCallback(fqdncache_entry *, int wait)
Definition: fqdncache.cc:291
SQUIDCEXTERN void hash_remove_link(hash_table *, hash_link *)
Definition: hash.cc:220
#define MAX_IPSTRLEN
Length of buffer that needs to be allocated to old a null-terminated IP-string.
Definition: forward.h:25
bool ResolveClientAddressesAsap
whether to do reverse DNS lookups for source IPs of accepted connections
Definition: fqdncache.cc:30
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
const char * snmpDebugOid(oid *Name, snint Len, MemBuf &outbuf)
Definition: snmp_core.cc:1056
struct variable_list * snmp_var_new_integer(oid *, int, int, unsigned char)
Definition: snmp_vars.c:151
Definition: fqdncache.cc:111
Definition: fqdncache.cc:100
Definition: snmp_vars.h:44
struct timeval current_time
the current UNIX time in timeval {seconds, microseconds} format
Definition: gadgets.cc:17