netns.h 347 B

1234567891011121314151617181920
  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. struct list_head nsm_handles;
  12. };
  13. extern int lockd_net_id;
  14. #endif