9 static inline bool nf_sk_is_transparent(struct sock *sk)
11 switch (sk->sk_state) {
13 return inet_twsk(sk)->tw_transparent;
14 case TCP_NEW_SYN_RECV:
15 return inet_rsk(inet_reqsk(sk))->no_srccheck;
17 return inet_sk(sk)->transparent;
21 struct sock *nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb,
22 const struct net_device *indev);
24 struct sock *nf_sk_lookup_slow_v6(struct net *net, const struct sk_buff *skb,
25 const struct net_device *indev);