2012-01-31 12:07:57 +01:00
|
|
|
#ifndef __LOCKD_NETNS_H__
|
|
|
|
#define __LOCKD_NETNS_H__
|
|
|
|
|
2012-07-25 14:56:50 +02:00
|
|
|
#include <linux/fs.h>
|
2012-01-31 12:07:57 +01:00
|
|
|
#include <net/netns/generic.h>
|
|
|
|
|
|
|
|
struct lockd_net {
|
|
|
|
unsigned int nlmsvc_users;
|
2012-07-25 14:56:11 +02:00
|
|
|
unsigned long next_gc;
|
2012-07-25 14:56:19 +02:00
|
|
|
unsigned long nrhosts;
|
2012-07-25 14:56:43 +02:00
|
|
|
|
|
|
|
struct delayed_work grace_period_end;
|
2012-07-25 14:56:50 +02:00
|
|
|
struct lock_manager lockd_manager;
|
2012-09-18 11:37:12 +02:00
|
|
|
|
2015-09-23 14:49:29 +02:00
|
|
|
struct list_head nsm_handles;
|
2012-01-31 12:07:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern int lockd_net_id;
|
|
|
|
|
|
|
|
#endif
|