Lines Matching refs:reqhost
776 const char *reqhost; in dhcp_add_hostname_opt() local
786 reqhost = dsmp->dsm_msg_reqhost; in dhcp_add_hostname_opt()
792 reqhost = iffile_to_hostname(hostfile); in dhcp_add_hostname_opt()
795 if (reqhost == NULL && (dsmp->dsm_dflags & DHCP_IF_PRIMARY) && in dhcp_add_hostname_opt()
797 reqhost = nodename; in dhcp_add_hostname_opt()
800 if (reqhost != NULL) { in dhcp_add_hostname_opt()
802 if ((dsmp->dsm_reqhost = strdup(reqhost)) == NULL) in dhcp_add_hostname_opt()
1018 char nodename[MAXNAMELEN], *reqhost; in dhcp_assemble_fqdn() local
1030 reqhost = dsmp->dsm_msg_reqhost; in dhcp_assemble_fqdn()
1031 if (ipadm_is_nil_hostname(reqhost) && in dhcp_assemble_fqdn()
1034 reqhost = nodename; in dhcp_assemble_fqdn()
1037 if (ipadm_is_nil_hostname(reqhost)) { in dhcp_assemble_fqdn()
1044 if ((pos = strlcpy(fqdnbuf, reqhost, buflen)) >= buflen) { in dhcp_assemble_fqdn()
1046 " for %s", reqhost, dsmp->dsm_name); in dhcp_assemble_fqdn()
1053 if (!is_fqdn(reqhost)) { in dhcp_assemble_fqdn()