/PHP-8.2/ext/sockets/tests/ |
H A D | ipv6loop.phpt | 13 $server = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP); 15 die('Unable to create AF_INET6 socket [server]'); 32 $client = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP); 34 die('Unable to create AF_INET6 socket [client]');
|
H A D | socket_getpeername_ipv6loop.phpt | 19 $server = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP); 21 die('Unable to create AF_INET6 socket [server]'); 41 $client = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP); 43 die('Unable to create AF_INET6 socket [client]');
|
H A D | socket_recvmsg.phpt | 24 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 31 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 44 "name" => ["family" => AF_INET6, "addr" => "::1"],
|
H A D | socket_sendrecvmsg_multi_msg-unix.phpt | 27 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 34 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 55 "name" => ["family" => AF_INET6, "addr" => "::1"],
|
H A D | socket_sendrecvmsg_multi_msg.phpt | 22 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 29 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err"); 53 "name" => ["family" => AF_INET6, "addr" => "::1"],
|
H A D | ipv6_skipif.inc | 2 if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {
|
H A D | mcast_ipv6_send.phpt | 12 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Cannot create socket"); 19 $domain = AF_INET6;
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 15 $socket = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 17 die('Unable to create AF_INET6 socket');
|
H A D | socket_sentto_recvfrom_ipv6_udp-win32.phpt | 14 $socket = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 16 die('Unable to create AF_INET6 socket');
|
H A D | bug51958.phpt | 15 $listenfd = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP);
|
H A D | socket_create_pair-wrongparams-win32.phpt | 29 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
|
H A D | socket_create_pair-wrongparams.phpt | 31 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
|
H A D | socket_set_option_in6_pktinfo.phpt | 23 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err");
|
H A D | mcast_ipv6_recv_limited.phpt | 11 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 44 $domain = AF_INET6;
|
H A D | mcast_ipv6_recv.phpt | 11 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 50 $domain = AF_INET6;
|
/PHP-8.2/ext/sockets/ |
H A D | sockaddr_conv.c | 25 if (inet_pton(AF_INET6, string, &tmp)) { in php_set_inet6_addr() 31 hints.ai_family = AF_INET6; in php_set_inet6_addr() 133 else if (php_sock->type == AF_INET6) { 137 ss->ss_family = AF_INET6;
|
H A D | sockets.c | 950 case AF_INET6: 1027 case AF_INET6: 1085 && domain != AF_INET6 1136 case AF_INET6: { 1275 case AF_INET6: 1463 case AF_INET6: 1554 case AF_INET6: 1998 && domain != AF_INET6 2408 case AF_INET6: 2471 case AF_INET6: [all …]
|
H A D | config.m4 | 18 ]], [[struct sockaddr_storage sa_store; sa_store.ss_family = AF_INET6;]])],
|
/PHP-8.2/ext/standard/ |
H A D | net.c | 58 #ifdef AF_INET6 in php_inet_ntop() 59 case AF_INET6: { in php_inet_ntop() 61 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop() 83 #ifdef AF_INET6 in php_inet_ntop() 84 case AF_INET6: in php_inet_ntop() 240 case AF_INET6: { in PHP_FUNCTION() 245 sin6_mask.sin6_family = AF_INET6; in PHP_FUNCTION()
|
H A D | file_arginfo.h | 69 #if defined(HAVE_IPV6) && (!defined(PF_INET6) && defined(AF_INET6)) in register_file_symbols() 70 REGISTER_LONG_CONSTANT("STREAM_PF_INET6", AF_INET6, CONST_PERSISTENT); in register_file_symbols()
|
/PHP-8.2/ext/standard/tests/network/ |
H A D | tcp6loop.phpt | 7 …Note: Might be a good idea to export an IPv6 support indicator (such as AF_INET6 exported by ext/s… 26 die('Unable to create AF_INET6 socket [server]'); 32 die('Unable to create AF_INET6 socket [client]');
|
H A D | udp6loop.phpt | 9 * (such as AF_INET6 exported by ext/sockets), however, since we 32 die('Unable to create AF_INET6 socket [server]'); 38 die('Unable to create AF_INET6 socket [client]');
|
/PHP-8.2/main/ |
H A D | network.c | 437 case AF_INET6: 551 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) { 553 in6->sin6_family = AF_INET6; 585 case AF_INET6: 646 case AF_INET6: 827 case AF_INET6: 882 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) { 980 case AF_INET6: { 982 sin6->sin6_family = AF_INET6; 1008 case AF_INET6:
|
H A D | fastcgi.c | 795 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { 796 allowed_clients[n].sa.sa_family = AF_INET6; 855 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { 856 allowed_clients[n].sa.sa_family = AF_INET6; 1340 if (client_sa.sa.sa_family == AF_INET6) { 1342 if (allowed_clients[i].sa.sa_family == AF_INET6 1757 if (client_sa.sa.sa_family == AF_INET6 1763 if (client_sa.sa.sa_family == AF_INET6) {
|
/PHP-8.2/ext/openssl/tests/ |
H A D | san_ipv6_peer_matching.phpt | 8 if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {
|