• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _XT_SOCKET_H
2 #define _XT_SOCKET_H
3 
4 #include <linux/types.h>
5 
6 enum {
7 	XT_SOCKET_TRANSPARENT = 1 << 0,
8 };
9 
10 struct xt_socket_mtinfo1 {
11 	__u8 flags;
12 };
13 
14 void xt_socket_put_sk(struct sock *sk);
15 struct sock *xt_socket_get4_sk(const struct sk_buff *skb,
16 			       struct xt_action_param *par);
17 struct sock *xt_socket_get6_sk(const struct sk_buff *skb,
18 			       struct xt_action_param *par);
19 
20 #endif /* _XT_SOCKET_H */
21