diff options
author | Laszlo Attila Toth | 2009-06-09 15:16:34 +0200 |
---|---|---|
committer | Patrick McHardy | 2009-06-09 15:16:34 +0200 |
commit | a31e1ffd2231b8fdf7eda9ed750a4a0df9bcad4e (patch) | |
tree | 1b3447d8492b282a34fb2c5f3f6c5def545628ea /include/linux | |
parent | 11eeef41d5f63c7d2f7fdfcc733eb7fb137cc384 (diff) |
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/linux')
-rw-r--r-- | include/linux/netfilter/xt_socket.h | 12 |
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 000000000000..6f475b8ff34b --- /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 */ |