]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - net/sunrpc/netns.h
Merge tag 'drm-fixes-for-v4.9-rc5' of git://people.freedesktop.org/~airlied/linux
[mirror_ubuntu-bionic-kernel.git] / net / sunrpc / netns.h
CommitLineData
2f72c9b7
PE
1#ifndef __SUNRPC_NETNS_H__
2#define __SUNRPC_NETNS_H__
3
4#include <net/net_namespace.h>
5#include <net/netns/generic.h>
6
90d51b02
PE
7struct cache_detail;
8
2f72c9b7 9struct sunrpc_net {
4f42d0d5 10 struct proc_dir_entry *proc_net_rpc;
90d51b02 11 struct cache_detail *ip_map_cache;
73393232 12 struct cache_detail *unix_gid_cache;
a1db410d
SK
13 struct cache_detail *rsc_cache;
14 struct cache_detail *rsi_cache;
90c4e829
SK
15
16 struct super_block *pipefs_sb;
4b9a445e 17 struct rpc_pipe *gssd_dummy;
c21a588f 18 struct mutex pipefs_sb_lock;
70abc49b
SK
19
20 struct list_head all_clients;
21 spinlock_t rpc_client_lock;
dff02d49
SK
22
23 struct rpc_clnt *rpcb_local_clnt;
24 struct rpc_clnt *rpcb_local_clnt4;
25 spinlock_t rpcb_clnt_lock;
26 unsigned int rpcb_users;
786615bc 27 unsigned int rpcb_is_af_local : 1;
1d658336
SS
28
29 struct mutex gssp_lock;
30 struct rpc_clnt *gssp_clnt;
030d794b 31 int use_gss_proxy;
2aed8b47
TM
32 int pipe_version;
33 atomic_t pipe_users;
030d794b 34 struct proc_dir_entry *use_gssp_proc;
2f72c9b7
PE
35};
36
37extern int sunrpc_net_id;
38
90d51b02
PE
39int ip_map_cache_create(struct net *);
40void ip_map_cache_destroy(struct net *);
41
2f72c9b7 42#endif