netns.h 551 B

12345678910111213141516171819202122232425262728
  1. #ifndef __NFS_NETNS_H__
  2. #define __NFS_NETNS_H__
  3. #include <net/net_namespace.h>
  4. #include <net/netns/generic.h>
  5. struct bl_dev_msg {
  6. int32_t status;
  7. uint32_t major, minor;
  8. };
  9. struct nfs_net {
  10. struct cache_detail *nfs_dns_resolve;
  11. struct rpc_pipe *bl_device_pipe;
  12. struct bl_dev_msg bl_mount_reply;
  13. wait_queue_head_t bl_wq;
  14. struct list_head nfs_client_list;
  15. struct list_head nfs_volume_list;
  16. #ifdef CONFIG_NFS_V4
  17. struct idr cb_ident_idr; /* Protected by nfs_client_lock */
  18. #endif
  19. spinlock_t nfs_client_lock;
  20. };
  21. extern int nfs_net_id;
  22. #endif