blob: b9c478b375834da58eff4881842360977b861d7d [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define CN_VAL_PROC 0x1
25#define CN_IDX_CIFS 0x2
26#define CN_VAL_CIFS 0x1
27#define CN_W1_IDX 0x3
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define CN_W1_VAL 0x1
30#define CN_IDX_V86D 0x4
31#define CN_VAL_V86D_UVESAFB 0x1
32#define CN_IDX_BB 0x5
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define CN_DST_IDX 0x6
35#define CN_DST_VAL 0x1
36#define CN_IDX_DM 0x7
37#define CN_VAL_DM_USERSPACE_LOG 0x1
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define CN_IDX_DRBD 0x8
40#define CN_VAL_DRBD 0x1
41#define CN_KVP_IDX 0x9
42#define CN_KVP_VAL 0x1
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define CN_VSS_IDX 0xA
45#define CN_VSS_VAL 0x1
46#define CN_NETLINK_USERS 11
47#define CONNECTOR_MAX_MSG_SIZE 16384
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49struct cb_id {
Tao Baod7db5942015-01-28 10:07:51 -080050 __u32 idx;
51 __u32 val;
Ben Cheng655a7c02013-10-16 16:09:24 -070052};
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54struct cn_msg {
Tao Baod7db5942015-01-28 10:07:51 -080055 struct cb_id id;
56 __u32 seq;
57 __u32 ack;
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __u16 len;
60 __u16 flags;
61 __u8 data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -070062};
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#endif