Lines Matching refs:sock_net
102 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in raw_hash_sk()
115 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in raw_unhash_sk()
127 if (net_eq(sock_net(sk), net) && inet->inet_num == num && in __raw_v4_lookup()
350 struct net *net = sock_net(sk); in raw_send_hdrinc()
502 struct net *net = sock_net(sk); in raw_sendmsg()
607 if (!ipc.oif || netif_index_is_l3_master(sock_net(sk), ipc.oif)) in raw_sendmsg()
621 ipc.oif == l3mdev_master_ifindex_by_index(sock_net(sk), in raw_sendmsg()
728 tb_id = l3mdev_fib_table_by_index(sock_net(sk), in raw_bind()
731 chk_addr_ret = inet_addr_type_table(sock_net(sk), addr->sin_addr.s_addr, in raw_bind()
979 if (sock_net(sk) == seq_file_net(seq)) in raw_get_first()
996 } while (sk && sock_net(sk) != seq_file_net(seq)); in raw_get_next()