Lines Matching refs:sock_net
47 return inet6_ehashfn(sock_net(sk), in sk_ehashfn()
51 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()
138 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 if (net_eq(sock_net(sk), net) && inet->inet_num == hnum && in compute_score()
343 struct net *net = sock_net(sk); in __inet_check_established()
385 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_check_established()
432 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_hash_nolisten()
450 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_hash()
483 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
498 struct net *net = sock_net(sk); in __inet_hash_connect()