Home
last modified time | relevance | path

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

/PHP-8.1/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.1/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…
769 *sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_un), ctx); in from_zval_write_sockaddr_aux()
771 struct sockaddr_un *sock_un = (struct sockaddr_un*)*sockaddr_ptr; in from_zval_write_sockaddr_aux()
780 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
785 *sockaddr_len = sizeof(struct sockaddr_un); in from_zval_write_sockaddr_aux()
H A Dsockets.c1095 struct sockaddr_un *s_un;
1145 s_un = (struct sockaddr_un *) sa;
1172 struct sockaddr_un *s_un;
1225 s_un = (struct sockaddr_un *) sa;
1342 struct sockaddr_un s_un = {0};
1352 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1405 struct sockaddr_un *sa = (struct sockaddr_un *) sock_type;
1416 offsetof(struct sockaddr_un, sun_path) + addr_len);
1542 struct sockaddr_un s_un;
1664 struct sockaddr_un s_un;
/PHP-8.1/main/streams/
H A Dxp_socket.c554 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address()
633 struct sockaddr_un unix_addr; in php_tcp_sockop_bind()
649 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind()
714 struct sockaddr_un unix_addr; in php_tcp_sockop_connect()
728 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
/PHP-8.1/sapi/cgi/
H A Dconfig9.m416 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
/PHP-8.1/main/
H A Dnetwork.c656 struct sockaddr_un *ua = (struct sockaddr_un*)sa;
1006 return sizeof(struct sockaddr_un);
H A Dfastcgi.c36 struct sockaddr_un { struct
240 struct sockaddr_un sa_unix;
747 sock_len = (size_t)(((struct sockaddr_un *)0)->sun_path) + path_len;
/PHP-8.1/sapi/litespeed/
H A Dlscriu.c133 #define SUN_PATH_MAX (sizeof(((struct sockaddr_un *)NULL)->sun_path))
H A Dlsapilib.c2630 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2()
2631 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2()
2684 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2685 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()

Completed in 44 milliseconds