Lines Matching defs:hostname
373 char hostname[1];
1852 evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl)
1871 ttl, -1, 1, hostname);
3166 char hostname[HOST_NAME_MAX + 1], *domainname;
3170 if (gethostname(hostname, sizeof(hostname))) return;
3171 domainname = strchr(hostname, '.');
4122 char *hostname, *hash;
4141 while ((hostname = NEXT_TOKEN)) {
4144 if ((hash = strchr(hostname, '#'))) {
4145 if (hash == hostname)
4150 namelen = strlen(hostname);
4157 memcpy(he->hostname, hostname, namelen+1);
4559 find_hosts_entry(struct evdns_base *base, const char *hostname,
4570 if (!evutil_ascii_strcasecmp(e->hostname, hostname))
4606 * this hostname but none were of the right address type. */