Searched refs:af_to_name (Results 1 - 10 of 10) sorted by relevance

/systemd/src/basic/
H A Daf-list.h22 const char *af_to_name(int id);
H A Daf-list.c31 const char *af_to_name(int id) { function
/systemd/src/test/
H A Dtest-af-list.c39 assert_se(streq(af_to_name(i), af_names[i]));
44 assert_se(af_to_name(af_max()) == NULL);
45 assert_se(af_to_name(-1) == NULL);
/systemd/src/libsystemd/sd-netlink/
H A Dtest-local-addresses.c32 printf("%s if%i scope=%i metric=%u address=%s\n", af_to_name(a[i].family), a[i].ifindex, a[i].scope, a[i].metric, b);
/systemd/src/resolve/
H A Dresolve-tool.c98 log_debug("Resolving %s (family %s, interface %s).", name, af_to_name(arg_family) ?: "*", isempty(ifname) ? "*" : ifname);
147 log_debug("%s: skipping entry with family %d (%s)", name, family, af_to_name(family) ?: "unknown");
152 log_error("%s: systemd-resolved returned address of invalid size %zu for family %s", name, sz, af_to_name(family) ?: "unknown");
589 log_debug("Resolving service \"%s\" of type %s in %s (family %s, interface %s).", name, type, domain, af_to_name(arg_family) ?: "*", isempty(ifname) ? "*" : ifname);
591 log_debug("Resolving service type %s of %s (family %s, interface %s).", type, domain, af_to_name(arg_family) ?: "*", isempty(ifname) ? "*" : ifname);
593 log_debug("Resolving service type %s (family %s, interface %s).", domain, af_to_name(arg_family) ?: "*", isempty(ifname) ? "*" : ifname);
670 log_debug("%s: skipping entry with family %d (%s)", name, family, af_to_name(family) ?: "unknown");
675 log_error("%s: systemd-resolved returned address of invalid size %zu for family %s", name, sz, af_to_name(family) ?: "unknown");
H A Dtest-dnssec-complex.c96 af = family == AF_UNSPEC ? "AF_UNSPEC" : af_to_name(family);
H A Dresolved-dns-scope.c77 log_debug("New scope on link %s, protocol %s, family %s", l ? l->name : "*", dns_protocol_to_string(protocol), family == AF_UNSPEC ? "*" : af_to_name(family));
110 log_debug("Removing scope on link %s, protocol %s, family %s", s->link ? s->link->name : "*", dns_protocol_to_string(s->protocol), s->family == AF_UNSPEC ? "*" : af_to_name(s->family));
982 fputs(af_to_name(s->family), f);
H A Dresolved-dns-transaction.c256 t->scope->family == AF_UNSPEC ? "*" : af_to_name(t->scope->family),
318 t->scope->family == AF_UNSPEC ? "*" : af_to_name(t->scope->family),
1442 t->scope->family == AF_UNSPEC ? "*" : af_to_name(t->scope->family));
H A Dresolved-manager.c905 log_debug("Sending %s packet with id %" PRIu16 " on interface %i/%s.", DNS_PACKET_QR(p) ? "response" : "query", DNS_PACKET_ID(p), ifindex, af_to_name(family));
/systemd/src/core/
H A Ddbus-execute.c561 name = af_to_name(PTR_TO_INT(af));

Completed in 34 milliseconds