Home
last modified time | relevance | path

Searched refs:canonical (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/nss-myhostname/
Dnss-myhostname.c40 const char *canonical = NULL; in _nss_myhostname_gethostbyname4_r() local
58 canonical = "localhost"; in _nss_myhostname_gethostbyname4_r()
67 canonical = "_gateway"; in _nss_myhostname_gethostbyname4_r()
75 canonical = "_outbound"; in _nss_myhostname_gethostbyname4_r()
94 canonical = hn; in _nss_myhostname_gethostbyname4_r()
98 l = strlen(canonical); in _nss_myhostname_gethostbyname4_r()
109 memcpy(r_name, canonical, l+1); in _nss_myhostname_gethostbyname4_r()
179 const char *canonical, const char *additional, in fill_in_hostent() argument
194 assert(canonical); in fill_in_hostent()
209 l_canonical = strlen(canonical); in fill_in_hostent()
[all …]
/systemd-251/src/resolve/
Dresolved-varlink.c147 _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *canonical = NULL; in vl_method_resolve_hostname_complete()
207 if (!canonical) in vl_method_resolve_hostname_complete()
208 canonical = dns_resource_record_ref(rr); in vl_method_resolve_hostname_complete()
220 assert(canonical); in vl_method_resolve_hostname_complete()
221 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in vl_method_resolve_hostname_complete()
238 _cleanup_free_ char *canonical = NULL; in parse_as_address() local
258 r = in_addr_ifindex_to_string(ff, &parsed, ifindex, &canonical); in parse_as_address()
271 JSON_BUILD_PAIR("name", JSON_BUILD_STRING(canonical)), in parse_as_address()
Dresolved-bus.c248 _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *canonical = NULL; in bus_method_resolve_hostname_complete()
299 if (!canonical) in bus_method_resolve_hostname_complete()
300 canonical = dns_resource_record_ref(rr); in bus_method_resolve_hostname_complete()
316 assert(canonical); in bus_method_resolve_hostname_complete()
317 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in bus_method_resolve_hostname_complete()
384 _cleanup_free_ char *canonical = NULL; in parse_as_address() local
434 r = in_addr_ifindex_to_string(ff, &parsed, ifindex, &canonical); in parse_as_address()
438 r = sd_bus_message_append(reply, "st", canonical, in parse_as_address()
864 _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *canonical = NULL; in append_srv()
904 canonical = dns_resource_record_ref(zz); in append_srv()
[all …]
Dtest-dns-packet.c43 static void test_packet_from_file(const char* filename, bool canonical) { in test_packet_from_file() argument
51 log_info("============== %s %s==============", filename, canonical ? "canonical " : ""); in test_packet_from_file()
76 assert_se(dns_resource_record_to_wire_format(rr, canonical) >= 0); in test_packet_from_file()
Dresolvectl.c209 const char *canonical = NULL; in resolve_host() local
284 r = sd_bus_message_read(reply, "st", &canonical, &flags); in resolve_host()
288 if (!streq(name, canonical)) in resolve_host()
291 canonical); in resolve_host()
790 const char *hostname, *canonical; in resolve_service() local
851 r = sd_bus_message_read(reply, "s", &canonical); in resolve_service()
855 if (!streq(hostname, canonical)) in resolve_service()
856 printf("%*s(%s)\n", (int) indent, "", canonical); in resolve_service()
Dresolved-dns-rr.h349 int dns_resource_record_to_wire_format(DnsResourceRecord *rr, bool canonical);
Dresolved-dns-rr.c1202 int dns_resource_record_to_wire_format(DnsResourceRecord *rr, bool canonical) { in dns_resource_record_to_wire_format() argument
1209 .canonical_form = canonical, in dns_resource_record_to_wire_format()
1225 if (rr->wire_format && rr->wire_format_canonical == canonical) in dns_resource_record_to_wire_format()
1239 rr->wire_format_canonical = canonical; in dns_resource_record_to_wire_format()
/systemd-251/src/nss-resolve/
Dnss-resolve.c300 const char *canonical = p.name ?: name; in _nss_resolve_gethostbyname4_r() local
301 size_t l = strlen(canonical); in _nss_resolve_gethostbyname4_r()
313 memcpy(r_name, canonical, l + 1); in _nss_resolve_gethostbyname4_r()
456 const char *canonical = p.name ?: name; in _nss_resolve_gethostbyname3_r() local
459 size_t l = strlen(canonical); in _nss_resolve_gethostbyname3_r()
472 memcpy(r_name, canonical, l+1); in _nss_resolve_gethostbyname3_r()
/systemd-251/src/basic/
Dmountpoint-util.c310 _cleanup_free_ char *canonical = NULL; in path_is_mount_point() local
325 r = chase_symlinks(t, root, CHASE_TRAIL_SLASH, &canonical, NULL); in path_is_mount_point()
329 t = canonical; in path_is_mount_point()
/systemd-251/src/shared/
Ddns-domain.h84 int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, bool canonical);
Ddns-domain.c853 int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, bool canonical) { in dns_name_to_wire_format() argument
881 if (canonical) in dns_name_to_wire_format()
/systemd-251/
D.mailmap7 Alexandros Frantzis <alexandros.frantzis@canonical.com>
33 Dann Frazier <dann.frazier@canonical.com>
71 Jerone Young <jyoung@redhat.com> <jerone.young@canonical.com>
DNEWS4314 outputting the 128bit IDs in UUID format (i.e. in the "canonical
12667 canonical targets to pull user timer and path units in