#ifndef _NF_SOCK_H_ #define _NF_SOCK_H_ struct net_device; struct sk_buff; struct sock; struct net;
static inline bool nf_sk_is_transparent(struct sock *sk) { switch (sk->sk_state) { case TCP_TIME_WAIT: return inet_twsk(sk)->tw_transparent; case TCP_NEW_SYN_RECV: return inet_rsk(inet_reqsk(sk))->no_srccheck; default: return inet_sk(sk)->transparent; } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Pablo Neira Ayuso | 54 | 100.00% | 1 | 100.00% |
Total | 54 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Pablo Neira Ayuso | 120 | 100.00% | 1 | 100.00% |
Total | 120 | 100.00% | 1 | 100.00% |