Lines Matching refs:sar
57 server_addr_rec *sar; /* the record causing it to be in
68 server_addr_rec *sar; /* the record causing it to be in
112 * sar matches the address:port pair.
151 server_addr_rec *sar;
210 sar = apr_pcalloc(p, sizeof(server_addr_rec));
211 **paddr = sar;
212 *paddr = &sar->next;
213 sar->host_addr = my_addr;
214 sar->host_port = port;
215 sar->virthost = host;
351 server_rec *s, server_addr_rec *sar)
359 new->sar = sar;
366 server_rec *s, server_addr_rec *sar)
372 new->sar = sar;
387 server_addr_rec *sar = trav->sar;
388 apr_sockaddr_t *cur = sar->host_addr;
407 server_addr_rec *sar;
412 sar = trav->sar;
413 if (sar->host_port == port) {
417 if (wild_match == NULL && sar->host_port == 0) {
437 apr_sockaddr_t *ha = ic->sar->host_addr;
442 ic->sar->host_port);
447 if (ic->sar->host_port == 0) {
461 if (nc->sar->host_port) {
462 apr_file_printf(f, "%8s port %u ", "", nc->sar->host_port);
520 server_rec *s, server_addr_rec *sar,
524 name_chain *nc = new_name_chain(p, s, sar);
555 server_addr_rec *sar;
582 for (sar = s->addrs; sar; sar = sar->next) {
586 if (!memcmp(sar->host_addr->ipaddr_ptr, inaddr_any, sar->host_addr->ipaddr_len)) {
587 ic = find_default_server(sar->host_port);
589 if (ic && sar->host_port == ic->sar->host_port) { /* we're a match for an existing "default server" */
591 || sar_prev->host_port != sar->host_port) {
592 add_name_vhost_config(p, main_s, s, sar, ic);
600 ic = new_ipaddr_chain(p, s, sar);
603 add_name_vhost_config(p, main_s, s, sar, ic);
609 ic = find_ipaddr(sar->host_addr);
611 if (!ic || sar->host_port != ic->sar->host_port) {
616 unsigned bucket = hash_addr(sar->host_addr);
617 ic = new_ipaddr_chain(p, s, sar);
621 add_name_vhost_config(p, main_s, s, sar, ic);
623 sar_prev = sar;
945 server_addr_rec *sar;
965 for (sar = s->addrs; sar; sar = sar->next) {
966 if ((sar->host_port == 0 || port == sar->host_port)
967 && !strcasecmp(host, sar->virthost)) {
1019 server_addr_rec *sar;
1024 sar = src->sar;
1025 if (sar->host_port != 0 && port != sar->host_port) {
1042 /* Fallback: does it match the virthost from the sar? */
1043 if (!strcasecmp(host, sar->virthost)) {
1089 if (src->sar->host_port != 0 && port != src->sar->host_port) {
1210 server_addr_rec *sar;
1215 sar = src->sar;
1216 if (sar->host_port != 0 && port != sar->host_port) {