Home
last modified time | relevance | path

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

/PHP-8.1/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.1/ext/sockets/
H A Dsockaddr_conv.c25 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 Dnetwork.c241 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 Dfastcgi.c687 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 Dconfig.w32.h.in116 /* inet_ntop() / inet_pton() */
/PHP-8.1/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.1/ext/standard/
H A Ddns.c182 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 Dbasic_functions.c633 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 Dbasic_functions.stub.php652 function inet_pton(string $ip): string|false {} function
H A Dbasic_functions_arginfo.h2439 ZEND_FUNCTION(inet_pton);
3076 ZEND_FE(inet_pton, arginfo_inet_pton)
/PHP-8.1/ext/openssl/
H A Dxp_ssl.c454 if (inet_pton(AF_INET6, subject_name, &ipv6)) { in php_openssl_matches_san_list()
/PHP-8.1/
H A Dconfigure.ac589 inet_pton \
/PHP-8.1/sapi/litespeed/
H A Dlsapilib.c2721 if (!inet_pton(AF_INET, p, &((struct sockaddr_in *)pAddr)->sin_addr)) in LSAPI_ParseSockAddr()

Completed in 74 milliseconds