tipc_sockets_diag.h 483 B

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