blob: 4eee248ba96e441eb54e460130d3dde2f20d6ca1 [file] [log] [blame]
Stanislav Kinsburskya9c5d732012-01-31 15:07:57 +04001#ifndef __LOCKD_NETNS_H__
2#define __LOCKD_NETNS_H__
3
Stanislav Kinsbursky08d44a32012-07-25 16:56:50 +04004#include <linux/fs.h>
Stanislav Kinsburskya9c5d732012-01-31 15:07:57 +04005#include <net/netns/generic.h>
6
7struct lockd_net {
8 unsigned int nlmsvc_users;
Stanislav Kinsbursky3cf7fb02012-07-25 16:56:11 +04009 unsigned long next_gc;
Stanislav Kinsburskycaa4e762012-07-25 16:56:19 +040010 unsigned long nrhosts;
Stanislav Kinsbursky66547b02012-07-25 16:56:43 +040011
12 struct delayed_work grace_period_end;
Stanislav Kinsbursky08d44a32012-07-25 16:56:50 +040013 struct lock_manager lockd_manager;
Stanislav Kinsburskydb9c4552012-07-25 16:57:13 +040014 struct list_head grace_list;
Stanislav Kinsburskya9c5d732012-01-31 15:07:57 +040015};
16
17extern int lockd_net_id;
18
19#endif