Searched refs:inet_pton (Results 1 – 15 of 15) sorted by relevance
/PHP-8.1/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.1/ext/sockets/ |
H A D | sockaddr_conv.c | 25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr() 93 if (inet_pton(AF_INET, string, &tmp)) {
|
/PHP-8.1/main/ |
H A D | network.c | 241 if (!inet_pton(AF_INET, host, &in)) { 549 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) { 558 if (inet_pton(AF_INET, tmp, &in4->sin_addr) > 0) { 869 if (inet_pton(AF_INET, bindto, &local_address.in4.sin_addr) == 1) { 881 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) {
|
H A D | fastcgi.c | 687 if (!inet_pton(AF_INET, host, &sa.sa_inet.sin_addr)) { 791 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { 795 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { 851 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { 855 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) {
|
/PHP-8.1/win32/build/ |
H A D | config.w32.h.in | 116 /* inet_ntop() / inet_pton() */
|
/PHP-8.1/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.1/ext/standard/ |
H A D | dns.c | 182 if (inet_pton(AF_INET6, ip, &sa6.sin6_addr)) { in php_gethostbyaddr() 189 } else if (inet_pton(AF_INET, ip, &sa4.sin_addr)) { in php_gethostbyaddr()
|
H A D | basic_functions.c | 633 PHP_FUNCTION(inet_pton) in PHP_FUNCTION() argument 655 ret = inet_pton(af, address, buffer); in PHP_FUNCTION() 682 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 652 function inet_pton(string $ip): string|false {} function
|
H A D | basic_functions_arginfo.h | 2439 ZEND_FUNCTION(inet_pton); 3076 ZEND_FE(inet_pton, arginfo_inet_pton)
|
/PHP-8.1/ext/openssl/ |
H A D | xp_ssl.c | 454 if (inet_pton(AF_INET6, subject_name, &ipv6)) { in php_openssl_matches_san_list()
|
/PHP-8.1/ |
H A D | configure.ac | 589 inet_pton \
|
/PHP-8.1/sapi/litespeed/ |
H A D | lsapilib.c | 2721 if (!inet_pton(AF_INET, p, &((struct sockaddr_in *)pAddr)->sin_addr)) in LSAPI_ParseSockAddr()
|
Completed in 78 milliseconds