Lines Matching refs:domain
32 #include "dns-domain.h"
163 /* Skip current terminal character (and accept domain names ending it ".") */
470 /* Nothing appended? If so, generate at least a single dot, to indicate the DNS root domain */
837 /* There are exactly two ways to encode the root domain name:
855 /* Encode a domain name according to RFC 1035 Section 3.1, without compression */
856 int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, bool canonical) {
860 assert(domain);
875 * of the domain name, which we rely on here to encode
877 r = dns_label_unescape(&domain, (char *) out, len);
985 int dns_service_join(const char *name, const char *type, const char *domain, char **ret) {
991 assert(domain);
998 return dns_name_concat(type, domain, ret);
1007 r = dns_name_concat(type, domain, &n);
1027 _cleanup_free_ char *name = NULL, *type = NULL, *domain = NULL;
1069 /* OK, got <name> . <type> . <type2> . <domain> */
1085 /* OK, got <type> . <type2> . <domain> */
1103 r = dns_name_normalize(d, &domain);
1108 *_domain = domain;
1109 domain = NULL;
1234 /* Determines the common suffix of domain names a and b */