6f1a33df061d0e8d335663877a44c20bc896a09b
[linux-2.6-microblaze.git] / include / net / netns / unix.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Unix network namespace
4  */
5 #ifndef __NETNS_UNIX_H__
6 #define __NETNS_UNIX_H__
7
8 struct unix_table {
9         spinlock_t              *locks;
10         struct hlist_head       *buckets;
11 };
12
13 struct ctl_table_header;
14 struct netns_unix {
15         struct unix_table       table;
16         int                     sysctl_max_dgram_qlen;
17         struct ctl_table_header *ctl;
18 };
19
20 #endif /* __NETNS_UNIX_H__ */