summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink_cthelper.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-05-10 20:53:43 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-05-13 16:36:10 +0200
commit850be7cc038f39d0293d0478927e4185c327768a (patch)
tree02f776327d7f81a55a12e45624c7f2db1325d639 /include/linux/netfilter/nfnetlink_cthelper.h
parent0b4e5aeb306a10014c09372e1823f3d802264649 (diff)
src: add NFCTH_STATUS and other enhancements
This patch includes the modification of the snprintf interface and the completition of the expectation policy handling. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nfnetlink_cthelper.h')
-rw-r--r--include/linux/netfilter/nfnetlink_cthelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink_cthelper.h b/include/linux/netfilter/nfnetlink_cthelper.h
index 4676922..33659f6 100644
--- a/include/linux/netfilter/nfnetlink_cthelper.h
+++ b/include/linux/netfilter/nfnetlink_cthelper.h
@@ -1,6 +1,9 @@
#ifndef _NFNL_CTHELPER_H_
#define _NFNL_CTHELPER_H_
+#define NFCT_HELPER_STATUS_DISABLED 0
+#define NFCT_HELPER_STATUS_ENABLED 1
+
enum nfnl_acct_msg_types {
NFNL_MSG_CTHELPER_NEW,
NFNL_MSG_CTHELPER_GET,
@@ -15,6 +18,7 @@ enum nfnl_cthelper_type {
NFCTH_QUEUE_NUM,
NFCTH_POLICY,
NFCTH_PRIV_DATA_LEN,
+ NFCTH_STATUS,
__NFCTH_MAX
};
#define NFCTH_MAX (__NFCTH_MAX - 1)