#include <filter_core.h>
Data Fields | |
| flag_t | flags |
| guint32 | match_count |
| guint32 | fail_count |
| filter_t * | target |
| union { | |
| struct _f_text { | |
| gint case_sensitive:1 | |
| case sensitive (true) or not | |
| gchar * match | |
| match string | |
| size_t match_len | |
| length of match string | |
| union { | |
| cpattern_t * pattern | |
| substring pattern | |
| GList * words | |
| a list of substring patterns | |
| regex_t * re | |
| regular expression match | |
| } u | |
| } text | |
| struct _f_ip { | |
| host_addr_t addr | |
| IP address. | |
| guint8 mask | |
| CIDR netmask. | |
| } ip | |
| struct _f_size { | |
| filesize_t lower | |
| lower limit or 0 | |
| filesize_t upper | |
| upper limit or ~0 | |
| } size | |
| struct _f_sha1 { | |
| sha1 * hash | |
| sha1 hash | |
| gchar * filename | |
| filename sha1 comes from | |
| } sha1 | |
| struct _f_flag { | |
| } flag | |
| struct _f_state { | |
| } state | |
| } | u |
|
|
IP address.
|
|
|
case sensitive (true) or not
|
|
|
|
|
|
filename sha1 comes from
|
|
|
|
|
|
|
|
|
sha1 hash
|
|
|
|
|
|
lower limit or 0
|
|
|
CIDR netmask.
|
|
|
match string
|
|
|
|
|
|
length of match string
|
|
|
substring pattern
|
|
|
regular expression match
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
upper limit or ~0
|
|
|
a list of substring patterns
|
1.3.9.1