Home
last modified time | relevance | path

Searched refs:inet_ntop (Results 1 – 19 of 19) sorted by relevance

/PHP-8.0/ext/standard/tests/network/
H A Dinet.phpt2 inet_ntop() & inet_pton() tests
5 if (!function_exists("inet_ntop")) die("skip no inet_ntop()");
12 var_dump(inet_ntop($packed));
15 var_dump(inet_ntop($packed));
17 var_dump(inet_ntop(-1));
18 var_dump(inet_ntop(""));
19 var_dump(inet_ntop("blah-blah"));
33 var_dump(inet_ntop($packed));
H A Dinet_ipv6.phpt2 inet_ntop() & inet_pton() IPv6 tests
5 if (!function_exists("inet_ntop")) die("skip no inet_ntop()");
9 if (@inet_ntop($packed) === false) {
31 var_dump(inet_ntop($packed));
/PHP-8.0/ext/snmp/tests/
H A Dipv6.phpt10 if (@inet_ntop($packed) === false) {
H A Dbug64124.phpt10 if (@inet_ntop($packed) === false) {
/PHP-8.0/ext/standard/
H A Dnet.c61 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop()
71 …if (inet_ntop(AF_INET, &(((struct sockaddr_in*)addr)->sin_addr), ZSTR_VAL(ret), INET_ADDRSTRLEN)) { in php_inet_ntop()
H A Dbasic_functions.c597 PHP_FUNCTION(inet_ntop) in PHP_FUNCTION() argument
617 if (!inet_ntop(af, address, buffer, sizeof(buffer))) { in PHP_FUNCTION()
717 if (inet_ntop(AF_INET, &myaddr, str, sizeof(str))) { in PHP_FUNCTION()
H A Dbasic_functions.stub.php485 function inet_ntop(string $ip): string|false {} function
H A Dbasic_functions_arginfo.h2426 ZEND_FUNCTION(inet_ntop);
3060 ZEND_FE(inet_ntop, arginfo_inet_ntop)
/PHP-8.0/win32/build/
H A Dconfig.w32.h.in116 /* inet_ntop() / inet_pton() */
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_sockets.c141 inet_ntop(sa->sa_family, fpm_get_in_addr(sa), key, INET6_ADDRSTRLEN); in fpm_sockets_hash_op()
303 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_socket_by_addr()
/PHP-8.0/ext/sockets/
H A Dmulticast.c703 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index()
831 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));
H A Dsockets.c1113 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1185 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1625 inet_ntop(AF_INET6, &sin6.sin6_addr, addr6, INET6_ADDRSTRLEN);
2517 inet_ntop(ai->addrinfo.ai_family, &sa->sin_addr, addr, sizeof(addr));
2528 inet_ntop(ai->addrinfo.ai_family, &sa->sin6_addr, addr, sizeof(addr));
H A Dconversions.c570 if (inet_ntop(AF_INET, addr, Z_STRVAL_P(zv), size) == NULL) { in to_zval_read_sin_addr()
621 if (inet_ntop(AF_INET6, addr, Z_STRVAL_P(zv), size) == NULL) { in to_zval_read_sin6_addr()
/PHP-8.0/main/
H A Dfastcgi.c1752 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet.sin_addr, str, INET6_ADDRSTRLEN);
1759 return inet_ntop(AF_INET, ((char *)&client_sa.sa_inet6.sin6_addr)+12, str, INET6_ADDRSTRLEN);
1764 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet6.sin6_addr, str, INET6_ADDRSTRLEN);
H A Dnetwork.c638 …buf = (char*)inet_ntop(sa->sa_family, &((struct sockaddr_in6*)sa)->sin6_addr, (char *)&abuf, sizeo…
/PHP-8.0/ext/snmp/
H A Dsnmp.c865 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
868 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
/PHP-8.0/ext/ftp/
H A Dftp.c1697 inet_ntop(AF_INET6, &((struct sockaddr_in6*) sa)->sin6_addr, out, sizeof(out)); in ftp_getdata()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.c1148 inet_ntop(AF_INET, &(((struct sockaddr_in *)&address)->sin_addr), buffer, sizeof(buffer)); in phpdbg_remote_init()
/PHP-8.0/
H A Dconfigure.ac579 inet_ntop \

Completed in 86 milliseconds