]>
Commit | Line | Data |
---|---|---|
5dee515e | 1 | /* |
5b74111a | 2 | * Copyright (C) 1996-2018 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 | ||
b0dd28ba | 9 | #ifndef SQUID_ACLARP_H |
10 | #define SQUID_ACLARP_H | |
63be0a78 | 11 | |
3ad63615 | 12 | #include "acl/Acl.h" |
5dee515e | 13 | |
41b91720 FC |
14 | #include <set> |
15 | ||
05320519 A |
16 | namespace Eui |
17 | { | |
18 | class Eui48; | |
a98c2da5 | 19 | }; |
62e76326 | 20 | |
63be0a78 | 21 | /// \ingroup ACLAPI |
b0dd28ba | 22 | class ACLARP : public ACL |
62e76326 | 23 | { |
b001e822 | 24 | MEMPROXY_CLASS(ACLARP); |
b0dd28ba | 25 | |
741c2986 | 26 | public: |
b0dd28ba | 27 | ACLARP(char const *); |
28 | ACLARP(ACLARP const &); | |
68acf08e | 29 | ~ACLARP() {} |
b0dd28ba | 30 | ACLARP&operator=(ACLARP const &); |
62e76326 | 31 | |
b0dd28ba | 32 | virtual ACL *clone()const; |
33 | virtual char const *typeString() const; | |
34 | virtual void parse(); | |
35 | virtual int match(ACLChecklist *checklist); | |
9b859d6f | 36 | virtual SBufList dump() const; |
4b0f5de8 | 37 | virtual bool empty () const; |
62e76326 | 38 | |
b0dd28ba | 39 | protected: |
b0dd28ba | 40 | char const *class_; |
41b91720 FC |
41 | typedef std::set<Eui::Eui48> AclArpData_t; |
42 | AclArpData_t aclArpData; | |
b0dd28ba | 43 | }; |
5dee515e | 44 | |
b0dd28ba | 45 | #endif /* SQUID_ACLARP_H */ |
f53969cc | 46 |