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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors