netns.h 396 B

1234567891011121314151617181920212223
  1. #ifndef __LOCKD_NETNS_H__
  2. #define __LOCKD_NETNS_H__
  3. #include <linux/fs.h>
  4. #include <net/netns/generic.h>
  5. struct lockd_net {
  6. unsigned int nlmsvc_users;
  7. unsigned long next_gc;
  8. unsigned long nrhosts;
  9. struct delayed_work grace_period_end;
  10. struct lock_manager lockd_manager;
  11. spinlock_t nsm_clnt_lock;
  12. unsigned int nsm_users;
  13. struct rpc_clnt *nsm_clnt;
  14. };
  15. extern int lockd_net_id;
  16. #endif