*/
#define KDBUS_MSG_MAX_PAYLOAD_VEC_SIZE 0x00800000 /* maximum size of message header and items */
-/*todo must be te same as used to create bus in struct kdbus_bus.bloom_size
- * maybe it should be placed in one common header file*/
-#define KDBUS_BLOOM_SIZE_BYTES 64
-
-
#define KDBUS_IOC_MAGIC 0x95
#define KDBUS_SRC_ID_KERNEL (0)
#define KDBUS_DST_ID_WELL_KNOWN_NAME (0)
__u64 type; \
}
+#define KDBUS_PART_HEADER_SIZE offsetof(struct kdbus_item, data)
+
/* Message sent from kernel to userspace, when the owner or starter of
* a well-known name changes */
struct kdbus_manager_msg_name_change {
KDBUS_NAME_QUEUE = 1 << 1,
KDBUS_NAME_ALLOW_REPLACEMENT = 1 << 2,
+ KDBUS_NAME_STARTER = 1 << 7,
+
/* kernel → userspace */
KDBUS_NAME_IN_QUEUE = 1 << 16,
};