Searched refs:sockaddr_un (Results 1 – 13 of 13) sorted by relevance
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 131 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 D | fpm_sockets.h | 29 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
|
/PHP-7.3/ext/sockets/ |
H A D | php_sockets.h | 66 struct sockaddr_un { struct
|
H A D | conversions.c | 646 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 D | sockets.c | 1315 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 D | phpdbg_rinit_hook.c | 57 struct sockaddr_un sock; in PHP_RINIT_FUNCTION()
|
H A D | phpdbg_wait.c | 343 struct sockaddr_un local, remote; in PHPDBG_COMMAND()
|
/PHP-7.3/main/streams/ |
H A D | xp_socket.c | 547 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 D | config9.m4 | 23 [Define if sockaddr_un in sys/un.h contains a sun_len component])],
|
/PHP-7.3/main/ |
H A D | network.c | 652 struct sockaddr_un *ua = (struct sockaddr_un*)sa; 1011 return sizeof(struct sockaddr_un);
|
H A D | fastcgi.c | 38 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 D | lscriu.c | 136 #define SUN_PATH_MAX (sizeof(((struct sockaddr_un *)NULL)->sun_path))
|
H A D | lsapilib.c | 2578 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 68 milliseconds