• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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   */
7  #ifndef _UAPI__CONNECTOR_H
8  #define _UAPI__CONNECTOR_H
9  #include <linux/types.h>
10  #define CN_IDX_PROC 0x1
11  #define CN_VAL_PROC 0x1
12  #define CN_IDX_CIFS 0x2
13  #define CN_VAL_CIFS 0x1
14  #define CN_W1_IDX 0x3
15  #define CN_W1_VAL 0x1
16  #define CN_IDX_V86D 0x4
17  #define CN_VAL_V86D_UVESAFB 0x1
18  #define CN_IDX_BB 0x5
19  #define CN_DST_IDX 0x6
20  #define CN_DST_VAL 0x1
21  #define CN_IDX_DM 0x7
22  #define CN_VAL_DM_USERSPACE_LOG 0x1
23  #define CN_IDX_DRBD 0x8
24  #define CN_VAL_DRBD 0x1
25  #define CN_KVP_IDX 0x9
26  #define CN_KVP_VAL 0x1
27  #define CN_VSS_IDX 0xA
28  #define CN_VSS_VAL 0x1
29  #define CN_NETLINK_USERS 11
30  #define CONNECTOR_MAX_MSG_SIZE 16384
31  struct cb_id {
32    __u32 idx;
33    __u32 val;
34  };
35  struct cn_msg {
36    struct cb_id id;
37    __u32 seq;
38    __u32 ack;
39    __u16 len;
40    __u16 flags;
41    __u8 data[];
42  };
43  #endif
44