• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI__CONNECTOR_H
7 #define _UAPI__CONNECTOR_H
8 #include <linux/types.h>
9 #define CN_IDX_PROC			0x1
10 #define CN_VAL_PROC			0x1
11 #define CN_IDX_CIFS			0x2
12 #define CN_VAL_CIFS                     0x1
13 #define CN_W1_IDX			0x3
14 #define CN_W1_VAL			0x1
15 #define CN_IDX_V86D			0x4
16 #define CN_VAL_V86D_UVESAFB		0x1
17 #define CN_IDX_BB			0x5
18 #define CN_DST_IDX			0x6
19 #define CN_DST_VAL			0x1
20 #define CN_IDX_DM			0x7
21 #define CN_VAL_DM_USERSPACE_LOG		0x1
22 #define CN_IDX_DRBD			0x8
23 #define CN_VAL_DRBD			0x1
24 #define CN_KVP_IDX			0x9
25 #define CN_KVP_VAL			0x1
26 #define CN_VSS_IDX			0xA
27 #define CN_VSS_VAL			0x1
28 #define CN_NETLINK_USERS		11
29 #define CONNECTOR_MAX_MSG_SIZE		16384
30 struct cb_id {
31 	__u32 idx;
32 	__u32 val;
33 };
34 struct cn_msg {
35 	struct cb_id id;
36 	__u32 seq;
37 	__u32 ack;
38 	__u16 len;
39 	__u16 flags;
40 	__u8 data[0];
41 };
42 #endif
43