/include/linux/netfilter/xt_socket.h
C Header | 20 lines | 15 code | 5 blank | 0 comment | 0 complexity | 19685778317f44b5cb29ffaf31cd00db MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
1#ifndef _XT_SOCKET_H 2#define _XT_SOCKET_H 3 4#include <linux/types.h> 5 6enum { 7 XT_SOCKET_TRANSPARENT = 1 << 0, 8}; 9 10struct xt_socket_mtinfo1 { 11 __u8 flags; 12}; 13 14void xt_socket_put_sk(struct sock *sk); 15struct sock *xt_socket_get4_sk(const struct sk_buff *skb, 16 struct xt_action_param *par); 17struct sock *xt_socket_get6_sk(const struct sk_buff *skb, 18 struct xt_action_param *par); 19 20#endif /* _XT_SOCKET_H */