unix.h 392 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Unix network namespace
  4. */
  5. #ifndef __NETNS_UNIX_H__
  6. #define __NETNS_UNIX_H__
  7. #include <linux/spinlock.h>
  8. struct unix_table {
  9. spinlock_t *locks;
  10. struct hlist_head *buckets;
  11. };
  12. struct ctl_table_header;
  13. struct netns_unix {
  14. struct unix_table table;
  15. int sysctl_max_dgram_qlen;
  16. struct ctl_table_header *ctl;
  17. };
  18. #endif /* __NETNS_UNIX_H__ */