Lines Matching refs:sock_net
48 return inet6_ehashfn(sock_net(sk), in sk_ehashfn()
52 return inet_ehashfn(sock_net(sk), in sk_ehashfn()
106 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port()
133 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port()
151 if (net_eq(ib_net(tb), sock_net(sk)) && in __inet_inherit_port()
157 sock_net(sk), head, port); in __inet_inherit_port()
178 if (net_eq(sock_net(sk), net) && inet->inet_num == hnum && in compute_score()
344 struct net *net = sock_net(sk); in __inet_check_established()
383 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_check_established()
441 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in inet_ehash_nolisten()
466 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_hash()
498 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
513 struct net *net = sock_net(sk); in __inet_hash_connect()