9#ifndef SQUID_SRC_ACL_IP_H
10#define SQUID_SRC_ACL_IP_H
27 void toStr(
char *buf,
int len)
const;
54 void *
operator new(
size_t);
55 void operator delete(
void *);
63 void parse()
override;
67 bool empty ()
const override;
bool matchAnyIpv4
whether match() should return 1 for any IPv4 parameter
SBufList dump() const override
Splay< acl_ip_data * > IPSplay
char const * typeString() const override=0
bool parseGlobal(const char *)
void parse() override
parses node representation in squid.conf; dies on failures
bool matchAnyIpv6
whether match() should return 1 for any IPv6 parameter
bool empty() const override
int match(ACLChecklist *checklist) override=0
Matches the actual data in checklist against this Acl::Node.
Ip::Address lastAddress() const
maximum (masked) address that matches this configured ACL value
MEMPROXY_CLASS(acl_ip_data)
Ip::Address firstAddress() const
minimum (masked) address that matches this configured ACL value
static bool DecodeMask(const char *asc, Ip::Address &mask, int string_format_type)
bool containsVetted(const Ip::Address &needle) const
whether we have parsed and vetted an item with an addr1 field that matches the needle
static acl_ip_data * FactoryParse(char const *)
void toStr(char *buf, int len) const
std::list< SBuf > SBufList