/systemd/src/libsystemd/sd-bus/ |
H A D | bus-control.h | 26 int bus_add_match_internal(sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie); 27 int bus_remove_match_internal(sd_bus *bus, const char *match, uint64_t cookie); 29 int bus_add_match_internal_kernel(sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie); 30 int bus_remove_match_internal_kernel(sd_bus *bus, uint64_t cookie);
|
H A D | bus-protocol.h | 41 "cookie" instead, because we don't want to imply that the 42 cookie was in any way monotonically increasing. */ 50 uint64_t cookie; member in struct:bus_header::_packed_::_packed_
|
H A D | bus-control.c | 1047 uint64_t cookie, 1123 m->cookie = cookie; 1183 m->cookie = cookie; 1223 uint64_t cookie) { 1385 m->cookie = cookie; 1427 r = add_name_change_match(bus, cookie, name_change_arg[0], name_change_arg[1], name_change_arg[2]); 1468 uint64_t cookie) { 1046 add_name_change_match(sd_bus *bus, uint64_t cookie, const char *name, const char *old_owner, const char *new_owner) argument 1219 bus_add_match_internal_kernel( sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument 1463 bus_add_match_internal( sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument 1481 bus_remove_match_internal_kernel( sd_bus *bus, uint64_t cookie) argument 1527 bus_remove_match_internal( sd_bus *bus, const char *match, uint64_t cookie) argument [all...] |
H A D | bus-internal.h | 41 uint64_t cookie; member in struct:reply_callback 56 uint64_t cookie; member in struct:match_callback 227 uint64_t cookie; member in struct:sd_bus
|
H A D | bus-slot.c | 80 if (slot->reply_callback.cookie != 0) 81 ordered_hashmap_remove(slot->bus->reply_callbacks, &slot->reply_callback.cookie); 96 bus_remove_match_internal(slot->bus, slot->match_callback.match_string, slot->match_callback.cookie);
|
H A D | sd-bus.c | 59 log_debug("Got message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s", \ 1557 * destinations, avoid using the same cookie 1559 b->cookie = MAX(b->cookie, BUS_MESSAGE_COOKIE(m)); 1566 return bus_message_seal(m, ++b->cookie, timeout); 1632 log_debug("Sent message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s", 1736 static int bus_send_internal(sd_bus *bus, sd_bus_message *_m, uint64_t *cookie, bool hint_sync_call) { argument 1759 /* If the cookie number isn't kept, then we know that no reply 1761 if (!cookie && !m->sealed) 1816 if (cookie) 1822 sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie) argument 1826 sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie) argument 1986 uint64_t cookie; local [all...] |
H A D | kdbus.h | 464 * cookie identifies the message and the 465 * respective reply carries the cookie 500 * @cookie: Userspace-supplied cookie, for the connection 511 * cookie. The requesting connection can match its 522 __u64 cookie; member in struct:kdbus_msg 811 * @KDBUS_MATCH_REPLACE: If entries with the supplied cookie already 825 * @cookie: Userspace supplied cookie. When removing, the cookie 836 __u64 cookie; member in struct:kdbus_cmd_match [all...] |
H A D | bus-message.h | 168 return BUS_MESSAGE_BSWAP64(m, m->header->dbus2.cookie);
|
H A D | bus-message.c | 412 static int message_append_reply_cookie(sd_bus_message *m, uint64_t cookie) { argument 416 return message_append_field_uint64(m, BUS_MESSAGE_HEADER_REPLY_SERIAL, cookie); 419 if (cookie > 0xffffffffUL) 422 return message_append_field_uint32(m, BUS_MESSAGE_HEADER_REPLY_SERIAL, (uint32_t) cookie); 490 if (h->dbus2.cookie == 0) 869 uint64_t cookie, 885 t->reply_cookie = cookie; 953 _public_ int sd_bus_message_get_cookie(sd_bus_message *m, uint64_t *cookie) { argument 957 assert_return(cookie, -EINVAL); 963 *cookie 867 bus_message_new_synthetic_error( sd_bus *bus, uint64_t cookie, const sd_bus_error *e, sd_bus_message **m) argument 967 sd_bus_message_get_reply_cookie(sd_bus_message *m, uint64_t *cookie) argument 2932 bus_message_seal(sd_bus_message *m, uint64_t cookie, usec_t timeout) argument [all...] |
H A D | bus-kernel.c | 343 m->kdbus->cookie = m->header->dbus2.cookie; 823 /* Refuse messages if kdbus and dbus1 cookie doesn't match up */ 824 if ((uint64_t) m->header->dbus2.cookie != k->cookie) { 835 /* Refuse reply messages where the reply cookie doesn't match up */
|
/systemd/src/bus-proxyd/ |
H A D | driver.c | 614 uint64_t cookie; local 636 r = sd_bus_message_get_cookie(m, &cookie); 649 r = bus_message_seal(msg, cookie, BUS_DEFAULT_TIMEOUT);
|
/systemd/src/systemd/ |
H A D | sd-bus.h | 169 int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie); 170 int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie); 229 int sd_bus_message_get_cookie(sd_bus_message *m, uint64_t *cookie); 230 int sd_bus_message_get_reply_cookie(sd_bus_message *m, uint64_t *cookie);
|
/systemd/src/shared/ |
H A D | bus-util.c | 2241 * cookie). If both @sender_id and @external_id are given, @b can be passed as 2262 xsprintf(external_buf, "%"PRIu64, ++b->cookie);
|