Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/tests/network/
H A Dinet.phpt2 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 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);
43 Warning: inet_pton(): Unrecognized address in %s on line %d
/PHP-5.4/win32/
H A Dinet.h7 PHPAPI int inet_pton(int af, const char* src, void* dst);
H A Dinet.c10 PHPAPI int inet_pton(int af, const char* src, void* dst) in inet_pton() function
H A Dsendmail.c796 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.4/win32/build/
H A Dconfig.w32.h.in160 /* inet_ntop() / inet_pton() */
/PHP-5.4/main/
H A Dnetwork.c539 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) {
864 if (inet_pton(AF_INET6, bindto, &in6->sin6_addr) < 1) {
/PHP-5.4/ext/standard/
H A Ddns.c188 if (inet_pton(AF_INET6, ip, &addr6)) { in php_gethostbyaddr()
190 } else if (inet_pton(AF_INET, ip, &addr)) { in php_gethostbyaddr()
H A Dbasic_functions.c2925 PHP_RAW_NAMED_FE(inet_pton, php_inet_pton, arginfo_inet_pton)
3875 ret = inet_pton(af, address, buffer); in PHP_NAMED_FUNCTION()
3904 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
/PHP-5.4/ext/sockets/
H A Dsockets.c622 if (inet_pton(AF_INET6, string, &tmp)) {
/PHP-5.4/
H A Dconfigure.in633 inet_pton \
H A DNEWS4611 . Added inet_pton() and inet_ntop() also for Windows platforms.
6638 - Fixed incorrect function names on FreeBSD where inet_pton() was named
7919 . inet_pton() (Sara)

Completed in 196 milliseconds