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