]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/SourceAsn.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / acl / SourceAsn.h
CommitLineData
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 */
bbc27441 8
ff9d9458
FC
9#ifndef SQUID_SRC_ACL_SOURCEASN_H
10#define SQUID_SRC_ACL_SOURCEASN_H
e1f7507e 11
8319d478
AR
12#include "acl/Data.h"
13#include "acl/ParameterizedNode.h"
14#include "ip/forward.h"
5dee515e 15
8319d478 16namespace Acl
62e76326 17{
18
8319d478
AR
19/// a "src_as" ACL
20class SourceAsnCheck: public ParameterizedNode< ACLData<Ip::Address> >
21{
62e76326 22public:
922513e5 23 /* Acl::Node API */
8319d478 24 int match(ACLChecklist *) override;
b0dd28ba 25};
5dee515e 26
8319d478
AR
27} // namespace Acl
28
ff9d9458 29#endif /* SQUID_SRC_ACL_SOURCEASN_H */
f53969cc 30