xref: /linux/include/uapi/linux/tipc_sockets_diag.h (revision c13aca79ff3c4af5fd31a5b2743a90eba6e36a26)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* AF_TIPC sock_diag interface for querying open sockets */
3 
4 #ifndef _UAPI__TIPC_SOCKETS_DIAG_H__
5 #define _UAPI__TIPC_SOCKETS_DIAG_H__
6 
7 #include <linux/types.h>
8 #include <linux/sock_diag.h>
9 
10 /* Request */
11 struct tipc_sock_diag_req {
12 	__u8	sdiag_family;	/* must be AF_TIPC */
13 	__u8	sdiag_protocol;	/* must be 0 */
14 	__u16	pad;		/* must be 0 */
15 	__u32	tidiag_states;	/* query*/
16 };
17 #endif /* _UAPI__TIPC_SOCKETS_DIAG_H__ */
18