Lines Matching refs:hostname
496 char hostname [k_hostname_maxlen + 1];
832 Lookup a fully qualified hostname using the default record type
837 Fully qualified hostname. If not fully qualified the code will
1216 // Data should be a hostname
1418 Add fully qualified hostname to result.
1424 Fully qualified hostname
1427 Pointer to start of hostname buffer,
1428 or NULL on error (usually hostname too long)
1438 "mdns: Hostname too long '%.*s': len %d, max %d",
1448 strcpy (result->header->hostname, fullname);
1450 return result->header->hostname;
1455 Add fully qualified name as hostname or alias.
1457 If hostname is not fully qualified this is not an error, but the data
1471 If alias or hostname already exists, returns pointer to that instead.
1476 char * hostname = result->hostent->h_name;
1478 if (*hostname)
1480 if (strcmp (hostname, data) == 0)
1482 return hostname;
1511 result->header->hostname[0] = 0;
1523 result->hostent->h_name = result->header->hostname;