DestinationIp.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#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
19public:
21 void checkForAsync(ACLChecklist *)const override;
22
23private:
26};
27
28class ACLDestinationIP : public ACLIP
29{
31
32public:
33 char const *typeString() const override;
34 const Acl::Options &options() override;
35 int match(ACLChecklist *checklist) override;
36
37private:
39};
40
41#endif /* SQUID_ACLDESTINATIONIP_H */
42
char const * typeString() const override
MEMPROXY_CLASS(ACLDestinationIP)
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this ACL.
Acl::BooleanOptionValue lookupBanned
are DNS lookups allowed?
Definition: DestinationIp.h:38
const Acl::Options & options() override
Definition: Ip.h:45
void checkForAsync(ACLChecklist *) const override
static DestinationIPLookup * Instance()
static IPH LookupDone
Definition: DestinationIp.h:25
static DestinationIPLookup instance_
Definition: DestinationIp.h:24
void IPH(const ipcache_addrs *, const Dns::LookupDetails &details, void *)
Definition: ipcache.h:227
std::vector< const Option * > Options
Definition: Options.h:214
OptionValue< bool > BooleanOptionValue
Definition: Options.h:200

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors