Squid Web Cache master
Loading...
Searching...
No Matches
Arp.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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
18class ACLARP : public Acl::Node
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_SRC_ACL_ARP_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::Node.
Definition Arp.cc:104
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
std::list< SBuf > SBufList
Definition forward.h:23