Home
last modified time | relevance | path

Searched refs:inet_pton (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/ext/standard/tests/network/
H A Dinet.phpt2 inet_ntop() & inet_pton() tests
6 if (!function_exists("inet_pton")) die("skip no inet_pton()");
21 var_dump(inet_pton(""));
22 var_dump(inet_pton(-1));
23 var_dump(inet_pton("abra"));
32 var_dump(bin2hex($packed = inet_pton($val)));
H A Dinet_ipv6.phpt2 inet_ntop() & inet_pton() IPv6 tests
6 if (!function_exists("inet_pton")) die("skip no inet_pton()");
30 $packed = inet_pton($address);
H A Dip2long_variation2_x64.phpt5 /* from man inet_pton :
10 if(PHP_OS == 'Darwin') die("skip - inet_pton behaves differently on Darwin");
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_io.c273 rc = inet_pton(AF_INET, addr, &serveraddr);
280 rc = inet_pton(AF_INET6, addr, &serveraddr);
/PHP-8.0/ext/sockets/
H A Dsockaddr_conv.c25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr()
/PHP-8.0/win32/build/
H A Dconfig.w32.h.in116 /* inet_ntop() / inet_pton() */
/PHP-8.0/win32/
H A Dsendmail.c832 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect()
834 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
/PHP-8.0/main/
H A Dfastcgi.c792 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_listen()
796 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_listen()
852 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_set_allowed_clients()
856 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_set_allowed_clients()
H A Dnetwork.c550 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) {
880 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {
/PHP-8.0/ext/standard/
H A Ddns.c178 if (inet_pton(AF_INET6, ip, &addr6)) { in php_gethostbyaddr()
180 } else if (inet_pton(AF_INET, ip, &addr)) { in php_gethostbyaddr()
H A Dbasic_functions.c628 PHP_FUNCTION(inet_pton) in PHP_FUNCTION() argument
650 ret = inet_pton(af, address, buffer); in PHP_FUNCTION()
677 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
H A Dbasic_functions.stub.php489 function inet_pton(string $ip): string|false {} function
H A Dbasic_functions_arginfo.h2429 ZEND_FUNCTION(inet_pton);
3063 ZEND_FE(inet_pton, arginfo_inet_pton)
/PHP-8.0/
H A Dconfigure.ac580 inet_pton \

Completed in 54 milliseconds