Searched refs:IPPROTO_IPV6 (Results 1 – 13 of 13) sorted by relevance
/php-src/ext/sockets/tests/ |
H A D | socket_set_option_in6_pktinfo.phpt | 11 if (!defined('IPPROTO_IPV6')) { 25 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [])); 26 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [ 34 //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_recv_limited.phpt | 8 if (!defined('IPPROTO_IPV6')) { 21 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 32 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 37 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 51 $level = IPPROTO_IPV6;
|
H A D | mcast_ipv6_send.phpt | 8 if (getenv('CI_NO_IPV6') || !defined('IPPROTO_IPV6')) { 11 $level = IPPROTO_IPV6; 23 $level = IPPROTO_IPV6;
|
H A D | bug51958.phpt | 8 if (!defined('IPPROTO_IPV6')) {
|
H A D | mcast_ipv6_recv.phpt | 8 if (!defined('IPPROTO_IPV6')) { 22 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 37 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 41 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 54 $level = IPPROTO_IPV6;
|
/php-src/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 | 1637 const IPPROTO_IPV6 = UNKNOWN; define
|
H A D | sockets_arginfo.h | 944 REGISTER_LONG_CONSTANT("IPPROTO_IPV6", IPPROTO_IPV6, CONST_PERSISTENT); in register_sockets_symbols()
|
H A D | sockets.c | 1679 else if (level == IPPROTO_IPV6) { 1909 else if (level == IPPROTO_IPV6) {
|
/php-src/main/ |
H A D | network.c | 464 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&ipv6_val, sizeof(sockoptval));
|
Completed in 31 milliseconds