Searched refs:sa (Results 1 - 21 of 21) sorted by relevance

/httpd/os/win32/
H A Dutil_win32.c112 PSECURITY_ATTRIBUTES sa; local
114 sa = (PSECURITY_ATTRIBUTES) LocalAlloc(LPTR, sizeof(SECURITY_ATTRIBUTES));
115 sa->nLength = sizeof(SECURITY_ATTRIBUTES);
118 sa->lpSecurityDescriptor = pSD;
120 if (pSD == NULL || sa == NULL) {
127 LocalFree( sa );
133 LocalFree( sa );
137 sa->bInheritHandle = FALSE;
138 return sa;
142 void CleanNullACL(void *sa) argument
[all...]
H A Dos.h98 void CleanNullACL(void *sa);
/httpd/server/mpm/winnt/
H A Dnt_eventlog.c134 SECURITY_ATTRIBUTES sa; local
147 sa.nLength = sizeof(sa);
148 sa.lpSecurityDescriptor = NULL;
149 sa.bInheritHandle = FALSE;
H A Dmpm_winnt.c1563 PSECURITY_ATTRIBUTES sa = GetNullACL(); /* returns NULL if invalid (Win95?) */ local
1571 shutdown_event = CreateEvent(sa, FALSE, FALSE, signal_shutdown_name);
1575 CleanNullACL((void *)sa);
1582 restart_event = CreateEvent(sa, FALSE, FALSE, signal_restart_name);
1587 CleanNullACL((void *)sa);
1590 CleanNullACL((void *)sa);
/httpd/modules/ssl/
H A Dssl_util_ocsp.c64 apr_sockaddr_t *sa; local
69 rv = apr_sockaddr_info_get(&sa, uri->hostname, APR_UNSPEC, uri->port, 0, p);
82 for (; sa; sa = sa->next) {
83 rv = apr_socket_create(&sd, sa->family, SOCK_STREAM, APR_PROTO_TCP, p);
87 rv = apr_socket_connect(sd, sa);
95 if (sa == NULL) {
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2.c144 apr_sockaddr_t *sa; local
146 apr_socket_addr_get(&sa, APR_LOCAL, lr->sd);
378 struct sigaction sa; local
380 sigemptyset(&sa.sa_mask);
381 sa.sa_flags = 0;
382 sa.sa_handler = sig_term;
384 if (sigaction(SIGTERM, &sa, NULL) < 0)
387 if (sigaction(SIGINT, &sa, NULL) < 0)
390 sa.sa_handler = sig_restart;
392 if (sigaction(SIGHUP, &sa, NUL
[all...]
H A Dmpmt_os2_child.c475 struct sigaction sa; local
477 sigemptyset(&sa.sa_mask);
478 sa.sa_flags = 0;
479 sa.sa_handler = sig_term;
481 if (sigaction(SIGTERM, &sa, NULL) < 0)
484 sa.sa_handler = sig_hup;
486 if (sigaction(SIGHUP, &sa, NULL) < 0)
/httpd/server/
H A Dlisten.c325 struct sockaddr sa; local
333 rv = getsockname(fd, &sa, &len);
343 si.family = sa.sa_family;
344 si.local = &sa;
413 apr_sockaddr_t *sa; local
418 sa = (*walk)->bind_addr;
420 if (sa) {
424 oldport = sa->port;
429 ((!addr && !sa->hostname) ||
430 ((addr && sa
814 apr_sockaddr_t *sa; local
[all...]
H A Dmpm_unix.c1002 struct sigaction sa; local
1004 sigemptyset(&sa.sa_mask);
1007 sa.sa_flags = SA_ONESHOT;
1009 sa.sa_flags = SA_RESETHAND;
1011 sa.sa_flags = 0;
1014 sa.sa_handler = sig_coredump;
1015 if (sigaction(SIGSEGV, &sa, NULL) < 0)
1018 if (sigaction(SIGBUS, &sa, NULL) < 0)
1022 if (sigaction(SIGABORT, &sa, NULL) < 0)
1026 if (sigaction(SIGABRT, &sa, NUL
[all...]
H A Dvhost.c338 static APR_INLINE unsigned hash_addr(struct apr_sockaddr_t *sa) argument
346 key = *(unsigned *)((char *)sa->ipaddr_ptr + sa->ipaddr_len - 4);
378 static APR_INLINE ipaddr_chain *find_ipaddr(apr_sockaddr_t *sa) argument
385 bucket = hash_addr(sa);
390 if (cur->port == sa->port) {
391 if (apr_sockaddr_equal(cur, sa)) {
395 if (wild_match == NULL && (cur->port == 0 || sa->port == 0)) {
396 if (apr_sockaddr_equal(cur, sa)) {
427 && IN6_IS_ADDR_UNSPECIFIED(&(ad)->sa
[all...]
H A Dcore.c871 apr_sockaddr_t *sa; local
885 rv = apr_sockaddr_info_get(&sa, conn->remote_host, APR_UNSPEC, 0, 0, conn->pool);
887 while (sa) {
888 if (apr_sockaddr_equal(sa, conn->client_addr)) {
893 sa = sa->next;
3866 const char **sa)
3878 s = *sa;
3916 *sa = s;
3921 const char **sa)
3864 parse_errorlog_misc_string(apr_pool_t *p, ap_errorlog_format_item *it, const char **sa) argument
3920 parse_errorlog_item(apr_pool_t *p, ap_errorlog_format_item *it, const char **sa) argument
[all...]
/httpd/server/mpm/prefork/
H A Dprefork.c407 struct sigaction sa; local
415 sigemptyset(&sa.sa_mask);
416 sa.sa_flags = 0;
418 sa.sa_handler = sig_term;
419 if (sigaction(SIGTERM, &sa, NULL) < 0)
422 if (sigaction(AP_SIG_GRACEFUL_STOP, &sa, NULL) < 0)
427 if (sigaction(SIGINT, &sa, NULL) < 0)
431 sa.sa_handler = SIG_DFL;
432 if (sigaction(SIGXCPU, &sa, NULL) < 0)
439 sa
[all...]
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c477 apr_sockaddr_t *sa; local
519 sa = (*walk)->bind_addr;
520 if (sa) {
524 oldport = sa->port;
529 ((!addr && !sa->hostname) ||
530 ((addr && sa->hostname) && !strcmp(sa->hostname, addr)))) {
648 apr_sockaddr_t *sa; local
660 sa = (*walk)->bind_addr;
661 if (sa) {
741 apr_sockaddr_t *sa; local
[all...]
/httpd/server/mpm/motorz/
H A Dmotorz.c740 struct sigaction sa; local
748 sigemptyset(&sa.sa_mask);
749 sa.sa_flags = 0;
751 sa.sa_handler = sig_term;
752 if (sigaction(SIGTERM, &sa, NULL) < 0)
755 if (sigaction(AP_SIG_GRACEFUL_STOP, &sa, NULL) < 0)
760 if (sigaction(SIGINT, &sa, NULL) < 0)
764 sa.sa_handler = SIG_DFL;
765 if (sigaction(SIGXCPU, &sa, NULL) < 0)
772 sa
[all...]
/httpd/server/mpm/worker/
H A Dworker.c525 struct sigaction sa; local
533 sigemptyset(&sa.sa_mask);
534 sa.sa_flags = 0;
536 sa.sa_handler = sig_term;
537 if (sigaction(SIGTERM, &sa, NULL) < 0)
541 if (sigaction(AP_SIG_GRACEFUL_STOP, &sa, NULL) < 0)
546 if (sigaction(SIGINT, &sa, NULL) < 0)
551 sa.sa_handler = SIG_DFL;
552 if (sigaction(SIGXCPU, &sa, NULL) < 0)
560 sa
[all...]
/httpd/modules/metadata/
H A Dmod_headers.c279 static char *parse_misc_string(apr_pool_t *p, format_tag *tag, const char **sa) argument
286 s = *sa;
294 tag->arg = apr_palloc(p, s - *sa + 1);
297 s = *sa;
335 *sa = s;
339 static char *parse_format_tag(apr_pool_t *p, format_tag *tag, const char **sa) argument
341 const char *s = *sa;
346 return parse_misc_string(p, tag, sa);
356 *sa = s;
377 *sa
[all...]
H A Dmod_remoteip.c333 addrbyte = (unsigned char *) &temp_sa->sa.sin.sin_addr;
354 && ((temp_sa->sa.sin6.sin6_addr.s6_addr[0] & 0xe0) != 0x20))
/httpd/server/mpm/event/
H A Devent.c757 struct sigaction sa; local
765 sigemptyset(&sa.sa_mask);
766 sa.sa_flags = 0;
768 sa.sa_handler = sig_term;
769 if (sigaction(SIGTERM, &sa, NULL) < 0)
773 if (sigaction(AP_SIG_GRACEFUL_STOP, &sa, NULL) < 0)
778 if (sigaction(SIGINT, &sa, NULL) < 0)
783 sa.sa_handler = SIG_DFL;
784 if (sigaction(SIGXCPU, &sa, NULL) < 0)
792 sa
[all...]
/httpd/modules/loggers/
H A Dmod_log_config.c897 const char **sa)
905 s = *sa;
913 it->arg = apr_palloc(p, s - *sa + 1);
916 s = *sa;
954 *sa = s;
958 static char *parse_log_item(apr_pool_t *p, log_format_item *it, const char **sa) argument
960 const char *s = *sa;
964 return parse_log_misc_string(p, it, sa);
974 *sa = ++s;
1053 *sa
896 parse_log_misc_string(apr_pool_t *p, log_format_item *it, const char **sa) argument
[all...]
/httpd/modules/proxy/
H A Dproxy_util.c2316 apr_sockaddr_t *sa; local
2317 apr_sockaddr_info_get(&sa, NULL, APR_UNSPEC, 0, 0, conn->pool);
2318 conn->addr = sa;
2654 struct sockaddr_un *sa; local
2670 sa = (struct sockaddr_un *)apr_palloc(p, addrlen + 1);
2671 memcpy(sa->sun_path, uds_path, pathlen + 1);
2672 sa->sun_family = AF_UNIX;
2675 rv = connect(rawsock, (struct sockaddr*)sa, addrlen);
H A Dmod_proxy_ftp.c1459 epsv_addr.sa.sin6.sin6_port = htons(data_port);
1464 epsv_addr.sa.sin.sin_port = htons(data_port);

Completed in 82 milliseconds