]>
Commit | Line | Data |
---|---|---|
5dee515e | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
5dee515e | 3 | * |
bbc27441 AJ |
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. | |
5dee515e | 7 | */ |
8 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_DESTINATIONASN_H |
10 | #define SQUID_SRC_ACL_DESTINATIONASN_H | |
63be0a78 | 11 | |
8319d478 AR |
12 | #include "acl/Data.h" |
13 | #include "acl/ParameterizedNode.h" | |
14 | #include "ip/forward.h" | |
5dee515e | 15 | |
8319d478 | 16 | namespace Acl |
62e76326 | 17 | { |
18 | ||
8319d478 AR |
19 | /// a "dst_as" ACL |
20 | class DestinationAsnCheck: public ParameterizedNode< ACLData<Ip::Address> > | |
21 | { | |
62e76326 | 22 | public: |
922513e5 | 23 | /* Acl::Node API */ |
8319d478 | 24 | int match(ACLChecklist *) override; |
337b9aa4 | 25 | bool requiresRequest() const override {return true;} |
b0dd28ba | 26 | }; |
5dee515e | 27 | |
8319d478 AR |
28 | } // namespace Acl |
29 | ||
ff9d9458 | 30 | #endif /* SQUID_SRC_ACL_DESTINATIONASN_H */ |
f53969cc | 31 |