Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
a0a53c8b DL |
2 | /* |
3 | * Unix network namespace | |
4 | */ | |
5 | #ifndef __NETNS_UNIX_H__ | |
6 | #define __NETNS_UNIX_H__ | |
7 | ||
949d6b40 JK |
8 | #include <linux/spinlock.h> |
9 | ||
b6e81138 KI |
10 | struct unix_table { |
11 | spinlock_t *locks; | |
12 | struct hlist_head *buckets; | |
13 | }; | |
14 | ||
a0a53c8b DL |
15 | struct ctl_table_header; |
16 | struct netns_unix { | |
b6e81138 | 17 | struct unix_table table; |
a0a53c8b DL |
18 | int sysctl_max_dgram_qlen; |
19 | struct ctl_table_header *ctl; | |
20 | }; | |
21 | ||
22 | #endif /* __NETNS_UNIX_H__ */ |