aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netfilter/xt_socket.h')
-rw-r--r--include/linux/netfilter/xt_socket.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_socket.h b/include/linux/netfilter/xt_socket.h
new file mode 100644
index 00000000..63594564
--- /dev/null
+++ b/include/linux/netfilter/xt_socket.h
@@ -0,0 +1,20 @@
+#ifndef _XT_SOCKET_H
+#define _XT_SOCKET_H
+
+#include <linux/types.h>
+
+enum {
+ XT_SOCKET_TRANSPARENT = 1 << 0,
+};
+
+struct xt_socket_mtinfo1 {
+ __u8 flags;
+};
+
+void xt_socket_put_sk(struct sock *sk);
+struct sock *xt_socket_get4_sk(const struct sk_buff *skb,
+ struct xt_action_param *par);
+struct sock *xt_socket_get6_sk(const struct sk_buff *skb,
+ struct xt_action_param *par);
+
+#endif /* _XT_SOCKET_H */