Arp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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;
42  AclArpData_t aclArpData;
43 };
44 
45 #endif /* SQUID_ACLARP_H */
46 
#define MEMPROXY_CLASS(CLASS)
Definition: Arp.h:22
char const * class_
Definition: Arp.h:40
Definition: Acl.h:39
static struct node * parse(FILE *fp)
Definition: parse.c:995
std::set< Eui::Eui48 > AclArpData_t
Definition: Arp.h:41
Definition: Arp.h:16
AclArpData_t aclArpData
Definition: Arp.h:42
std::list< SBuf > SBufList
Definition: forward.h:22
~ACLARP()
Definition: Arp.h:29
bool match(const char *fn, const REList *list)
Definition: purge.cc:398

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors