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#include "eui/Eui48.h"
14
15#include <set>
16
18class ACLARP : public ACL
19{
21
22public:
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
32protected:
33 char const *class_;
34 typedef std::set<Eui::Eui48> AclArpData_t;
36};
37
38#endif /* SQUID_ACLARP_H */
39
Definition: Arp.h:19
MEMPROXY_CLASS(ACLARP)
AclArpData_t aclArpData
Definition: Arp.h:35
~ACLARP() override
Definition: Arp.h:24
bool empty() const override
Definition: Arp.cc:35
char const * class_
Definition: Arp.h:33
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:34
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
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors