Searched refs:inet_pton (Results 1 – 14 of 14) sorted by relevance
/PHP-8.0/ext/standard/tests/network/ |
H A D | inet.phpt | 2 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 D | inet_ipv6.phpt | 2 inet_ntop() & inet_pton() IPv6 tests 6 if (!function_exists("inet_pton")) die("skip no inet_pton()"); 30 $packed = inet_pton($address);
|
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");
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_io.c | 273 rc = inet_pton(AF_INET, addr, &serveraddr); 280 rc = inet_pton(AF_INET6, addr, &serveraddr);
|
/PHP-8.0/ext/sockets/ |
H A D | sockaddr_conv.c | 25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr()
|
/PHP-8.0/win32/build/ |
H A D | config.w32.h.in | 116 /* inet_ntop() / inet_pton() */
|
/PHP-8.0/win32/ |
H A D | sendmail.c | 832 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 D | fastcgi.c | 792 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 D | network.c | 550 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 D | dns.c | 178 if (inet_pton(AF_INET6, ip, &addr6)) { in php_gethostbyaddr() 180 } else if (inet_pton(AF_INET, ip, &addr)) { in php_gethostbyaddr()
|
H A D | basic_functions.c | 628 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 D | basic_functions.stub.php | 489 function inet_pton(string $ip): string|false {} function
|
H A D | basic_functions_arginfo.h | 2429 ZEND_FUNCTION(inet_pton); 3063 ZEND_FE(inet_pton, arginfo_inet_pton)
|
/PHP-8.0/ |
H A D | configure.ac | 580 inet_pton \
|
Completed in 53 milliseconds