Lines Matching refs:sock_net
51 return inet6_ehashfn(sock_net(sk), in sk_ehashfn()
55 return inet_ehashfn(sock_net(sk), in sk_ehashfn()
109 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port()
135 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port()
156 if (net_eq(ib_net(tb), sock_net(sk)) && in __inet_inherit_port()
162 sock_net(sk), head, port, in __inet_inherit_port()
185 hash = ipv6_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk()
190 hash = ipv4_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk()
238 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score()
450 struct net *net = sock_net(sk); in __inet_check_established()
492 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_check_established()
526 struct net *net = sock_net(sk); in inet_ehash_lookup_by_sk()
599 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in inet_ehash_nolisten()
660 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_hash()
708 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
734 struct net *net = sock_net(sk); in __inet_hash_connect()