Lines Matching defs:hostname
200 const char *hostname);
1691 const char *hostname;
1841 hostname = evhttp_uri_get_host(req->uri_elems);
1844 hostname &&
1845 !evhttp_find_vhost(req->evcon->http_server, NULL, hostname))
2326 * Although this interface accepts a hostname, it is intended to take
3339 matching hostname. If a match is found, and outhttp is non-null,
3345 const char *hostname)
3352 if (!evutil_ascii_strcasecmp(alias->alias, hostname)) {
3362 if (evhttp_find_alias(vhost, outhttp, hostname))
3370 Attempts to find the best http object to handle a request for a hostname.
3382 const char *hostname)
3388 if (evhttp_find_alias(http, outhttp, hostname))
3395 hostname, 1 /* ignorecase */)) {
3414 const char *hostname;
3432 hostname = evhttp_request_get_host(req);
3433 if (hostname != NULL) {
3434 evhttp_find_vhost(http, &http, hostname);
4169 char *hostname = NULL, *portname = NULL;
4172 name_from_addr(sa, salen, &hostname, &portname);
4173 if (hostname == NULL || portname == NULL) {
4174 if (hostname) mm_free(hostname);
4180 __func__, hostname, portname, EV_SOCK_ARG(fd)));
4187 http->base, NULL, bev, hostname, atoi(portname));
4188 mm_free(hostname);
4367 /* turn NULL hostname into INADDR_ANY, and skip looking up any address
4410 char *host; /* hostname, IP address, or NULL */