Lines Matching defs:header
207 bloom_add_pair(data, m->bus->bloom_size, m->bus->bloom_n_hash, "message-type", bus_message_type_to_string(m->header->type));
307 /* Add in fixed header, fields header and payload */
317 /* Add in well-known destination header */
337 ((m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED) ? 0 : KDBUS_MSG_EXPECT_REPLY) |
338 ((m->header->flags & BUS_MESSAGE_NO_AUTO_START) ? KDBUS_MSG_NO_AUTO_START : 0) |
339 ((m->header->type == SD_BUS_MESSAGE_SIGNAL) ? KDBUS_MSG_SIGNAL : 0);
343 m->kdbus->cookie = m->header->dbus2.cookie;
346 if (m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)
361 append_payload_vec(&d, m->header, BUS_MESSAGE_BODY_BEGIN(m));
391 if (m->header->type == SD_BUS_MESSAGE_SIGNAL) {
445 struct bus_header *header = NULL;
465 if (!header) {
466 header = (struct bus_header*)((uint8_t*) k + d->vec.offset);
478 if (!header) /* memfd cannot be first part */
509 if (!header)
517 if (header->version != 2 ||
518 header->endian != BUS_NATIVE_ENDIAN)
523 header, header_size,
824 if ((uint64_t) m->header->dbus2.cookie != k->cookie) {
830 if (!(m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED) != !!(k->flags & KDBUS_MSG_EXPECT_REPLY)) {
836 if ((m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED) && m->reply_cookie != k->cookie_reply) {
842 if (!(m->header->flags & BUS_MESSAGE_NO_AUTO_START) != !(k->flags & KDBUS_MSG_NO_AUTO_START)) {
847 /* Override information from the user header with data from the kernel */
1156 if (m->header->type == SD_BUS_MESSAGE_METHOD_CALL)
1167 if (m->header->type == SD_BUS_MESSAGE_METHOD_CALL)