summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLaszlo Attila Toth <panther@balabit.hu>2009-06-09 15:16:34 +0200
committerPatrick McHardy <kaber@trash.net>2009-06-09 15:16:34 +0200
commita31e1ffd2231b8fdf7eda9ed750a4a0df9bcad4e (patch)
tree1b3447d8492b282a34fb2c5f3f6c5def545628ea /include
parent11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 (diff)
downloadop-kernel-dev-a31e1ffd2231b8fdf7eda9ed750a4a0df9bcad4e.zip
op-kernel-dev-a31e1ffd2231b8fdf7eda9ed750a4a0df9bcad4e.tar.gz
netfilter: xt_socket: added new revision of the 'socket' match supporting flags
If the XT_SOCKET_TRANSPARENT flag is set, enabled 'transparent' socket option is required for the socket to be matched. Signed-off-by: Laszlo Attila Toth <panther@balabit.hu> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/xt_socket.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_socket.h b/include/linux/netfilter/xt_socket.h
new file mode 100644
index 0000000..6f475b8
--- /dev/null
+++ b/include/linux/netfilter/xt_socket.h
@@ -0,0 +1,12 @@
+#ifndef _XT_SOCKET_H
+#define _XT_SOCKET_H
+
+enum {
+ XT_SOCKET_TRANSPARENT = 1 << 0,
+};
+
+struct xt_socket_mtinfo1 {
+ __u8 flags;
+};
+
+#endif /* _XT_SOCKET_H */
OpenPOWER on IntegriCloud