diff options
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/netfilter/xt_socket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/xt_socket.h b/include/uapi/linux/netfilter/xt_socket.h index 26d7217bd4f1..6315e2ac3474 100644 --- a/include/uapi/linux/netfilter/xt_socket.h +++ b/include/uapi/linux/netfilter/xt_socket.h | |||
@@ -5,10 +5,17 @@ | |||
5 | 5 | ||
6 | enum { | 6 | enum { |
7 | XT_SOCKET_TRANSPARENT = 1 << 0, | 7 | XT_SOCKET_TRANSPARENT = 1 << 0, |
8 | XT_SOCKET_NOWILDCARD = 1 << 1, | ||
8 | }; | 9 | }; |
9 | 10 | ||
10 | struct xt_socket_mtinfo1 { | 11 | struct xt_socket_mtinfo1 { |
11 | __u8 flags; | 12 | __u8 flags; |
12 | }; | 13 | }; |
14 | #define XT_SOCKET_FLAGS_V1 XT_SOCKET_TRANSPARENT | ||
15 | |||
16 | struct xt_socket_mtinfo2 { | ||
17 | __u8 flags; | ||
18 | }; | ||
19 | #define XT_SOCKET_FLAGS_V2 (XT_SOCKET_TRANSPARENT | XT_SOCKET_NOWILDCARD) | ||
13 | 20 | ||
14 | #endif /* _XT_SOCKET_H */ | 21 | #endif /* _XT_SOCKET_H */ |