Commit | Line | Data |
---|---|---|
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 |
7 | struct cache_detail; |
8 | ||
2f72c9b7 | 9 | struct sunrpc_net { |
4f42d0d5 | 10 | struct proc_dir_entry *proc_net_rpc; |
90d51b02 | 11 | struct cache_detail *ip_map_cache; |
2f72c9b7 PE |
12 | }; |
13 | ||
14 | extern int sunrpc_net_id; | |
15 | ||
90d51b02 PE |
16 | int ip_map_cache_create(struct net *); |
17 | void ip_map_cache_destroy(struct net *); | |
18 | ||
2f72c9b7 | 19 | #endif |