Home
last modified time | relevance | path

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

/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_sockets.c110 struct sockaddr_un *sa_un = (struct sockaddr_un *) sa; in fpm_sockets_hash_op()
181 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket()
182 …zlog(ZLOG_ERROR, "An another FPM instance seems to already listen on %s", ((struct sockaddr_un *) … in fpm_sockets_new_listening_socket()
186 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
200 char *path = ((struct sockaddr_un *) sa)->sun_path; in fpm_sockets_new_listening_socket()
314 struct sockaddr_un sa_un; in fpm_socket_af_unix_listening_socket()
319 …return fpm_sockets_get_listening_socket(wp, (struct sockaddr *) &sa_un, sizeof(struct sockaddr_un)… in fpm_socket_af_unix_listening_socket()
492 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect()
H A Dfpm_sockets.h28 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
/PHP-7.0/ext/sockets/
H A Dphp_sockets.h68 struct sockaddr_un { struct
H A Dconversions.c646 struct sockaddr_un *saddr = (struct sockaddr_un*)sockaddr_un_c; in from_zval_write_sun_path()
669 struct sockaddr_un *saddr = (struct sockaddr_un*)data; in to_zval_read_sun_path()
681 …{"family", sizeof("family"), 0, offsetof(struct sockaddr_un, sun_family), from_zval_write_sa_famil…
757 *sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_un), ctx); in from_zval_write_sockaddr_aux()
759 struct sockaddr_un *sock_un = (struct sockaddr_un*)*sockaddr_ptr; in from_zval_write_sockaddr_aux()
768 *sockaddr_len = offsetof(struct sockaddr_un, sun_path) + in from_zval_write_sockaddr_aux()
773 *sockaddr_len = sizeof(struct sockaddr_un); in from_zval_write_sockaddr_aux()
H A Dsockets.c1212 struct sockaddr_un *s_un;
1268 s_un = (struct sockaddr_un *) sa;
1295 struct sockaddr_un *s_un;
1349 s_un = (struct sockaddr_un *) sa;
1469 struct sockaddr_un s_un = {0};
1479 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1535 struct sockaddr_un *sa = (struct sockaddr_un *) sock_type;
1548 offsetof(struct sockaddr_un, sun_path) + addr_len);
1679 struct sockaddr_un s_un;
1805 struct sockaddr_un s_un;
/PHP-7.0/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.0/main/streams/
H A Dxp_socket.c543 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address()
622 struct sockaddr_un unix_addr; in php_tcp_sockop_bind()
638 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind()
703 struct sockaddr_un unix_addr; in php_tcp_sockop_connect()
717 …(const struct sockaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam… in php_tcp_sockop_connect()
/PHP-7.0/sapi/cgi/
H A Dconfig9.m425 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
/PHP-7.0/main/
H A Dnetwork.c655 struct sockaddr_un *ua = (struct sockaddr_un*)sa;
997 return sizeof(struct sockaddr_un);
H A Dfastcgi.c40 struct sockaddr_un { struct
244 struct sockaddr_un sa_unix;
752 sock_len = (size_t)(((struct sockaddr_un *)0)->sun_path) + path_len; in fcgi_listen()
/PHP-7.0/sapi/litespeed/
H A Dlsapilib.c2312 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2()
2313 unlink( ((struct sockaddr_un *)pServerAddr)->sun_path ); in LSAPI_CreateListenSock2()
2365 strncpy( ((struct sockaddr_un *)pAddr)->sun_path, p, in LSAPI_ParseSockAddr()
2366 sizeof(((struct sockaddr_un *)pAddr)->sun_path) ); in LSAPI_ParseSockAddr()

Completed in 48 milliseconds