From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- include/arch/x86_64/linux/tipc_sockets_diag.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/arch/x86_64/linux/tipc_sockets_diag.h (limited to 'include/arch/x86_64/linux/tipc_sockets_diag.h') diff --git a/include/arch/x86_64/linux/tipc_sockets_diag.h b/include/arch/x86_64/linux/tipc_sockets_diag.h new file mode 100644 index 00000000..ba81e482 --- /dev/null +++ b/include/arch/x86_64/linux/tipc_sockets_diag.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* AF_TIPC sock_diag interface for querying open sockets */ + +#ifndef __TIPC_SOCKETS_DIAG_H__ +#define __TIPC_SOCKETS_DIAG_H__ + +#include +#include + +/* Request */ +struct tipc_sock_diag_req { + __u8 sdiag_family; /* must be AF_TIPC */ + __u8 sdiag_protocol; /* must be 0 */ + __u16 pad; /* must be 0 */ + __u32 tidiag_states; /* query*/ +}; +#endif /* __TIPC_SOCKETS_DIAG_H__ */ -- cgit v1.2.3