Searched defs:sender (Results 1 - 10 of 10) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-proxy.c34 const char *sender; member in struct:__anon143
46 if (!streq_ptr(match->sender, name))
87 r = sd_bus_get_unique_name(a, &match.sender);
H A Dbus-track.c41 "sender='org.freedesktop.DBus'," \
271 const char *sender; local
276 sender = sd_bus_message_get_sender(m);
277 if (!sender)
280 return sd_bus_track_add_name(track, sender);
284 const char *sender; local
289 sender = sd_bus_message_get_sender(m);
290 if (!sender)
293 return sd_bus_track_remove_name(track, sender);
H A Dbus-control.c1229 const char *sender = NULL; local
1263 sender = c->value_str;
1264 sender_length = strlen(sender);
1410 if (sender) {
1413 memcpy(item->str, sender, sender_length + 1);
H A Dbus-message.h79 const char *sender; member in struct:sd_bus_message
241 int bus_message_append_sender(sd_bus_message *m, const char *sender);
H A Dbus-message.c208 m->sender = adjust_pointer(m->sender, op, old_size, m->header);
737 if (call->sender) {
738 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, call->sender, &t->destination);
853 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus.Local";
862 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus";
1025 return m->sender;
5373 if (m->sender)
5379 r = message_peek_field_string(m, service_name_is_valid, &ri, item_size, &m->sender);
5381 if (r >= 0 && m->sender[
5925 bus_message_append_sender(sd_bus_message *m, const char *sender) argument
[all...]
/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-socket.c259 union sockaddr_union sender; local
264 .msg_name = &sender,
265 .msg_namelen = sizeof(sender),
287 if (sender.nl.nl_pid != 0) {
289 log_debug("rtnl: ignoring message from portid %"PRIu32, sender.nl.nl_pid);
/systemd/src/libudev/
H A Dlibudev-monitor.c83 /* total length of header structure known to the sender */
387 int udev_monitor_allow_unicast_sender(struct udev_monitor *udev_monitor, struct udev_monitor *sender) argument
389 udev_monitor->snl_trusted_sender.nl.nl_pid = sender->snl.nl.nl_pid;
420 /* enable receiving of sender credentials */
625 /* unicast message, check if we trust the sender */
641 log_debug("no sender credentials received, message ignored");
647 log_debug("sender uid="UID_FMT", message ignored", cred->uid);
/systemd/src/login/
H A Dlogind-session.c1127 bool session_is_controller(Session *s, const char *sender) { argument
1130 return streq_ptr(s->controller, sender);
1166 int session_set_controller(Session *s, const char *sender, bool force) { argument
1171 assert(sender);
1173 if (session_is_controller(s, sender))
1178 name = strdup(sender);
/systemd/src/resolve/
H A Dresolved-dns-packet.h87 union in_addr_union sender, destination; member in struct:DnsPacket
211 return in_addr_is_localhost(p->family, &p->sender) == 0;
/systemd/src/shared/
H A Dbus-util.c102 "sender='org.freedesktop.DBus',"
277 const char *sender, **k, **v; local
279 sender = sd_bus_message_get_sender(call);
280 if (!sender)
296 "system-bus-name", 1, "name", "s", sender,
418 const char *sender, **k, **v; local
490 sender = sd_bus_message_get_sender(call);
491 if (!sender)
517 "system-bus-name", 1, "name", "s", sender,
1946 /* When we are a bus client we match by sender
2302 char *sender, *external; local
[all...]

Completed in 59 milliseconds