DestinationAsn.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_ACLDESTINATIONASN_H
10#define SQUID_ACLDESTINATIONASN_H
11
12#include "acl/Data.h"
14#include "ip/forward.h"
15
16namespace Acl
17{
18
20class DestinationAsnCheck: public ParameterizedNode< ACLData<Ip::Address> >
21{
22public:
23 /* ACL API */
24 int match(ACLChecklist *) override;
25 bool requiresRequest() const override {return true;}
26};
27
28} // namespace Acl
29
30#endif /* SQUID_ACLDESTINATIONASN_H */
31
bool requiresRequest() const override
whether our (i.e. shallow) match() requires checklist to have a request
int match(ACLChecklist *) override
Matches the actual data in checklist against this ACL.
Definition: Asn.cc:528
Definition: Acl.cc:31

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors