Lines Matching defs:hostname
373 char hostname[1];
1850 evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl)
1869 ttl, -1, 1, hostname);
3164 char hostname[HOST_NAME_MAX + 1], *domainname;
3168 if (gethostname(hostname, sizeof(hostname))) return;
3169 domainname = strchr(hostname, '.');
4125 char *hostname, *hash;
4144 while ((hostname = NEXT_TOKEN)) {
4147 if ((hash = strchr(hostname, '#'))) {
4148 if (hash == hostname)
4153 namelen = strlen(hostname);
4160 memcpy(he->hostname, hostname, namelen+1);
4570 find_hosts_entry(struct evdns_base *base, const char *hostname,
4581 if (!evutil_ascii_strcasecmp(e->hostname, hostname))
4617 * this hostname but none were of the right address type. */