Lines Matching defs:hostname
197 const char *hostname);
1597 const char *hostname;
1747 hostname = evhttp_uri_get_host(req->uri_elems);
1750 hostname &&
1751 !evhttp_find_vhost(req->evcon->http_server, NULL, hostname))
2238 * Although this interface accepts a hostname, it is intended to take
3190 matching hostname. If a match is found, and outhttp is non-null,
3196 const char *hostname)
3203 if (!evutil_ascii_strcasecmp(alias->alias, hostname)) {
3213 if (evhttp_find_alias(vhost, outhttp, hostname))
3221 Attempts to find the best http object to handle a request for a hostname.
3233 const char *hostname)
3239 if (evhttp_find_alias(http, outhttp, hostname))
3246 hostname, 1 /* ignorecase */)) {
3265 const char *hostname;
3283 hostname = evhttp_request_get_host(req);
3284 if (hostname != NULL) {
3285 evhttp_find_vhost(http, &http, hostname);
4006 char *hostname = NULL, *portname = NULL;
4009 name_from_addr(sa, salen, &hostname, &portname);
4010 if (hostname == NULL || portname == NULL) {
4011 if (hostname) mm_free(hostname);
4017 __func__, hostname, portname, EV_SOCK_ARG(fd)));
4024 http->base, NULL, bev, hostname, atoi(portname));
4025 mm_free(hostname);
4200 /* turn NULL hostname into INADDR_ANY, and skip looking up any address
4243 char *host; /* hostname, IP address, or NULL */