• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI__CONNECTOR_H
20 #define _UAPI__CONNECTOR_H
21 #include <linux/types.h>
22 #define CN_IDX_PROC 0x1
23 #define CN_VAL_PROC 0x1
24 #define CN_IDX_CIFS 0x2
25 #define CN_VAL_CIFS 0x1
26 #define CN_W1_IDX 0x3
27 #define CN_W1_VAL 0x1
28 #define CN_IDX_V86D 0x4
29 #define CN_VAL_V86D_UVESAFB 0x1
30 #define CN_IDX_BB 0x5
31 #define CN_DST_IDX 0x6
32 #define CN_DST_VAL 0x1
33 #define CN_IDX_DM 0x7
34 #define CN_VAL_DM_USERSPACE_LOG 0x1
35 #define CN_IDX_DRBD 0x8
36 #define CN_VAL_DRBD 0x1
37 #define CN_KVP_IDX 0x9
38 #define CN_KVP_VAL 0x1
39 #define CN_VSS_IDX 0xA
40 #define CN_VSS_VAL 0x1
41 #define CN_NETLINK_USERS 11
42 #define CONNECTOR_MAX_MSG_SIZE 16384
43 struct cb_id {
44   __u32 idx;
45   __u32 val;
46 };
47 struct cn_msg {
48   struct cb_id id;
49   __u32 seq;
50   __u32 ack;
51   __u16 len;
52   __u16 flags;
53   __u8 data[];
54 };
55 #endif
56