https://github.com/torvalds/linux
Raw File
Tip revision: 4f5cafb5cb8471e54afdc9054d973535614f7675 authored by Linus Torvalds on 13 October 2019, 23:37:36 UTC
Linux 5.4-rc3
Tip revision: 4f5cafb
netns.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LOCKD_NETNS_H__
#define __LOCKD_NETNS_H__

#include <linux/fs.h>
#include <net/netns/generic.h>

struct lockd_net {
	unsigned int nlmsvc_users;
	unsigned long next_gc;
	unsigned long nrhosts;

	struct delayed_work grace_period_end;
	struct lock_manager lockd_manager;

	struct list_head nsm_handles;
};

extern unsigned int lockd_net_id;

#endif
back to top