Lines Matching refs:sl
221 seclisten_rec *sl;
223 for (sl = ap_seclisteners; sl; sl = sl->next) {
224 if (!memcmp(&sl->local_addr, &lr->local_addr, sizeof(sl->local_addr))) {
225 sl->used = 1;
226 return sl->fd;
234 seclistenup_rec *sl;
236 for (sl = ap_seclistenersup; sl; sl = sl->next) {
237 if ((sl->port == (c->local_addr)->port) &&
238 ((strcmp(sl->addr, "0.0.0.0") == 0) ||
239 (strcmp(sl->addr, c->local_ip) == 0))) {
240 return sl->key;
733 seclisten_rec* sl;
779 for (sl = ap_seclisteners; sl != NULL; sl = sl->next) {
782 if (((sl->fd = find_secure_listener(sl)) >= 0) && (sl->used)) {
786 if (sl->fd < 0)
787 sl->fd = make_secure_socket(s->process->pool, &sl->local_addr, sl->key, sl->mutual, s);
789 if (sl->fd >= 0) {
792 sock_info.os_sock = &(sl->fd);
793 sock_info.local = (struct sockaddr*)&(sl->local_addr);
804 if ((status = apr_sockaddr_info_get(&lr->bind_addr, sl->addr, APR_UNSPEC, sl->port, 0,
807 "alloc_listener: failed to set up sockaddr for %s:%d", sl->addr, sl->port);