1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Unix network namespace 3 * Unix network namespace 4 */ 4 */ 5 #ifndef __NETNS_UNIX_H__ 5 #ifndef __NETNS_UNIX_H__ 6 #define __NETNS_UNIX_H__ 6 #define __NETNS_UNIX_H__ 7 7 8 #include <linux/spinlock.h> 8 #include <linux/spinlock.h> 9 9 10 struct unix_table { 10 struct unix_table { 11 spinlock_t *locks; 11 spinlock_t *locks; 12 struct hlist_head *buckets; 12 struct hlist_head *buckets; 13 }; 13 }; 14 14 15 struct ctl_table_header; 15 struct ctl_table_header; 16 struct netns_unix { 16 struct netns_unix { 17 struct unix_table table; 17 struct unix_table table; 18 int sysctl_max_dgr 18 int sysctl_max_dgram_qlen; 19 struct ctl_table_header *ctl; 19 struct ctl_table_header *ctl; 20 }; 20 }; 21 21 22 #endif /* __NETNS_UNIX_H__ */ 22 #endif /* __NETNS_UNIX_H__ */ 23 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.