Lines Matching defs:sk
18 int (*twsk_unique)(struct sock *sk,
20 void (*twsk_destructor)(struct sock *sk);
23 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp)
25 if (sk->sk_prot->twsk_prot->twsk_unique != NULL)
26 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp);
30 static inline void twsk_destructor(struct sock *sk)
32 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL)
33 sk->sk_prot->twsk_prot->twsk_destructor(sk);