Arp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 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() {}
29 
30  virtual char const *typeString() const;
31  virtual void parse();
32  virtual int match(ACLChecklist *checklist);
33  virtual SBufList dump() const;
34  virtual bool empty () const;
35 
36 protected:
37  char const *class_;
38  typedef std::set<Eui::Eui48> AclArpData_t;
40 };
41 
42 #endif /* SQUID_ACLARP_H */
43 
std::list< SBuf > SBufList
Definition: forward.h:22
char const * class_
Definition: Arp.h:37
AclArpData_t aclArpData
Definition: Arp.h:39
std::set< Eui::Eui48 > AclArpData_t
Definition: Arp.h:38
virtual SBufList dump() const
Definition: Arp.cc:120
Definition: Arp.h:23
Definition: Acl.h:40
MEMPROXY_CLASS(ACLARP)
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
Definition: Arp.cc:104
ACLARP(char const *)
Definition: Arp.cc:25
virtual void parse()
parses node representation in squid.conf; dies on failures
Definition: Arp.cc:93
Definition: Arp.h:17
virtual char const * typeString() const
Definition: Arp.cc:29
~ACLARP()
Definition: Arp.h:28
virtual bool empty() const
Definition: Arp.cc:35

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors