aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_devgroup.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-02 15:24:48 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-02 15:24:48 -0800
commit8fe73503fae8cb8f00c80dd6444c1ddcd19257bd (patch)
tree39cc6d38a628c445da7d52c006df6930a2c58411 /include/linux/netfilter/xt_devgroup.h
parentipv4: Rename fib_hash_* locals in fib_semantics.c (diff)
parentnetfilter: xtables: add device group match (diff)
downloadlinux-dev-8fe73503fae8cb8f00c80dd6444c1ddcd19257bd.tar.xz
linux-dev-8fe73503fae8cb8f00c80dd6444c1ddcd19257bd.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
Diffstat (limited to 'include/linux/netfilter/xt_devgroup.h')
-rw-r--r--include/linux/netfilter/xt_devgroup.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_devgroup.h b/include/linux/netfilter/xt_devgroup.h
new file mode 100644
index 000000000000..1babde0ec900
--- /dev/null
+++ b/include/linux/netfilter/xt_devgroup.h
@@ -0,0 +1,21 @@
+#ifndef _XT_DEVGROUP_H
+#define _XT_DEVGROUP_H
+
+#include <linux/types.h>
+
+enum xt_devgroup_flags {
+ XT_DEVGROUP_MATCH_SRC = 0x1,
+ XT_DEVGROUP_INVERT_SRC = 0x2,
+ XT_DEVGROUP_MATCH_DST = 0x4,
+ XT_DEVGROUP_INVERT_DST = 0x8,
+};
+
+struct xt_devgroup_info {
+ __u32 flags;
+ __u32 src_group;
+ __u32 src_mask;
+ __u32 dst_group;
+ __u32 dst_mask;
+};
+
+#endif /* _XT_DEVGROUP_H */