Searched refs:IPPROTO_IPV6 (Results 1 – 13 of 13) sorted by relevance
/PHP-8.2/ext/sockets/tests/ |
H A D | socket_set_option_in6_pktinfo.phpt | 11 if (!defined('IPPROTO_IPV6')) { 24 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [])); 25 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [ 33 //var_dump(socket_get_option($s, IPPROTO_IPV6, IPV6_PKTINFO));
|
H A D | socket_sendrecvmsg_multi_msg-unix.phpt | 9 if (!defined('IPPROTO_IPV6')) 39 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 40 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err"); 46 "level" => IPPROTO_IPV6, 57 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO) + 58 socket_cmsg_space(IPPROTO_IPV6, IPV6_TCLASS),
|
H A D | socket_sendrecvmsg_multi_msg.phpt | 9 if (!defined('IPPROTO_IPV6')) 34 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 35 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err"); 41 "level" => IPPROTO_IPV6, 55 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO) + 56 socket_cmsg_space(IPPROTO_IPV6, IPV6_TCLASS),
|
H A D | socket_recvmsg.phpt | 11 if (!defined('IPPROTO_IPV6')) { 36 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 46 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO),
|
H A D | mcast_ipv6_send.phpt | 8 if (getenv('CI_NO_IPV6') || !defined('IPPROTO_IPV6')) { 11 $level = IPPROTO_IPV6; 20 $level = IPPROTO_IPV6;
|
H A D | mcast_ipv6_recv_limited.phpt | 8 if (!defined('IPPROTO_IPV6')) { 16 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 27 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 32 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 45 $level = IPPROTO_IPV6;
|
H A D | mcast_ipv6_recv.phpt | 8 if (!defined('IPPROTO_IPV6')) { 20 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 35 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 39 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 51 $level = IPPROTO_IPV6;
|
H A D | bug51958.phpt | 8 if (!defined('IPPROTO_IPV6')) {
|
/PHP-8.2/ext/sockets/ |
H A D | sendrecvmsg.c | 112 to_zval_read_in6_pktinfo, IPPROTO_IPV6, IPV6_PKTINFO); in init_ancillary_registry() 117 to_zval_read_int, IPPROTO_IPV6, IPV6_HOPLIMIT); in init_ancillary_registry() 122 to_zval_read_int, IPPROTO_IPV6, IPV6_TCLASS); in init_ancillary_registry() 338 assert(level == IPPROTO_IPV6); in php_do_setsockopt_ipv6_rfc3542() 389 assert(level == IPPROTO_IPV6); in php_do_getsockopt_ipv6_rfc3542()
|
H A D | sockets.stub.php | 1508 const IPPROTO_IPV6 = UNKNOWN; define
|
H A D | sockets_arginfo.h | 899 REGISTER_LONG_CONSTANT("IPPROTO_IPV6", IPPROTO_IPV6, CONST_PERSISTENT); in register_sockets_symbols()
|
H A D | sockets.c | 1625 else if (level == IPPROTO_IPV6) { 1829 else if (level == IPPROTO_IPV6) {
|
/PHP-8.2/main/ |
H A D | network.c | 466 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&ipv6_val, sizeof(sockoptval));
|
Completed in 23 milliseconds