summaryrefslogtreecommitdiffstats
path: root/include/net/netns/unix.h
blob: 9859d134d5a89c3c65d8faf943eb611b99938f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Unix network namespace
 */
#ifndef __NETNS_UNIX_H__
#define __NETNS_UNIX_H__

#include <linux/spinlock.h>

struct unix_table {
	spinlock_t		*locks;
	struct hlist_head	*buckets;
};

struct ctl_table_header;
struct netns_unix {
	struct unix_table	table;
	int			sysctl_max_dgram_qlen;
	struct ctl_table_header	*ctl;
};

#endif /* __NETNS_UNIX_H__ */