summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-02-02 00:25:02 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-02 00:25:02 +0100
commit0fca9b95fed33823b6b9443d0afd18d1bf9e5dc7 (patch)
treecd4acbe50571a114d655c7bbf11581aa3d78353a /include
parent14c32751713acad00c3ad01017e3464244ef709d (diff)
cthelper: add NFCTH_ATTR_PRIV_DATA_LEN
New attribute that is mandatory to set the size of the private data. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libnetfilter_cthelper/libnetfilter_cthelper.h1
-rw-r--r--include/linux/netfilter/nfnetlink_cthelper.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libnetfilter_cthelper/libnetfilter_cthelper.h b/include/libnetfilter_cthelper/libnetfilter_cthelper.h
index 13bfca8..d0fcfa7 100644
--- a/include/libnetfilter_cthelper/libnetfilter_cthelper.h
+++ b/include/libnetfilter_cthelper/libnetfilter_cthelper.h
@@ -14,6 +14,7 @@ enum nfct_helper_attr_type {
NFCTH_ATTR_EXP_POLICY_NAME,
NFCTH_ATTR_EXP_POLICY_TIMEOUT,
NFCTH_ATTR_EXP_POLICY_MAX,
+ NFCTH_ATTR_PRIV_DATA_LEN,
};
struct nfct_helper *nfct_helper_alloc(void);
diff --git a/include/linux/netfilter/nfnetlink_cthelper.h b/include/linux/netfilter/nfnetlink_cthelper.h
index 52c365b..4676922 100644
--- a/include/linux/netfilter/nfnetlink_cthelper.h
+++ b/include/linux/netfilter/nfnetlink_cthelper.h
@@ -14,6 +14,7 @@ enum nfnl_cthelper_type {
NFCTH_TUPLE,
NFCTH_QUEUE_NUM,
NFCTH_POLICY,
+ NFCTH_PRIV_DATA_LEN,
__NFCTH_MAX
};
#define NFCTH_MAX (__NFCTH_MAX - 1)