Lines Matching refs:hostname
104 char *hostname,
133 char *hostname = NULL, *offer_hostname = NULL, *client_hostname = NULL, *domain = NULL;
390 hostname = config->hostname;
480 if (hostname)
481 lease_set_hostname(lease, hostname, 1);
489 do_options(context, mess, end, NULL, hostname, get_domain(mess->yiaddr),
562 hostname = config->hostname;
565 /* be careful not to send an OFFER with a hostname not matching the DISCOVER. */
566 if (fqdn_flags != 0 || !client_hostname || hostname_isequal(hostname, client_hostname))
567 offer_hostname = hostname;
575 hostname = client_hostname;
578 /* Search again now we have a hostname.
583 mess->htype, hostname);
706 /* Can have setting to ignore the client ID for a particular MAC address or hostname */
1188 hostname = client_hostname;
1208 hostname = NULL;
1210 if (hostname)
1211 lease_set_hostname(lease, hostname, hostname_auth);
1221 log_packet("DHCPACK", &mess->yiaddr, emac, emac_len, iface_name, hostname, mess->xid);
1234 do_options(context, mess, end, req_options, hostname, get_domain(mess->yiaddr),
1256 lease->hostname)
1257 hostname = lease->hostname;
1259 if (!hostname)
1260 hostname = host_from_dns(mess->ciaddr);
1262 log_packet("DHCPACK", &mess->ciaddr, emac, emac_len, iface_name, hostname, mess->xid);
1292 do_options(context, mess, end, req_options, hostname, get_domain(mess->ciaddr),
2018 char *hostname,
2034 my_syslog(MS_DHCP | LOG_WARNING, _("Ignoring domain %s for DHCP host name %s"), config_domain, hostname);
2165 if (hostname)
2169 option_put_string(mess, end, OPTION_HOSTNAME, hostname, null_term);
2173 len = strlen(hostname) + 3;
2191 p = do_rfc1035_name(p, hostname);
2198 memcpy(p, hostname, strlen(hostname));
2199 p += strlen(hostname);