Lines Matching refs:sk
43 static inline int inet6_sk_ehashfn(const struct sock *sk) in inet6_sk_ehashfn() argument
45 const struct inet_sock *inet = inet_sk(sk); in inet6_sk_ehashfn()
46 const struct ipv6_pinfo *np = inet6_sk(sk); in inet6_sk_ehashfn()
51 struct net *net = sock_net(sk); in inet6_sk_ehashfn()
56 extern void __inet6_hash(struct sock *sk);
86 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() local
88 if (sk) in __inet6_lookup()
89 return sk; in __inet6_lookup()
99 struct sock *sk; in __inet6_lookup_skb() local
101 if (unlikely(sk = skb_steal_sock(skb))) in __inet6_lookup_skb()
102 return sk; in __inet6_lookup_skb()