SUNRPC: create unix gid cache per network namespace
[deliverable/linux.git] / net / sunrpc / netns.h
1 #ifndef __SUNRPC_NETNS_H__
2 #define __SUNRPC_NETNS_H__
3
4 #include <net/net_namespace.h>
5 #include <net/netns/generic.h>
6
7 struct cache_detail;
8
9 struct sunrpc_net {
10 struct proc_dir_entry *proc_net_rpc;
11 struct cache_detail *ip_map_cache;
12 struct cache_detail *unix_gid_cache;
13
14 struct super_block *pipefs_sb;
15 struct mutex pipefs_sb_lock;
16
17 struct list_head all_clients;
18 spinlock_t rpc_client_lock;
19
20 struct rpc_clnt *rpcb_local_clnt;
21 struct rpc_clnt *rpcb_local_clnt4;
22 spinlock_t rpcb_clnt_lock;
23 unsigned int rpcb_users;
24 };
25
26 extern int sunrpc_net_id;
27
28 int ip_map_cache_create(struct net *);
29 void ip_map_cache_destroy(struct net *);
30
31 #endif
This page took 0.051167 seconds and 5 git commands to generate.