netns.h 395 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __LOCKD_NETNS_H__
  3. #define __LOCKD_NETNS_H__
  4. #include <linux/fs.h>
  5. #include <net/netns/generic.h>
  6. struct lockd_net {
  7. unsigned int nlmsvc_users;
  8. unsigned long next_gc;
  9. unsigned long nrhosts;
  10. struct delayed_work grace_period_end;
  11. struct lock_manager lockd_manager;
  12. struct list_head nsm_handles;
  13. };
  14. extern unsigned int lockd_net_id;
  15. #endif