/PHP-8.4/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 | socket_sentto_recvfrom_ipv6_udp-win32.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.phpt | 15 $socket = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 17 die('Unable to create AF_INET6 socket');
|
H A D | bug51958.phpt | 16 $listenfd = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP);
|
H A D | mcast_ipv6_send.phpt | 15 $s = @socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Cannot create socket"); 22 $domain = AF_INET6;
|
H A D | socket_create_pair-wrongparams-win32.phpt | 30 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 | 32 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 | 24 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err");
|
H A D | mcast_ipv6_recv_limited.phpt | 13 $s = @socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 50 $domain = AF_INET6;
|
H A D | mcast_ipv6_recv.phpt | 13 $s = @socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); 53 $domain = AF_INET6;
|
/PHP-8.4/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() 129 else if (php_sock->type == AF_INET6) { in php_set_inet46_addr() 133 ss->ss_family = AF_INET6; in php_set_inet46_addr()
|
H A D | sockets.c | 986 case AF_INET6: 1057 case AF_INET6: 1110 && domain != AF_INET6 1173 case AF_INET6: { 1315 case AF_INET6: 1509 case AF_INET6: 1606 case AF_INET6: 2100 && domain != AF_INET6 2552 case AF_INET6: 2615 case AF_INET6: [all …]
|
H A D | conversions.c | 629 if (inet_ntop(AF_INET6, addr, Z_STRVAL_P(zv), size) == NULL) { in to_zval_read_sin6_addr() 743 if (ctx->sock->type != AF_INET && ctx->sock->type != AF_INET6) { in from_zval_write_sockaddr_aux() 757 case AF_INET6: in from_zval_write_sockaddr_aux() 758 if (ctx->sock->type != AF_INET6) { in from_zval_write_sockaddr_aux() 767 (*sockaddr_ptr)->sa_family = AF_INET6; in from_zval_write_sockaddr_aux() 821 case AF_INET6: in to_zval_read_sockaddr_aux()
|
/PHP-8.4/ext/standard/ |
H A D | net.c | 56 #ifdef AF_INET6 in php_inet_ntop() 57 case AF_INET6: { in php_inet_ntop() 59 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop() 80 #ifdef AF_INET6 in php_inet_ntop() 81 case AF_INET6: in php_inet_ntop() 237 case AF_INET6: { in PHP_FUNCTION() 242 sin6_mask.sin6_family = AF_INET6; in PHP_FUNCTION()
|
H A D | file_arginfo.h | 67 #if defined(HAVE_IPV6) && (!defined(PF_INET6) && defined(AF_INET6)) in register_file_symbols() 68 REGISTER_LONG_CONSTANT("STREAM_PF_INET6", AF_INET6, CONST_PERSISTENT); in register_file_symbols()
|
/PHP-8.4/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.4/main/ |
H A D | network.c | 435 case AF_INET6: 549 if (inet_pton(AF_INET6, tmp, &in6->sin6_addr) > 0) { 551 in6->sin6_family = AF_INET6; 579 case AF_INET6: 634 case AF_INET6: 815 case AF_INET6: 866 if (inet_pton(AF_INET6, bindto, &local_address.in6.sin6_addr) == 1) { 964 case AF_INET6: { 966 sin6->sin6_family = AF_INET6; 992 case AF_INET6:
|
H A D | fastcgi.c | 788 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_listen() 789 allowed_clients[n].sa.sa_family = AF_INET6; in fcgi_listen() 848 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_set_allowed_clients() 849 allowed_clients[n].sa.sa_family = AF_INET6; in fcgi_set_allowed_clients() 1331 if (client_sa.sa.sa_family == AF_INET6) { in fcgi_is_allowed() 1333 if (allowed_clients[i].sa.sa_family == AF_INET6 in fcgi_is_allowed() 1754 if (client_sa.sa.sa_family == AF_INET6 1760 if (client_sa.sa.sa_family == AF_INET6) {
|
/PHP-8.4/ext/openssl/tests/ |
H A D | san_ipv6_peer_matching.phpt | 8 if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {
|