Home
last modified time | relevance | path

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

/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_sockets.c151 struct sockaddr_un *sa_un = (struct sockaddr_un *) sa; in fpm_sockets_hash_op()
222 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket()
223 …zlog(ZLOG_ERROR, "Another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)… in fpm_sockets_new_listening_socket()
227 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
241 char *path = ((struct sockaddr_un *) sa)->sun_path; in fpm_sockets_new_listening_socket()
398 struct sockaddr_un sa_un; in fpm_socket_af_unix_listening_socket()
403 …return fpm_sockets_get_listening_socket(wp, (struct sockaddr *) &sa_un, sizeof(struct sockaddr_un)… in fpm_socket_af_unix_listening_socket()
635 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect()
H A Dfpm_sockets.h32 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
/PHP-8.2/ext/sockets/
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.c930 struct sockaddr_un *s_un;
980 s_un = (struct sockaddr_un *) sa;
1007 struct sockaddr_un *s_un;
1060 s_un = (struct sockaddr_un *) sa;
1177 struct sockaddr_un s_un = {0};
1187 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1245 struct sockaddr_un *sa = (struct sockaddr_un *) sock_type;
1256 offsetof(struct sockaddr_un, sun_path) + addr_len);
1382 struct sockaddr_un s_un;
1505 struct sockaddr_un s_un;
H A Dphp_sockets.h94 struct sockaddr_un { struct
/PHP-8.2/main/streams/
H A Dxp_socket.c562 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address()
646 struct sockaddr_un unix_addr; in php_tcp_sockop_bind()
662 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind()
727 struct sockaddr_un unix_addr; in php_tcp_sockop_connect()
741 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
/PHP-8.2/sapi/cgi/
H A Dconfig9.m416 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
/PHP-8.2/main/
H A Dnetwork.c658 struct sockaddr_un *ua = (struct sockaddr_un*)sa;
1013 return sizeof(struct sockaddr_un);
H A Dfastcgi.c36 struct sockaddr_un { struct
240 struct sockaddr_un sa_unix;
747 sock_len = XtOffsetOf(struct sockaddr_un, sun_path) + path_len;
/PHP-8.2/sapi/litespeed/
H A Dlscriu.c133 #define SUN_PATH_MAX (sizeof(((struct sockaddr_un *)NULL)->sun_path))
H A Dlsapilib.c2600 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2()
2601 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2()
2654 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2655 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()

Completed in 67 milliseconds