Searched refs:addr_len (Results 1 – 6 of 6) sorted by relevance
/PHP-8.1/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.1/ext/sockets/ |
H A D | sockets.c | 1288 size_t addr_len; local 1344 if (addr_len >= sizeof(s_un.sun_path)) { 1350 memcpy(&s_un.sun_path, addr, addr_len); 1352 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len)); 1391 size_t addr_len; local 1409 if (addr_len >= sizeof(sa->sun_path)) { 1413 memcpy(&sa->sun_path, addr, addr_len); 1416 offsetof(struct sockaddr_un, sun_path) + addr_len); 1670 size_t buf_len, addr_len; local 2168 socklen_t addr_len = sizeof(addr); local [all …]
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.c | 670 size_t addr_len; in PHP_FUNCTION() local 678 Z_PARAM_STRING(addr, addr_len) in PHP_FUNCTION() 682 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION() 687 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) { in PHP_FUNCTION() 691 if (addr_len == sizeof("255.255.255.255") - 1 && in PHP_FUNCTION()
|
H A D | dns.c | 150 size_t addr_len; in PHP_FUNCTION() local 154 Z_PARAM_PATH(addr, addr_len) in PHP_FUNCTION()
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 166 socklen_t addr_len; member 1897 …_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ in php_cli_server_client_ctor() argument 1902 client->addr_len = addr_len; in php_cli_server_client_ctor() 1906 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0); in php_cli_server_client_ctor()
|
/PHP-8.1/sapi/litespeed/ |
H A D | lsapilib.c | 2619 int addr_len; in LSAPI_CreateListenSock2() local 2624 addr_len = 16; in LSAPI_CreateListenSock2() 2627 addr_len = sizeof( struct sockaddr_in6 ); in LSAPI_CreateListenSock2() 2630 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2() 2646 ret = bind( fd, pServerAddr, addr_len ); in LSAPI_CreateListenSock2()
|
Completed in 104 milliseconds