diff options
author | Pablo Neira Ayuso <pablo@eurodev.net> | 2005-08-21 23:30:34 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:04:07 -0700 |
commit | 7567662ba896ee0c33d6215f32e2011488a6d1bf (patch) | |
tree | d259de5c48a54b7017ee21b5a141c223f8b082e6 /include | |
parent | 24117727b753426d85ba09671c24854834f81b2c (diff) | |
download | blackbird-op-linux-7567662ba896ee0c33d6215f32e2011488a6d1bf.tar.gz blackbird-op-linux-7567662ba896ee0c33d6215f32e2011488a6d1bf.zip |
[NETFILTER]: Add string match
Signed-off-by: Pablo Neira Ayuso <pablo@eurodev.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_string.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_string.h b/include/linux/netfilter_ipv4/ipt_string.h new file mode 100644 index 000000000000..a265f6e44eab --- /dev/null +++ b/include/linux/netfilter_ipv4/ipt_string.h @@ -0,0 +1,18 @@ +#ifndef _IPT_STRING_H +#define _IPT_STRING_H + +#define IPT_STRING_MAX_PATTERN_SIZE 128 +#define IPT_STRING_MAX_ALGO_NAME_SIZE 16 + +struct ipt_string_info +{ + u_int16_t from_offset; + u_int16_t to_offset; + char algo[IPT_STRING_MAX_ALGO_NAME_SIZE]; + char pattern[IPT_STRING_MAX_PATTERN_SIZE]; + u_int8_t patlen; + u_int8_t invert; + struct ts_config __attribute__((aligned(8))) *config; +}; + +#endif /*_IPT_STRING_H*/ |