summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Warasin <peter@endian.com>2008-04-14 11:15:54 +0200
committerPatrick McHardy <kaber@trash.net>2008-04-14 11:15:54 +0200
commite7bfd0a1a6c8f82977253dab19be9d9979c1ec1b (patch)
tree3162f621a6a17b5d80e4419a9dae031c0b93fec9 /include
parent3c9fba656a185cf56872a325e5594d9b4d4168ec (diff)
downloadop-kernel-dev-e7bfd0a1a6c8f82977253dab19be9d9979c1ec1b.zip
op-kernel-dev-e7bfd0a1a6c8f82977253dab19be9d9979c1ec1b.tar.gz
[NETFILTER]: bridge: add ebt_nflog watcher
This patch adds the ebtables nflog watcher to the kernel in order to allow ebtables log through the nfnetlink_log backend. Signed-off-by: Peter Warasin <peter@endian.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_bridge/ebt_nflog.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/netfilter_bridge/ebt_nflog.h b/include/linux/netfilter_bridge/ebt_nflog.h
new file mode 100644
index 0000000..0528178
--- /dev/null
+++ b/include/linux/netfilter_bridge/ebt_nflog.h
@@ -0,0 +1,21 @@
+#ifndef __LINUX_BRIDGE_EBT_NFLOG_H
+#define __LINUX_BRIDGE_EBT_NFLOG_H
+
+#define EBT_NFLOG_MASK 0x0
+
+#define EBT_NFLOG_PREFIX_SIZE 64
+#define EBT_NFLOG_WATCHER "nflog"
+
+#define EBT_NFLOG_DEFAULT_GROUP 0x1
+#define EBT_NFLOG_DEFAULT_THRESHOLD 1
+
+struct ebt_nflog_info {
+ u_int32_t len;
+ u_int16_t group;
+ u_int16_t threshold;
+ u_int16_t flags;
+ u_int16_t pad;
+ char prefix[EBT_NFLOG_PREFIX_SIZE];
+};
+
+#endif /* __LINUX_BRIDGE_EBT_NFLOG_H */
OpenPOWER on IntegriCloud