/* Filled in by kernelspace */
_KDBUS_ITEM_ATTACH_BASE = 0x400,
KDBUS_ITEM_NAMES = 0x400,/* NUL separated string list with well-known names of source */
+ KDBUS_ITEM_STARTER_NAME, /* Only used in HELLO for starter connection */
KDBUS_ITEM_TIMESTAMP, /* .timestamp */
/* when appended to a message, the following items refer to the sender */
struct kdbus_cmd_name_info {
__u64 size;
__u64 flags; /* query flags */
- __u64 attach_flags; /* which meta data payload to attach */
__u64 id; /* either ID, or 0 and name follows */
__u64 offset; /* returned offset in the caller's buffer */
char name[0];
};
/* KDBUS_CMD_MONITOR */
+enum {
+ KDBUS_MONITOR_ENABLE = 1 << 0,
+};
+
struct kdbus_cmd_monitor {
__u64 id; /* We allow setting the monitor flag of other peers */
- unsigned int enable; /* A boolean to enable/disable monitoring */
- __u32 __pad;
+ __u64 flags;
};
enum {