Lines Matching defs:hostname
38 #include "hostname-util.h"
94 char *hostname;
302 const char *hostname) {
307 if (!hostname_is_valid(hostname, false) && !dns_name_is_valid(hostname))
310 if (streq_ptr(client->hostname, hostname))
313 if (hostname) {
314 new_hostname = strdup(hostname);
319 free(client->hostname);
320 client->hostname = new_hostname;
606 if (client->hostname) {
609 one of the two depending on the hostname type.
611 if (dns_name_is_single_label(client->hostname)) {
612 /* it is unclear from RFC 2131 if client should send hostname in
617 strlen(client->hostname), client->hostname);
620 client->hostname);
725 if (client->hostname) {
726 if (dns_name_is_single_label(client->hostname))
729 strlen(client->hostname), client->hostname);
732 client->hostname);
1767 free(client->hostname);