2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_SRC_ACL_DESTINATIONIP_H
10 #define SQUID_SRC_ACL_DESTINATIONIP_H
12 #include "acl/Checklist.h"
16 class ACLDestinationIP
: public ACLIP
18 MEMPROXY_CLASS(ACLDestinationIP
);
21 static void StartLookup(ACLFilledChecklist
&, const Acl::Node
&);
23 char const *typeString() const override
;
24 const Acl::Options
&options() override
;
25 int match(ACLChecklist
*checklist
) override
;
28 static void LookupDone(const ipcache_addrs
*, const Dns::LookupDetails
&, void *data
);
30 Acl::BooleanOptionValue lookupBanned
; ///< are DNS lookups allowed?
33 #endif /* SQUID_SRC_ACL_DESTINATIONIP_H */