#include <LogFilter.h>
Inherits LogFilter.
Public Member Functions | |
LogFilterIP (const char *name, LogField *field, Action a, Operator o, IpAddr value) | |
LogFilterIP (const char *name, LogField *field, Action a, Operator o, size_t num_values, IpAddr *value) | |
LogFilterIP (const char *name, LogField *field, Action a, Operator o, char *values) | |
LogFilterIP (const LogFilterIP &rhs) | |
~LogFilterIP () | |
bool | operator== (LogFilterIP &rhs) |
virtual bool | toss_this_entry (LogAccess *lad) |
virtual bool | wipe_this_entry (LogAccess *lad) |
void | display (FILE *fd=stdout) |
void | display_as_XML (FILE *fd=stdout) |
Definition at line 202 of file LogFilter.h.
LogFilterIP::LogFilterIP | ( | const char * | name, | |
LogField * | field, | |||
LogFilter::Action | action, | |||
LogFilter::Operator | oper, | |||
IpAddr | value | |||
) |
Definition at line 635 of file LogFilter.cc.
References LogFilterIP(), and IpMap::mark().
Referenced by LogFilterIP().
LogFilterIP::LogFilterIP | ( | const char * | name, | |
LogField * | field, | |||
LogFilter::Action | action, | |||
LogFilter::Operator | oper, | |||
size_t | num_values, | |||
IpAddr * | value | |||
) |
Definition at line 643 of file LogFilter.cc.
References LogFilterIP(), and IpMap::mark().
LogFilterIP::LogFilterIP | ( | const char * | name, | |
LogField * | field, | |||
LogFilter::Action | action, | |||
LogFilter::Operator | oper, | |||
char * | values | |||
) |
Definition at line 652 of file LogFilter.cc.
References SimpleTokenizer::getNext(), SimpleTokenizer::getNumTokensRemaining(), IpAddr::load(), LogFilterIP(), IpMap::mark(), and Warning.
LogFilterIP::LogFilterIP | ( | const LogFilterIP & | rhs | ) |
Definition at line 693 of file LogFilter.cc.
References IpMap::begin(), IpMap::end(), LogFilterIP(), and IpMap::mark().
LogFilterIP::~LogFilterIP | ( | ) |
Definition at line 713 of file LogFilter.cc.
void LogFilterIP::display | ( | FILE * | fd = stdout |
) | [virtual] |
Implements LogFilter.
Definition at line 826 of file LogFilter.cc.
References LogFilter::ACTION_NAME, IpMap::getCount(), ink_assert, LogFilter::m_action, LogFilter::m_field, LogFilter::m_name, LogFilter::m_operator, LogFilter::OPERATOR_NAME, and LogField::symbol().
void LogFilterIP::display_as_XML | ( | FILE * | fd = stdout |
) | [virtual] |
Implements LogFilter.
Definition at line 841 of file LogFilter.cc.
References LogFilter::ACTION_NAME, IpMap::getCount(), ink_assert, LogFilter::m_action, LogFilter::m_field, LogFilter::m_name, LogFilter::m_operator, LogFilter::OPERATOR_NAME, and LogField::symbol().
bool LogFilterIP::operator== | ( | LogFilterIP & | rhs | ) |
Definition at line 728 of file LogFilter.cc.
References ats_ip_addr_eq(), IpMap::begin(), IpMap::end(), LogFilter::m_action, LogFilter::m_field, LogFilter::m_num_values, LogFilter::m_operator, and LogFilter::m_type.
bool LogFilterIP::toss_this_entry | ( | LogAccess * | lad | ) | [virtual] |
Implements LogFilter.
Definition at line 775 of file LogFilter.cc.
References LogFilter::ACCEPT, LogFilter::m_action, and LogFilter::REJECT.
bool LogFilterIP::wipe_this_entry | ( | LogAccess * | lad | ) | [virtual] |
Implements LogFilter.
Definition at line 782 of file LogFilter.cc.
References LogFilter::m_action, and LogFilter::WIPE_FIELD_VALUE.