Searched refs:inet_pton (Results 1 – 13 of 13) sorted by relevance
/PHP-5.3/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()"); 22 var_dump(inet_pton()); 23 var_dump(inet_pton(b"")); 24 var_dump(inet_pton(-1)); 25 var_dump(inet_pton(b"abra")); 34 var_dump(bin2hex($packed = inet_pton($val))); 56 Warning: inet_pton() expects exactly 1 parameter, 0 given in %s on line %d 59 Warning: inet_pton(): Unrecognized address in %s on line %d 62 Warning: inet_pton(): Unrecognized address -1 in %s on line %d [all …]
|
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); 43 Warning: inet_pton(): Unrecognized address in %s on line %d
|
/PHP-5.3/win32/ |
H A D | inet.h | 7 PHPAPI int inet_pton(int af, const char* src, void* dst);
|
H A D | inet.c | 10 PHPAPI int inet_pton(int af, const char* src, void* dst) in inet_pton() function
|
H A D | sendmail.c | 796 if (inet_pton(AF_INET, ent->h_name, &addr) == 1 || inet_pton(AF_INET6, ent->h_name, &addr6) == 1) in MailConnect() 798 if (inet_pton(AF_INET, ent->h_name, &addr) == 1) in MailConnect()
|
/PHP-5.3/win32/build/ |
H A D | config.w32.h.in | 162 /* inet_ntop() / inet_pton() */
|
/PHP-5.3/ext/standard/ |
H A D | dns.c | 188 if (inet_pton(AF_INET6, ip, &addr6)) { in php_gethostbyaddr() 190 } else if (inet_pton(AF_INET, ip, &addr)) { in php_gethostbyaddr()
|
H A D | basic_functions.c | 2915 PHP_RAW_NAMED_FE(inet_pton, php_inet_pton, arginfo_inet_pton) 3903 ret = inet_pton(af, address, buffer); in PHP_NAMED_FUNCTION() 3932 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
|
/PHP-5.3/main/ |
H A D | network.c | 533 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) { 858 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {
|
/PHP-5.3/ |
H A D | UPGRADING | 454 imagecolorclosesthwb(), mcrypt_create_iv(), inet_ntop(), inet_pton(),
|
H A D | configure.in | 557 inet_pton \
|
H A D | NEWS | 2750 . Added inet_pton() and inet_ntop() also for Windows platforms. 4777 - Fixed incorrect function names on FreeBSD where inet_pton() was named 6058 . inet_pton() (Sara)
|
/PHP-5.3/ext/sockets/ |
H A D | sockets.c | 541 if (inet_pton(AF_INET6, string, &tmp)) {
|
Completed in 64 milliseconds