Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 7 | #ifndef _UAPI__VM_SOCKETS_DIAG_H__ |
| 8 | #define _UAPI__VM_SOCKETS_DIAG_H__ |
| 9 | #include <linux/types.h> |
| 10 | struct vsock_diag_req { |
| 11 | __u8 sdiag_family; |
| 12 | __u8 sdiag_protocol; |
| 13 | __u16 pad; |
| 14 | __u32 vdiag_states; |
| 15 | __u32 vdiag_ino; |
| 16 | __u32 vdiag_show; |
| 17 | __u32 vdiag_cookie[2]; |
| 18 | }; |
| 19 | struct vsock_diag_msg { |
| 20 | __u8 vdiag_family; |
| 21 | __u8 vdiag_type; |
| 22 | __u8 vdiag_state; |
| 23 | __u8 vdiag_shutdown; |
| 24 | __u32 vdiag_src_cid; |
| 25 | __u32 vdiag_src_port; |
| 26 | __u32 vdiag_dst_cid; |
| 27 | __u32 vdiag_dst_port; |
| 28 | __u32 vdiag_ino; |
| 29 | __u32 vdiag_cookie[2]; |
| 30 | }; |
| 31 | #endif |