blob: 7678cf2f0dcc73f756a9fadebd570a6593191295 [file] [log] [blame]
GhantaKrishnamurthy MohanKrishnac30b70d2018-03-21 14:37:44 +01001/* 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 */
11struct 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__ */