client_db.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 /* DEBUG: section 00 Client Database */
10 
11 #ifndef SQUID_SRC_CLIENT_DB_H
12 #define SQUID_SRC_CLIENT_DB_H
13 
14 #include "anyp/ProtocolType.h"
15 #include "ip/Address.h"
16 #include "LogTags.h"
17 #if SQUID_SNMP
18 #include "cache_snmp.h"
19 #include "snmp_vars.h"
20 #endif
21 
22 namespace Ip
23 {
24 class Address;
25 }
26 
27 class StoreEntry;
28 class ClientInfo;
29 
30 void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t);
32 void clientdbDump(StoreEntry *);
33 int clientdbEstablished(const Ip::Address &, int);
34 
35 #if USE_DELAY_POOLS
36 void clientdbSetWriteLimiter(ClientInfo * info, const int writeSpeedLimit,const double initialBurst,const double highWatermark);
38 #endif
39 
40 #if SQUID_SNMP
43 #endif
44 
45 #endif /* SQUID_SRC_CLIENT_DB_H */
46 
void clientdbSetWriteLimiter(ClientInfo *info, const int writeSpeedLimit, const double initialBurst, const double highWatermark)
ClientInfo * clientdbGetInfo(const Ip::Address &addr)
Definition: client_db.cc:119
int clientdbCutoffDenied(const Ip::Address &)
Definition: client_db.cc:209
Ip::Address addr
Definition: ClientInfo.h:45
double writeSpeedLimit
Write speed limit in bytes per second.
ProtocolType
Definition: ProtocolType.h:23
int64_t snint
Definition: cache_snmp.h:14
int clientdbEstablished(const Ip::Address &, int)
Definition: client_db.cc:182
Definition: Xaction.cc:137
void clientdbDump(StoreEntry *)
Definition: client_db.cc:267
variable_list * snmp_meshCtblFn(variable_list *, snint *)
Definition: client_db.cc:442
void clientdbUpdate(const Ip::Address &, const LogTags &, AnyP::ProtocolType, size_t)
Definition: client_db.cc:138
Ip::Address * client_entry(Ip::Address *current)
Definition: client_db.cc:421

 

Introduction

Documentation

Support

Miscellaneous