Home
last modified time | relevance | path

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

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_sockets.c131 struct sockaddr_un *sa_un = (struct sockaddr_un *) sa; in fpm_sockets_hash_op()
202 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket()
203 …zlog(ZLOG_ERROR, "Another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)… in fpm_sockets_new_listening_socket()
207 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
221 char *path = ((struct sockaddr_un *) sa)->sun_path; in fpm_sockets_new_listening_socket()
363 struct sockaddr_un sa_un; in fpm_socket_af_unix_listening_socket()
368 …return fpm_sockets_get_listening_socket(wp, (struct sockaddr *) &sa_un, sizeof(struct sockaddr_un)… in fpm_socket_af_unix_listening_socket()
561 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-7.3/ext/sockets/
H A Dphp_sockets.h66 struct sockaddr_un { struct
H A Dconversions.c646 struct sockaddr_un *saddr = (struct sockaddr_un*)sockaddr_un_c; in from_zval_write_sun_path()
671 struct sockaddr_un *saddr = (struct sockaddr_un*)data; in to_zval_read_sun_path()
683 …{"family", sizeof("family"), 0, offsetof(struct sockaddr_un, sun_family), from_zval_write_sa_famil…
759 *sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_un), ctx); in from_zval_write_sockaddr_aux()
761 struct sockaddr_un *sock_un = (struct sockaddr_un*)*sockaddr_ptr; in from_zval_write_sockaddr_aux()
770 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
775 *sockaddr_len = sizeof(struct sockaddr_un); in from_zval_write_sockaddr_aux()
H A Dsockets.c1315 struct sockaddr_un *s_un;
1371 s_un = (struct sockaddr_un *) sa;
1398 struct sockaddr_un *s_un;
1452 s_un = (struct sockaddr_un *) sa;
1572 struct sockaddr_un s_un = {0};
1582 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1638 struct sockaddr_un *sa = (struct sockaddr_un *) sock_type;
1651 offsetof(struct sockaddr_un, sun_path) + addr_len);
1787 struct sockaddr_un s_un;
1915 struct sockaddr_un s_un;
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_rinit_hook.c57 struct sockaddr_un sock; in PHP_RINIT_FUNCTION()
H A Dphpdbg_wait.c343 struct sockaddr_un local, remote; in PHPDBG_COMMAND()
/PHP-7.3/main/streams/
H A Dxp_socket.c547 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address()
626 struct sockaddr_un unix_addr; in php_tcp_sockop_bind()
642 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind()
707 struct sockaddr_un unix_addr; in php_tcp_sockop_connect()
721 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
/PHP-7.3/sapi/cgi/
H A Dconfig9.m423 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
/PHP-7.3/main/
H A Dnetwork.c652 struct sockaddr_un *ua = (struct sockaddr_un*)sa;
1011 return sizeof(struct sockaddr_un);
H A Dfastcgi.c38 struct sockaddr_un { struct
242 struct sockaddr_un sa_unix;
750 sock_len = (size_t)(((struct sockaddr_un *)0)->sun_path) + path_len; in fcgi_listen()
/PHP-7.3/sapi/litespeed/
H A Dlscriu.c136 #define SUN_PATH_MAX (sizeof(((struct sockaddr_un *)NULL)->sun_path))
H A Dlsapilib.c2578 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2()
2579 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2()
2632 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2633 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()

Completed in 52 milliseconds