Searched defs:cookie (Results 1 - 7 of 7) sorted by relevance

/systemd/src/bus-proxyd/
H A Ddriver.c614 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/libsystemd/sd-bus/
H A Dbus-protocol.h41 "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 Dbus-control.c1047 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 Dbus-internal.h41 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 Dkdbus.h464 * 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 Dsd-bus.c59 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 Dbus-message.c412 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...]

Completed in 3389 milliseconds