Arp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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_SRC_ACL_ARP_H
10 #define SQUID_SRC_ACL_ARP_H
11 
12 #include "acl/Node.h"
13 #include "eui/Eui48.h"
14 
15 #include <set>
16 
18 class ACLARP : public Acl::Node
19 {
21 
22 public:
23  ACLARP(char const *);
24  ~ACLARP() override {}
25 
26  char const *typeString() const override;
27  void parse() override;
28  int match(ACLChecklist *checklist) override;
29  SBufList dump() const override;
30  bool empty () const override;
31 
32 protected:
33  char const *class_;
34  typedef std::set<Eui::Eui48> AclArpData_t;
36 };
37 
38 #endif /* SQUID_SRC_ACL_ARP_H */
39 
bool empty() const override
Definition: Arp.cc:35
SBufList dump() const override
Definition: Arp.cc:120
~ACLARP() override
Definition: Arp.h:24
std::list< SBuf > SBufList
Definition: forward.h:22
const char * class_
Definition: Arp.h:33
AclArpData_t aclArpData
Definition: Arp.h:35
int match(ACLChecklist *checklist) override
Matches the actual data in checklist against this Acl::Node.
Definition: Arp.cc:104
std::set< Eui::Eui48 > AclArpData_t
Definition: Arp.h:34
Definition: Arp.h:18
MEMPROXY_CLASS(ACLARP)
ACLARP(char const *)
Definition: Arp.cc:25
Definition: Node.h:25
void parse() override
parses node representation in squid.conf; dies on failures
Definition: Arp.cc:93
const char * typeString() const override
Definition: Arp.cc:29

 

Introduction

Documentation

Support

Miscellaneous