cpp-d1064d
[cross.git] / i686-linux-gnu-4.7 / usr / include / linux / tipc_sockets_diag.h
diff --git a/i686-linux-gnu-4.7/usr/include/linux/tipc_sockets_diag.h b/i686-linux-gnu-4.7/usr/include/linux/tipc_sockets_diag.h
new file mode 100644 (file)
index 0000000..21b766e
--- /dev/null
@@ -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 <linux/types.h>
+#include <linux/sock_diag.h>
+
+/* 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__ */