netns.h 386 B

123456789101112131415161718192021
  1. #ifndef __SUNRPC_NETNS_H__
  2. #define __SUNRPC_NETNS_H__
  3. #include <net/net_namespace.h>
  4. #include <net/netns/generic.h>
  5. struct cache_detail;
  6. struct sunrpc_net {
  7. struct proc_dir_entry *proc_net_rpc;
  8. struct cache_detail *ip_map_cache;
  9. struct super_block *pipefs_sb;
  10. };
  11. extern int sunrpc_net_id;
  12. int ip_map_cache_create(struct net *);
  13. void ip_map_cache_destroy(struct net *);
  14. #endif