Blame view

net/sunrpc/netns.h 353 Bytes
2f72c9b73   Pavel Emelyanov   sunrpc: The per-n...
1
2
3
4
5
  #ifndef __SUNRPC_NETNS_H__
  #define __SUNRPC_NETNS_H__
  
  #include <net/net_namespace.h>
  #include <net/netns/generic.h>
90d51b02f   Pavel Emelyanov   sunrpc: Make the ...
6
  struct cache_detail;
2f72c9b73   Pavel Emelyanov   sunrpc: The per-n...
7
  struct sunrpc_net {
4f42d0d53   Pavel Emelyanov   sunrpc: Make the ...
8
  	struct proc_dir_entry *proc_net_rpc;
90d51b02f   Pavel Emelyanov   sunrpc: Make the ...
9
  	struct cache_detail *ip_map_cache;
2f72c9b73   Pavel Emelyanov   sunrpc: The per-n...
10
11
12
  };
  
  extern int sunrpc_net_id;
90d51b02f   Pavel Emelyanov   sunrpc: Make the ...
13
14
  int ip_map_cache_create(struct net *);
  void ip_map_cache_destroy(struct net *);
2f72c9b73   Pavel Emelyanov   sunrpc: The per-n...
15
  #endif