Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Unix network namespace
0004  */
0005 #ifndef __NETNS_UNIX_H__
0006 #define __NETNS_UNIX_H__
0007 
0008 #include <linux/spinlock.h>
0009 
0010 struct unix_table {
0011     spinlock_t      *locks;
0012     struct hlist_head   *buckets;
0013 };
0014 
0015 struct ctl_table_header;
0016 struct netns_unix {
0017     struct unix_table   table;
0018     int         sysctl_max_dgram_qlen;
0019     struct ctl_table_header *ctl;
0020 };
0021 
0022 #endif /* __NETNS_UNIX_H__ */