Home
last modified time | relevance | path

Searched refs:bus_header (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-message.h90 struct bus_header *header;
159 sizeof(struct bus_header) + in BUS_MESSAGE_SIZE()
166 sizeof(struct bus_header) + in BUS_MESSAGE_BODY_BEGIN()
171 return (uint8_t*) m->header + sizeof(struct bus_header); in BUS_MESSAGE_FIELDS()
Dtest-bus-gvariant.c136 assert_cc(sizeof(struct bus_header) == 16); in TEST_RET()
155 …ew_from_data(G_VARIANT_TYPE("(yyyyuta{tv})"), m->header, sizeof(struct bus_header) + m->fields_siz… in TEST_RET()
Dbus-protocol.h10 struct _packed_ bus_header { struct
Dbus-message.c159 old_size = sizeof(struct bus_header) + m->fields_size; in message_extend_fields()
182 memcpy(np, m->header, sizeof(struct bus_header)); in message_extend_fields()
191 m->fields_size = new_size - sizeof(struct bus_header); in message_extend_fields()
207 m->header_offsets[m->n_header_offsets++] = new_size - sizeof(struct bus_header); in message_extend_fields()
430 struct bus_header *h; in bus_message_from_header()
439 if (header_accessible < sizeof(struct bus_header)) in bus_message_from_header()
496 if (m->fields_size < sizeof(struct bus_header)) in bus_message_from_header()
499 m->fields_size -= sizeof(struct bus_header); in bus_message_from_header()
500 m->body_size = message_size - (sizeof(struct bus_header) + ALIGN8(m->fields_size)); in bus_message_from_header()
509 … if (sizeof(struct bus_header) + ALIGN8(m->fields_size) + m->body_size != message_size) in bus_message_from_header()
[all …]
Dbus-socket.c1092 if (bus->rbuffer_size < sizeof(struct bus_header)) { in bus_socket_read_message_need()
1093 *need = sizeof(struct bus_header) + 8; in bus_socket_read_message_need()
1127 sum = (uint64_t) sizeof(struct bus_header) + (uint64_t) ALIGN_TO(b, 8) + (uint64_t) a; in bus_socket_read_message_need()