| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| 2 | /* AF_TIPC sock_diag interface for querying open sockets */ |
| 3 | |
| 4 | #ifndef __TIPC_SOCKETS_DIAG_H__ |
| 5 | #define __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 /* __TIPC_SOCKETS_DIAG_H__ */ |