netns.h 353 B

1234567891011121314151617181920
  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. };
  10. extern int sunrpc_net_id;
  11. int ip_map_cache_create(struct net *);
  12. void ip_map_cache_destroy(struct net *);
  13. #endif