Lines Matching refs:hostname
1040 /* Regardless of RFC2132, we should always send a hostname
1041 * upto the first dot (the short hostname) as otherwise
1044 if (ifo->options & DHCPCD_HOSTNAME && ifo->hostname[0]) {
1046 hp = strchr(ifo->hostname, '.');
1048 len = hp - ifo->hostname;
1050 len = strlen(ifo->hostname);
1052 memcpy(p, ifo->hostname, len);
1055 if (ifo->fqdn != FQDN_DISABLE && ifo->hostname[0]) {
1073 ul = encode_rfc1035(ifo->hostname, p);