Searched defs:destination (Results 1 - 19 of 19) sorted by relevance

/systemd/src/shared/
H A Dfirewall-util.h36 const union in_addr_union *destination,
46 const union in_addr_union *destination,
62 const union in_addr_union *destination,
74 const union in_addr_union *destination,
55 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
67 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
H A Dfirewall-util.c47 const union in_addr_union *destination,
73 if (destination) {
74 entry->ip.dst = destination->in;
88 const union in_addr_union *destination,
116 r = entry_fill_basics(entry, protocol, NULL, source, source_prefixlen, out_interface, destination, destination_prefixlen);
163 const union in_addr_union *destination,
221 r = entry_fill_basics(entry, protocol, in_interface, source, source_prefixlen, NULL, destination, destination_prefixlen);
301 if (!destination) {
332 if (!destination) {
40 entry_fill_basics( struct ipt_entry *entry, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
81 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
156 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
H A Dbus-util.c1209 const char *destination,
1219 assert(destination);
1225 destination,
1207 bus_map_all_properties( sd_bus *bus, const char *destination, const char *path, const struct bus_properties_map *map, void *userdata) argument
/systemd/src/nspawn/
H A Dnspawn-mount.h44 char *destination; member in struct:CustomMount
H A Dnspawn-mount.c69 free(m->destination);
87 r = path_compare(x->destination, y->destination);
100 _cleanup_free_ char *source = NULL, *destination = NULL, *opts = NULL; local
108 r = extract_many_words(&p, ":", EXTRACT_DONT_COALESCE_SEPARATORS, &source, &destination, NULL);
115 destination = strdup(source);
116 if (!destination)
129 if (!path_is_absolute(destination))
137 m->destination = destination;
[all...]
H A Dnspawn.c273 if (arg_userns && arg_uid_shift == UID_INVALID && path_equal(m->destination, "/")) {
649 _cleanup_free_ char *upper = NULL, *destination = NULL; local
681 * we'll also define the destination
686 destination = strdup(upper);
687 if (!destination)
692 destination = lower[n - 1];
700 m->destination = destination;
705 upper = destination = NULL;
/systemd/src/core/
H A Dmachine-id-setup.c49 static int shorten_uuid(char destination[34], const char source[36]) { argument
52 assert(destination);
65 destination[j++] = hexchar(t);
71 destination[32] = '\n';
72 destination[33] = 0;
/systemd/src/libsystemd/sd-bus/
H A Dbus-convenience.c63 const char *destination,
80 r = sd_bus_message_new_method_call(bus, &m, destination, path, interface, member);
99 const char *destination,
118 r = sd_bus_message_new_method_call(bus, &m, destination, path, interface, member);
286 const char *destination,
309 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &rep, "ss", strempty(interface), member);
328 const char *destination,
350 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member);
370 const char *destination,
393 r = sd_bus_call_method(bus, destination, pat
60 sd_bus_call_method_async( sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata, const char *types, ...) argument
97 sd_bus_call_method( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, sd_bus_message **reply, const char *types, ...) argument
284 sd_bus_get_property( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, sd_bus_message **reply, const char *type) argument
326 sd_bus_get_property_trivial( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char type, void *ptr) argument
368 sd_bus_get_property_string( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char **ret) argument
418 sd_bus_get_property_strv( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char ***ret) argument
459 sd_bus_set_property( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, const char *type, ...) argument
[all...]
H A Dbus-message.h78 const char *destination; member in struct:sd_bus_message
H A Dbus-kernel.c270 const char *destination; local
286 destination = m->destination ?: m->destination_ptr;
288 if (destination) {
289 r = bus_kernel_parse_unique_name(destination, &dst_id);
297 * the kernel will make sure the provided destination id matches
317 /* Add in well-known destination header */
319 dl = strlen(destination);
359 append_destination(&d, destination, dl);
374 if (part->memfd >= 0 && part->sealed && destination) {
449 const char *destination = NULL, *seclabel = NULL; local
[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", \
1632 log_debug("Sent message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s",
1826 _public_ int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie) { argument
1839 if (!streq_ptr(m->destination, destination)) {
1841 if (!destination)
1844 r = sd_bus_message_set_destination(m, destination);
2321 if (m->destination && bus->unique_name && !streq_ptr(m->destination, bus->unique_name))
H A Dbus-message.c207 m->destination = adjust_pointer(m->destination, op, old_size, m->header);
663 const char *destination,
673 assert_return(!destination || service_name_is_valid(destination), -EINVAL);
696 if (destination) {
697 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, destination, &t->destination);
738 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, call->sender, &t->destination);
892 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, bus->unique_name, &t->destination);
660 sd_bus_message_new_method_call( sd_bus *bus, sd_bus_message **m, const char *destination, const char *path, const char *interface, const char *member) argument
5539 sd_bus_message_set_destination(sd_bus_message *m, const char *destination) argument
[all...]
/systemd/src/resolve/
H A Dresolved-dns-question.c232 _cleanup_free_ char *destination = NULL; local
238 r = dns_name_change_suffix(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(cname->key), cname->dname.name, &destination);
244 d = destination;
H A Dresolved-dns-packet.h87 union in_addr_union sender, destination; member in struct:DnsPacket
H A Dresolved-dns-rr.c66 char *destination = NULL; local
68 r = dns_name_change_suffix(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(cname->key), cname->dname.name, &destination);
74 k = dns_resource_key_new_consume(key->class, key->type, destination);
76 free(destination);
/systemd/src/bus-proxyd/
H A Dproxy.c49 static int proxy_create_destination(Proxy *p, const char *destination, const char *local_sec, bool negotiate_fds) { argument
61 r = sd_bus_set_address(b, destination);
212 "destination='",
227 int proxy_new(Proxy **out, int in_fd, int out_fd, const char *destination) { argument
260 r = proxy_create_destination(p, destination, local_sec, is_unix);
314 /* no need to load legacy policy if destination is not kdbus */
445 return synthetic_reply_method_errorf(m, SD_BUS_ERROR_NAME_HAS_NO_OWNER, "Name %s is currently not owned by anyone.", m->destination);
531 if (streq_ptr(m->destination, "org.freedesktop.DBus"))
535 if (m->destination) {
536 r = bus_get_name_creds_kdbus(to, m->destination,
[all...]
/systemd/src/libsystemd-network/
H A Dsd-dhcp-lease.c443 log_debug("Failed to determine destination prefix length from class based IP, ignoring");
1156 int sd_dhcp_route_get_destination(sd_dhcp_route *route, struct in_addr *destination) { argument
1158 assert_return(destination, -EINVAL);
1160 *destination = route->dst_addr;
H A Dsd-dhcp-server.c283 static int dhcp_server_send_udp(sd_dhcp_server *server, be32_t destination, argument
288 .in.sin_addr.s_addr = destination,
345 be32_t destination = INADDR_ANY; local
389 destination = req->message->giaddr;
393 destination = req->message->ciaddr;
395 if (destination != INADDR_ANY)
396 return dhcp_server_send_udp(server, destination, &packet->dhcp,
/systemd/src/libudev/
H A Dlibudev-monitor.c222 /* default destination for sending */
712 struct udev_monitor *destination, struct udev_device *udev_device)
766 if (destination)
767 smsg.msg_name = &destination->snl;
773 if (!destination && errno == ECONNREFUSED) {
711 udev_monitor_send_device(struct udev_monitor *udev_monitor, struct udev_monitor *destination, struct udev_device *udev_device) argument

Completed in 76 milliseconds