Searched refs:addr_len (Results 1 – 6 of 6) sorted by relevance
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 324 int addr_len; in fpm_socket_af_inet_listening_socket() local 334 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 335 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 336 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
|
/PHP-8.0/ext/sockets/ |
H A D | sockets.c | 1276 size_t addr_len; local 1332 if (addr_len >= sizeof(s_un.sun_path)) { 1338 memcpy(&s_un.sun_path, addr, addr_len); 1340 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len)); 1379 size_t addr_len; local 1397 if (addr_len >= sizeof(sa->sun_path)) { 1401 memcpy(&sa->sun_path, addr, addr_len); 1404 offsetof(struct sockaddr_un, sun_path) + addr_len); 1652 size_t buf_len, addr_len; local 2119 socklen_t addr_len = sizeof(addr); local [all …]
|
/PHP-8.0/ext/standard/ |
H A D | basic_functions.c | 665 size_t addr_len; in PHP_FUNCTION() local 673 Z_PARAM_STRING(addr, addr_len) in PHP_FUNCTION() 677 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION() 682 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) { in PHP_FUNCTION() 686 if (addr_len == sizeof("255.255.255.255") - 1 && in PHP_FUNCTION()
|
H A D | dns.c | 146 size_t addr_len; in PHP_FUNCTION() local 150 Z_PARAM_PATH(addr, addr_len) in PHP_FUNCTION()
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 166 socklen_t addr_len; member 1884 …_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ in php_cli_server_client_ctor() argument 1889 client->addr_len = addr_len; in php_cli_server_client_ctor() 1893 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0); in php_cli_server_client_ctor()
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapilib.c | 2575 int addr_len; in LSAPI_CreateListenSock2() local 2580 addr_len = 16; in LSAPI_CreateListenSock2() 2583 addr_len = sizeof( struct sockaddr_in6 ); in LSAPI_CreateListenSock2() 2586 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2() 2602 ret = bind( fd, pServerAddr, addr_len ); in LSAPI_CreateListenSock2()
|
Completed in 33 milliseconds