Searched refs:inet_pton (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/network/ |
H A D | inet.phpt | 2 inet_ntop() & inet_pton() tests 16 var_dump(inet_pton("")); 17 var_dump(inet_pton(-1)); 18 var_dump(inet_pton("abra")); 27 var_dump(bin2hex($packed = inet_pton($val)));
|
H A D | ip2long_variation2_x64.phpt | 5 /* from man inet_pton : 10 if(PHP_OS == 'Darwin') die("skip - inet_pton behaves differently on Darwin"); 11 if(PHP_OS == 'OpenBSD') die("skip - inet_pton accepts leading zeros on OpenBSD");
|
H A D | inet_ipv6.phpt | 2 inet_ntop() & inet_pton() IPv6 tests 28 $packed = inet_pton($address);
|
/php-src/ext/sockets/ |
H A D | sockaddr_conv.c | 25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr() 92 if (inet_pton(AF_INET, string, &tmp)) { in php_set_inet_addr()
|
/php-src/main/ |
H A D | network.c | 244 if (!inet_pton(AF_INET, host, &in)) { in php_network_getaddresses() 549 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) { 557 if (inet_pton(AF_INET, tmp, &in4->sin_addr) > 0) { 858 if (inet_pton(AF_INET, bindto, &local_address.in4.sin_addr) == 1) { 866 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) {
|
H A D | fastcgi.c | 684 if (!inet_pton(AF_INET, host, &sa.sa_inet.sin_addr)) { in fcgi_listen() 784 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_listen() 788 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_listen() 844 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_set_allowed_clients() 848 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_set_allowed_clients()
|
/php-src/win32/ |
H A D | sendmail.c | 833 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect() 835 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
|
/php-src/ext/standard/ |
H A D | dns.c | 181 if (inet_pton(AF_INET6, ip, &sa6.sin6_addr)) { in php_gethostbyaddr() 188 } else if (inet_pton(AF_INET, ip, &sa4.sin_addr)) { in php_gethostbyaddr()
|
H A D | basic_functions.c | 570 PHP_FUNCTION(inet_pton) in PHP_FUNCTION() argument 592 ret = inet_pton(af, address, buffer); in PHP_FUNCTION() 613 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 2230 function inet_pton(string $ip): string|false {}
|
H A D | basic_functions_arginfo.h | 2496 ZEND_FUNCTION(inet_pton); 3094 ZEND_FE(inet_pton, arginfo_inet_pton)
|
/php-src/ |
H A D | configure.ac | 595 AC_CHECK_FUNC([inet_pton],, [AC_MSG_FAILURE([Required inet_pton not found.])])
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 469 if (inet_pton(AF_INET6, subject_name, &ipv6)) { in php_openssl_matches_san_list()
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 2691 if (!inet_pton(AF_INET, p, &((struct sockaddr_in *)pAddr)->sin_addr)) in LSAPI_ParseSockAddr()
|
Completed in 76 milliseconds