Lines Matching defs:hostname
208 const char *hostname);
1724 const char *hostname;
1888 hostname = evhttp_uri_get_host(req->uri_elems);
1891 hostname &&
1892 !evhttp_find_vhost(req->evcon->http_server, NULL, hostname))
2367 * Although this interface accepts a hostname, it is intended to take
3394 matching hostname. If a match is found, and outhttp is non-null,
3400 const char *hostname)
3407 if (!evutil_ascii_strcasecmp(alias->alias, hostname)) {
3417 if (evhttp_find_alias(vhost, outhttp, hostname))
3425 Attempts to find the best http object to handle a request for a hostname.
3437 const char *hostname)
3443 if (evhttp_find_alias(http, outhttp, hostname))
3450 hostname, 1 /* ignorecase */)) {
3469 const char *hostname;
3489 hostname = evhttp_request_get_host(req);
3490 if (hostname != NULL) {
3491 evhttp_find_vhost(http, &http, hostname);
4229 char *hostname = NULL, *portname = NULL;
4239 name_from_addr(sa, salen, &hostname, &portname);
4240 if (hostname == NULL || portname == NULL) {
4241 if (hostname) mm_free(hostname);
4247 __func__, hostname, portname, EV_SOCK_ARG(fd)));
4254 http->base, NULL, bev, hostname, atoi(portname));
4255 mm_free(hostname);
4441 /* turn NULL hostname into INADDR_ANY, and skip looking up any address
4484 char *host; /* hostname, IP address, or NULL */