Home
last modified time | relevance | path

Searched refs:sockaddr_un (Results 1 – 13 of 13) sorted by relevance

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_sockets.c147 struct sockaddr_un *sa_un = (struct sockaddr_un *) sa; in fpm_sockets_hash_op()
218 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket()
219 …zlog(ZLOG_ERROR, "Another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)… in fpm_sockets_new_listening_socket()
223 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
237 char *path = ((struct sockaddr_un *) sa)->sun_path; in fpm_sockets_new_listening_socket()
380 struct sockaddr_un sa_un; in fpm_socket_af_unix_listening_socket()
385 …return fpm_sockets_get_listening_socket(wp, (struct sockaddr *) &sa_un, sizeof(struct sockaddr_un)… in fpm_socket_af_unix_listening_socket()
573 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect()
H A Dfpm_sockets.h29 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
/PHP-8.0/ext/sockets/
H A Dphp_sockets.h94 struct sockaddr_un { struct
H A Dconversions.c649 struct sockaddr_un *saddr = (struct sockaddr_un*)sockaddr_un_c; in from_zval_write_sun_path()
674 struct sockaddr_un *saddr = (struct sockaddr_un*)data; in to_zval_read_sun_path()
686 …{"family", sizeof("family"), 0, offsetof(struct sockaddr_un, sun_family), from_zval_write_sa_famil…
765 *sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_un), ctx); in from_zval_write_sockaddr_aux()
767 struct sockaddr_un *sock_un = (struct sockaddr_un*)*sockaddr_ptr; in from_zval_write_sockaddr_aux()
776 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
781 *sockaddr_len = sizeof(struct sockaddr_un); in from_zval_write_sockaddr_aux()
H A Dsockets.c1091 struct sockaddr_un *s_un;
1138 s_un = (struct sockaddr_un *) sa;
1163 struct sockaddr_un *s_un;
1213 s_un = (struct sockaddr_un *) sa;
1330 struct sockaddr_un s_un = {0};
1340 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1393 struct sockaddr_un *sa = (struct sockaddr_un *) sock_type;
1404 offsetof(struct sockaddr_un, sun_path) + addr_len);
1530 struct sockaddr_un s_un;
1646 struct sockaddr_un s_un;
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_rinit_hook.c55 struct sockaddr_un sock; in PHP_RINIT_FUNCTION()
H A Dphpdbg_wait.c339 struct sockaddr_un local, remote; in PHPDBG_COMMAND()
/PHP-8.0/main/streams/
H A Dxp_socket.c553 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address()
632 struct sockaddr_un unix_addr; in php_tcp_sockop_bind()
648 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind()
713 struct sockaddr_un unix_addr; in php_tcp_sockop_connect()
727 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
/PHP-8.0/sapi/cgi/
H A Dconfig9.m416 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
/PHP-8.0/main/
H A Dnetwork.c649 struct sockaddr_un *ua = (struct sockaddr_un*)sa;
1008 return sizeof(struct sockaddr_un);
H A Dfastcgi.c36 struct sockaddr_un { struct
240 struct sockaddr_un sa_unix;
748 sock_len = (size_t)(((struct sockaddr_un *)0)->sun_path) + path_len; in fcgi_listen()
/PHP-8.0/sapi/litespeed/
H A Dlscriu.c133 #define SUN_PATH_MAX (sizeof(((struct sockaddr_un *)NULL)->sun_path))
H A Dlsapilib.c2586 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2()
2587 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2()
2640 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2641 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()

Completed in 57 milliseconds