Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.2/ext/sockets/tests/
H A Dipv6loop.phpt13 $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 Dsocket_getpeername_ipv6loop.phpt19 $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 Dsocket_recvmsg.phpt24 $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 Dsocket_sendrecvmsg_multi_msg-unix.phpt27 $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 Dsocket_sendrecvmsg_multi_msg.phpt22 $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 Dipv6_skipif.inc2 if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {
H A Dmcast_ipv6_send.phpt12 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Cannot create socket");
19 $domain = AF_INET6;
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt15 $socket = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
17 die('Unable to create AF_INET6 socket');
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt14 $socket = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
16 die('Unable to create AF_INET6 socket');
H A Dbug51958.phpt15 $listenfd = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP);
H A Dsocket_create_pair-wrongparams-win32.phpt29 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
H A Dsocket_create_pair-wrongparams.phpt31 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
H A Dsocket_set_option_in6_pktinfo.phpt23 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err");
H A Dmcast_ipv6_recv_limited.phpt11 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
44 $domain = AF_INET6;
H A Dmcast_ipv6_recv.phpt11 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
50 $domain = AF_INET6;
/PHP-8.2/ext/sockets/
H A Dsockaddr_conv.c25 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 Dsockets.c950 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 Dconfig.m418 ]], [[struct sockaddr_storage sa_store; sa_store.ss_family = AF_INET6;]])],
/PHP-8.2/ext/standard/
H A Dnet.c58 #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 Dfile_arginfo.h69 #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 Dtcp6loop.phpt7 …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 Dudp6loop.phpt9 * (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 Dnetwork.c437 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 Dfastcgi.c795 } 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 Dsan_ipv6_peer_matching.phpt8 if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {

Completed in 48 milliseconds

12