blob: 28a1d17be74ade0f5f120952d57cce83a540edad [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Ferris934ec942018-01-31 15:29:16 -08007#ifndef _UAPI__VM_SOCKETS_DIAG_H__
8#define _UAPI__VM_SOCKETS_DIAG_H__
9#include <linux/types.h>
10struct 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};
19struct 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