3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-01 07:42:18 +00:00
Brooklyn/include/net/netns/unix.h

23 lines
392 B
C
Raw Normal View History

2022-04-02 13:17:33 +00:00
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Unix network namespace
*/
#ifndef __NETNS_UNIX_H__
#define __NETNS_UNIX_H__
2022-09-13 18:14:27 +00:00
#include <linux/spinlock.h>
struct unix_table {
spinlock_t *locks;
struct hlist_head *buckets;
};
2022-04-02 13:17:33 +00:00
struct ctl_table_header;
struct netns_unix {
2022-09-13 18:14:27 +00:00
struct unix_table table;
2022-04-02 13:17:33 +00:00
int sysctl_max_dgram_qlen;
struct ctl_table_header *ctl;
};
#endif /* __NETNS_UNIX_H__ */