SUNRPC: cache creation and destruction routines introduced
[deliverable/linux.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;
90c4e829
SK
12
13 struct super_block *pipefs_sb;
c21a588f 14 struct mutex pipefs_sb_lock;
70abc49b
SK
15
16 struct list_head all_clients;
17 spinlock_t rpc_client_lock;
dff02d49
SK
18
19 struct rpc_clnt *rpcb_local_clnt;
20 struct rpc_clnt *rpcb_local_clnt4;
21 spinlock_t rpcb_clnt_lock;
22 unsigned int rpcb_users;
2f72c9b7
PE
23};
24
25extern int sunrpc_net_id;
26
90d51b02
PE
27int ip_map_cache_create(struct net *);
28void ip_map_cache_destroy(struct net *);
29
2f72c9b7 30#endif
This page took 0.099094 seconds and 5 git commands to generate.