/php-src/ext/standard/tests/network/ |
H A D | inet.phpt | 2 inet_ntop() & inet_pton() tests 7 var_dump(inet_ntop($packed)); 10 var_dump(inet_ntop($packed)); 12 var_dump(inet_ntop(-1)); 13 var_dump(inet_ntop("")); 14 var_dump(inet_ntop("blah-blah")); 28 var_dump(inet_ntop($packed));
|
H A D | inet_ipv6.phpt | 2 inet_ntop() & inet_pton() IPv6 tests 7 if (@inet_ntop($packed) === false) { 29 var_dump(inet_ntop($packed));
|
/php-src/ext/snmp/tests/ |
H A D | ipv6.phpt | 12 if (@inet_ntop($packed) === false) {
|
H A D | bug64124.phpt | 12 if (@inet_ntop($packed) === false) {
|
/php-src/ext/standard/ |
H A D | net.c | 59 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop() 69 …if (inet_ntop(AF_INET, &(((struct sockaddr_in*)addr)->sin_addr), ZSTR_VAL(ret), INET_ADDRSTRLEN)) { in php_inet_ntop()
|
H A D | dns_win32.c | 180 if (!inet_ntop(AF_INET, &ipaddr, ip, INET_ADDRSTRLEN)) { in php_parserr()
|
H A D | dns.c | 281 if (!(ipaddr = inet_ntop(AF_INET, &in, addr4, INET_ADDRSTRLEN))) { in PHP_FUNCTION() 314 if (!(address = inet_ntop(AF_INET, &in, addr4, INET_ADDRSTRLEN))) { in php_gethostbyname()
|
H A D | basic_functions.c | 541 PHP_FUNCTION(inet_ntop) in PHP_FUNCTION() argument 561 if (!inet_ntop(af, address, buffer, sizeof(buffer))) { in PHP_FUNCTION() 636 const char* result = inet_ntop(AF_INET, &myaddr, str, sizeof(str)); in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 2227 function inet_ntop(string $ip): string|false {}
|
H A D | basic_functions_arginfo.h | 2495 ZEND_FUNCTION(inet_ntop); 3093 ZEND_FE(inet_ntop, arginfo_inet_ntop)
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 145 inet_ntop(sa->sa_family, fpm_get_in_addr(sa), key, INET6_ADDRSTRLEN); in fpm_sockets_hash_op() 322 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_socket_by_addr()
|
/php-src/ext/sockets/ |
H A D | sockets.c | 988 inet_ntop(AF_INET6, &sin6->sin6_addr, addrbuf, sizeof(addrbuf)); 999 addr_string = inet_ntop(AF_INET, &sin->sin_addr, addrbuf, sizeof(addrbuf)); 1059 inet_ntop(AF_INET6, &sin6->sin6_addr, addrbuf, sizeof(addrbuf)); 1072 addr_string = inet_ntop(AF_INET, &sin->sin_addr, addrbuf, sizeof(addrbuf)); 1502 address = inet_ntop(AF_INET, &sin.sin_addr, addrbuf, sizeof(addrbuf)); 1530 inet_ntop(AF_INET6, &sin6.sin6_addr, addrbuf, sizeof(addrbuf)); 2707 inet_ntop(ai->addrinfo.ai_family, &sa->sin_addr, addr, sizeof(addr)); 2718 inet_ntop(ai->addrinfo.ai_family, &sa->sin6_addr, addr, sizeof(addr));
|
H A D | multicast.c | 701 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index() 829 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));
|
H A D | conversions.c | 578 if (inet_ntop(AF_INET, addr, Z_STRVAL_P(zv), size) == NULL) { in to_zval_read_sin_addr() 629 if (inet_ntop(AF_INET6, addr, Z_STRVAL_P(zv), size) == NULL) { in to_zval_read_sin6_addr()
|
/php-src/main/ |
H A D | network.c | 625 buf = inet_ntop(AF_INET, &((struct sockaddr_in*)sa)->sin_addr, (char *)&abuf, sizeof(abuf)); 635 …buf = (char*)inet_ntop(sa->sa_family, &((struct sockaddr_in6*)sa)->sin6_addr, (char *)&abuf, sizeo…
|
H A D | fastcgi.c | 1749 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet.sin_addr, str, INET6_ADDRSTRLEN); 1756 return inet_ntop(AF_INET, ((char *)&client_sa.sa_inet6.sin6_addr)+12, str, INET6_ADDRSTRLEN); 1761 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet6.sin6_addr, str, INET6_ADDRSTRLEN);
|
/php-src/ext/snmp/ |
H A D | snmp.c | 859 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init() 862 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
|
/php-src/ |
H A D | configure.ac | 594 AC_CHECK_FUNC([inet_ntop],, [AC_MSG_FAILURE([Required inet_ntop not found.])])
|
/php-src/ext/ftp/ |
H A D | ftp.c | 1739 r = inet_ntop(AF_INET6, &((struct sockaddr_in6*) sa)->sin6_addr, out, sizeof(out)); in ftp_getdata()
|