Searched refs:sun_path (Results 1 – 8 of 8) sorted by relevance
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 114 key = alloca(strlen(sa_un->sun_path) + 1); in fpm_sockets_hash_op() 115 strcpy(key, sa_un->sun_path); in fpm_sockets_hash_op() 185 …R, "An another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket() 189 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket() 203 char *path = ((struct sockaddr_un *) sa)->sun_path; in fpm_sockets_new_listening_socket() 302 strlcpy(sa_un.sun_path, wp->config->listen_address, sizeof(sa_un.sun_path)); in fpm_socket_af_unix_listening_socket()
|
H A D | fastcgi.c | 44 char sun_path[MAXPATHLEN]; member
|
/PHP-5.4/ext/sockets/ |
H A D | php_sockets.h | 59 char sun_path[108]; member
|
H A D | sockets.c | 108 #define SUN_LEN(su) (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path)) 1426 ZVAL_STRING(addr, s_un->sun_path, 1); 1505 ZVAL_STRING(arg2, s_un->sun_path, 1); 1621 if (addr_len >= sizeof(s_un.sun_path)) { 1627 memcpy(&s_un.sun_path, addr, addr_len); 1629 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len)); 1686 snprintf(sa->sun_path, 108, "%s", addr); 1862 ZVAL_STRING(arg5, s_un.sun_path, 1); 1959 snprintf(s_un.sun_path, 108, "%s", addr);
|
/PHP-5.4/main/streams/ |
H A D | xp_socket.c | 506 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) { in parse_unix_address() 512 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1; in parse_unix_address() 515 "and was truncated", (unsigned long)sizeof(unix_addr->sun_path)); in parse_unix_address() 518 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address() 592 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind() 640 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
|
/PHP-5.4/main/ |
H A D | network.c | 640 if (ua->sun_path[0] == '\0') { 642 int len = strlen(ua->sun_path + 1) + 1; 645 memcpy(*textaddr, ua->sun_path, len); 648 *textaddrlen = strlen(ua->sun_path); 649 *textaddr = estrndup(ua->sun_path, *textaddrlen);
|
/PHP-5.4/sapi/cgi/ |
H A D | fastcgi.c | 42 char sun_path[MAXPATHLEN]; member 663 if (path_len >= sizeof(sa.sa_unix.sun_path)) { in fcgi_listen() 670 memcpy(sa.sa_unix.sun_path, path, path_len + 1); in fcgi_listen() 671 sock_len = (size_t)(((struct sockaddr_un *)0)->sun_path) + path_len; in fcgi_listen()
|
/PHP-5.4/sapi/litespeed/ |
H A D | lsapilib.c | 2258 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2() 2310 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr() 2311 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()
|
Completed in 33 milliseconds