Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __LOCKD_NETNS_H__
0003 #define __LOCKD_NETNS_H__
0004 
0005 #include <linux/fs.h>
0006 #include <net/netns/generic.h>
0007 
0008 struct lockd_net {
0009     unsigned int nlmsvc_users;
0010     unsigned long next_gc;
0011     unsigned long nrhosts;
0012 
0013     struct delayed_work grace_period_end;
0014     struct lock_manager lockd_manager;
0015 
0016     struct list_head nsm_handles;
0017 };
0018 
0019 extern unsigned int lockd_net_id;
0020 
0021 #endif