summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/linux/vsockmon.h
blob: 8e2e9027a5fa1aecf16a1c4657b27c455e96296b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * This file is auto-generated. Modifications will be lost.
 *
 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
 * for more information.
 */
#ifndef _UAPI_VSOCKMON_H
#define _UAPI_VSOCKMON_H
#include <linux/virtio_vsock.h>
struct af_vsockmon_hdr {
  __le64 src_cid;
  __le64 dst_cid;
  __le32 src_port;
  __le32 dst_port;
  __le16 op;
  __le16 transport;
  __le16 len;
  __u8 reserved[2];
};
enum af_vsockmon_op {
  AF_VSOCK_OP_UNKNOWN = 0,
  AF_VSOCK_OP_CONNECT = 1,
  AF_VSOCK_OP_DISCONNECT = 2,
  AF_VSOCK_OP_CONTROL = 3,
  AF_VSOCK_OP_PAYLOAD = 4,
};
enum af_vsockmon_transport {
  AF_VSOCK_TRANSPORT_UNKNOWN = 0,
  AF_VSOCK_TRANSPORT_NO_INFO = 1,
  AF_VSOCK_TRANSPORT_VIRTIO = 2,
};
#endif