2026-01-21 18:59:54 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
/*
|
|
|
|
|
* Unix network namespace
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __NETNS_UNIX_H__
|
|
|
|
|
#define __NETNS_UNIX_H__
|
|
|
|
|
|
2026-01-29 22:25:33 +08:00
|
|
|
#include <linux/spinlock.h>
|
|
|
|
|
|
|
|
|
|
struct unix_table {
|
|
|
|
|
spinlock_t *locks;
|
|
|
|
|
struct hlist_head *buckets;
|
|
|
|
|
};
|
|
|
|
|
|
2026-01-21 18:59:54 +08:00
|
|
|
struct ctl_table_header;
|
|
|
|
|
struct netns_unix {
|
2026-01-29 22:25:33 +08:00
|
|
|
struct unix_table table;
|
2026-01-21 18:59:54 +08:00
|
|
|
int sysctl_max_dgram_qlen;
|
|
|
|
|
struct ctl_table_header *ctl;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* __NETNS_UNIX_H__ */
|