Lines Matching refs:sock_net
52 return inet6_ehashfn(sock_net(sk), in sk_ehashfn()
56 return inet_ehashfn(sock_net(sk), in sk_ehashfn()
108 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port()
134 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port()
152 if (net_eq(ib_net(tb), sock_net(sk)) && in __inet_inherit_port()
158 sock_net(sk), head, port); in __inet_inherit_port()
179 hash = ipv6_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk()
184 hash = ipv4_portaddr_hash(sock_net(sk), in inet_lhash2_bucket_sk()
233 if (net_eq(sock_net(sk), net) && inet->inet_num == hnum && in compute_score()
448 struct net *net = sock_net(sk); in __inet_check_established()
490 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_check_established()
548 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in inet_ehash_nolisten()
608 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_hash()
658 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
673 struct net *net = sock_net(sk); in __inet_hash_connect()