DestinationIp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #ifndef SQUID_ACLDESTINATIONIP_H
10 #define SQUID_ACLDESTINATIONIP_H
11 
12 #include "acl/Checklist.h"
13 #include "acl/Ip.h"
14 #include "ipcache.h"
15 
17 {
18 
19 public:
20  static DestinationIPLookup *Instance();
21  virtual void checkForAsync(ACLChecklist *)const;
22 
23 private:
25  static IPH LookupDone;
26 };
27 
28 class ACLDestinationIP : public ACLIP
29 {
31 
32 public:
33  virtual char const *typeString() const;
34  virtual const Acl::Options &options();
35  virtual int match(ACLChecklist *checklist);
36 
37  virtual ACL *clone()const;
38 
39 private:
41 };
42 
43 #endif /* SQUID_ACLDESTINATIONIP_H */
44 
static DestinationIPLookup instance_
Definition: DestinationIp.h:24
MEMPROXY_CLASS(ACLDestinationIP)
Definition: Acl.h:39
virtual const Acl::Options & options()
OptionValue< bool > BooleanOptionValue
Definition: Options.h:132
virtual char const * typeString() const
static IPH LookupDone
Definition: DestinationIp.h:25
Acl::BooleanOptionValue lookupBanned
are DNS lookups allowed?
Definition: DestinationIp.h:40
Definition: Ip.h:44
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
std::map< OptionName, const Option *, OptionNameCmp > Options
name:option map
Definition: Options.h:159
virtual void checkForAsync(ACLChecklist *) const
virtual ACL * clone() const
void IPH(const ipcache_addrs *, const Dns::LookupDetails &details, void *)
Definition: ipcache.h:219
static DestinationIPLookup * Instance()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors