Searched refs:addr_len (Results 1 – 6 of 6) sorted by relevance
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 256 int addr_len; in fpm_socket_af_inet_listening_socket() local 278 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 279 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 280 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
|
/PHP-7.0/ext/sockets/ |
H A D | sockets.c | 1414 size_t addr_len; local 1471 if (addr_len >= sizeof(s_un.sun_path)) { 1477 memcpy(&s_un.sun_path, addr, addr_len); 1479 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len)); 1520 size_t addr_len; local 1539 if (addr_len >= sizeof(sa->sun_path)) { 1545 memcpy(&sa->sun_path, addr, addr_len); 1548 offsetof(struct sockaddr_un, sun_path) + addr_len); 1811 size_t buf_len, addr_len; local 2277 socklen_t addr_len = sizeof(addr); local [all …]
|
/PHP-7.0/ext/standard/ |
H A D | dns.c | 159 size_t addr_len; in PHP_FUNCTION() local 162 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &addr, &addr_len) == FAILURE) { in PHP_FUNCTION()
|
H A D | basic_functions.c | 3946 size_t addr_len; in PHP_FUNCTION() local 3953 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &addr, &addr_len) == FAILURE) { in PHP_FUNCTION() 3958 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION() 3963 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) { in PHP_FUNCTION() 3967 if (addr_len == sizeof("255.255.255.255") - 1 && in PHP_FUNCTION()
|
/PHP-7.0/sapi/cli/ |
H A D | php_cli_server.c | 166 socklen_t addr_len; member 1836 …_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ in php_cli_server_client_ctor() argument 1841 client->addr_len = addr_len; in php_cli_server_client_ctor() 1845 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0); in php_cli_server_client_ctor()
|
/PHP-7.0/sapi/litespeed/ |
H A D | lsapilib.c | 2301 int addr_len; in LSAPI_CreateListenSock2() local 2306 addr_len = 16; in LSAPI_CreateListenSock2() 2309 addr_len = sizeof( struct sockaddr_in6 ); in LSAPI_CreateListenSock2() 2312 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2() 2328 ret = bind( fd, pServerAddr, addr_len ); in LSAPI_CreateListenSock2()
|
Completed in 61 milliseconds