• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI__VM_SOCKETS_DIAG_H__
7 #define _UAPI__VM_SOCKETS_DIAG_H__
8 #include <linux/types.h>
9 struct vsock_diag_req {
10 	__u8	sdiag_family;
11 	__u8	sdiag_protocol;
12 	__u16	pad;
13 	__u32	vdiag_states;
14 	__u32	vdiag_ino;
15 	__u32	vdiag_show;
16 	__u32	vdiag_cookie[2];
17 };
18 struct vsock_diag_msg {
19 	__u8	vdiag_family;
20 	__u8	vdiag_type;
21 	__u8	vdiag_state;
22 	__u8	vdiag_shutdown;
23 	__u32   vdiag_src_cid;
24 	__u32   vdiag_src_port;
25 	__u32   vdiag_dst_cid;
26 	__u32   vdiag_dst_port;
27 	__u32	vdiag_ino;
28 	__u32	vdiag_cookie[2];
29 };
30 #endif
31