xref: /linux/include/uapi/linux/android/binder_netlink.h (revision 68e83f3472667aac18d577587102f4bf77d0bd06)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /*	Documentation/netlink/specs/binder.yaml */
4 /* YNL-GEN uapi header */
5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */
6 
7 #ifndef _UAPI_LINUX_ANDROID_BINDER_NETLINK_H
8 #define _UAPI_LINUX_ANDROID_BINDER_NETLINK_H
9 
10 #define BINDER_FAMILY_NAME	"binder"
11 #define BINDER_FAMILY_VERSION	1
12 
13 enum {
14 	BINDER_A_REPORT_ERROR = 1,
15 	BINDER_A_REPORT_CONTEXT,
16 	BINDER_A_REPORT_FROM_PID,
17 	BINDER_A_REPORT_FROM_TID,
18 	BINDER_A_REPORT_TO_PID,
19 	BINDER_A_REPORT_TO_TID,
20 	BINDER_A_REPORT_IS_REPLY,
21 	BINDER_A_REPORT_FLAGS,
22 	BINDER_A_REPORT_CODE,
23 	BINDER_A_REPORT_DATA_SIZE,
24 
25 	__BINDER_A_REPORT_MAX,
26 	BINDER_A_REPORT_MAX = (__BINDER_A_REPORT_MAX - 1)
27 };
28 
29 enum {
30 	BINDER_CMD_REPORT = 1,
31 
32 	__BINDER_CMD_MAX,
33 	BINDER_CMD_MAX = (__BINDER_CMD_MAX - 1)
34 };
35 
36 #define BINDER_MCGRP_REPORT	"report"
37 
38 #endif /* _UAPI_LINUX_ANDROID_BINDER_NETLINK_H */
39