Arp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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_ACLARP_H
10 #define SQUID_ACLARP_H
11 
12 #include "acl/Acl.h"
13 
14 #include <set>
15 
16 namespace Eui
17 {
18 class Eui48;
19 };
20 
22 class ACLARP : public ACL
23 {
25 
26 public:
27  ACLARP(char const *);
28  ACLARP(ACLARP const &);
29  ~ACLARP() {}
30  ACLARP&operator=(ACLARP const &);
31 
32  virtual ACL *clone()const;
33  virtual char const *typeString() const;
34  virtual void parse();
35  virtual int match(ACLChecklist *checklist);
36  virtual SBufList dump() const;
37  virtual bool empty () const;
38 
39 protected:
40  char const *class_;
41  typedef std::set<Eui::Eui48> AclArpData_t;
43 };
44 
45 #endif /* SQUID_ACLARP_H */
46 
virtual char const * typeString() const
Definition: Arp.cc:38
Definition: Arp.h:22
char const * class_
Definition: Arp.h:40
Definition: Acl.h:39
std::set< Eui::Eui48 > AclArpData_t
Definition: Arp.h:41
virtual SBufList dump() const
Definition: Arp.cc:129
AclArpData_t aclArpData
Definition: Arp.h:42
virtual ACL * clone() const
Definition: Arp.cc:25
ACLARP(char const *)
Definition: Arp.cc:30
ACLARP & operator=(ACLARP const &)
std::list< SBuf > SBufList
Definition: forward.h:26
MEMPROXY_CLASS(ACLARP)
~ACLARP()
Definition: Arp.h:29
virtual void parse()
parses node represenation in squid.conf; dies on failures
Definition: Arp.cc:102
virtual bool empty() const
Definition: Arp.cc:44
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
Definition: Arp.cc:113

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors