summaryrefslogtreecommitdiffstats
path: root/include/internal/object.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-02-06 22:51:32 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-06 23:44:06 +0100
commit678ec919ffe3072468cb56de6eabf8cb8f7e9bdb (patch)
tree181dac32a7f2ddb19e47fe848c7247f9a5a9c61c /include/internal/object.h
parentc9983354fa65c835643f85567f57cc8e9992cd29 (diff)
expect: add expectfn support
This patch allows you to set expectfn. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal/object.h')
-rw-r--r--include/internal/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h
index 2bba5f7..94433bf 100644
--- a/include/internal/object.h
+++ b/include/internal/object.h
@@ -264,6 +264,8 @@ struct nfct_filter {
* expectation object
*/
+#define __NFCT_EXPECTFN_MAX 24 /* maximum symbol length. */
+
struct nf_expect {
struct nfct_tuple_head master;
struct nfct_tuple_head expected;
@@ -277,6 +279,7 @@ struct nf_expect {
u_int32_t class;
char helper_name[NFCT_HELPER_NAME_MAX];
u_int32_t nat_dir;
+ char expectfn[__NFCT_EXPECTFN_MAX];
u_int32_t set[1];
};