Stanislav Kinsbursky | a9c5d73 | 2012-01-31 15:07:57 +0400 | [diff] [blame] | 1 | #ifndef __LOCKD_NETNS_H__ |
| 2 | #define __LOCKD_NETNS_H__ |
| 3 | |
| 4 | #include <net/netns/generic.h> |
| 5 | |
| 6 | struct lockd_net { |
| 7 | unsigned int nlmsvc_users; |
Stanislav Kinsbursky | 3cf7fb0 | 2012-07-25 16:56:11 +0400 | [diff] [blame] | 8 | unsigned long next_gc; |
Stanislav Kinsbursky | caa4e76 | 2012-07-25 16:56:19 +0400 | [diff] [blame] | 9 | unsigned long nrhosts; |
Stanislav Kinsbursky | 66547b0 | 2012-07-25 16:56:43 +0400 | [diff] [blame^] | 10 | |
| 11 | struct delayed_work grace_period_end; |
Stanislav Kinsbursky | a9c5d73 | 2012-01-31 15:07:57 +0400 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | extern int lockd_net_id; |
| 15 | |
| 16 | #endif |