Home
last modified time | relevance | path

Searched refs:IPPROTO_IPV6 (Results 1 – 13 of 13) sorted by relevance

/PHP-8.2/ext/sockets/tests/
H A Dsocket_set_option_in6_pktinfo.phpt11 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 Dsocket_sendrecvmsg_multi_msg-unix.phpt9 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 Dsocket_sendrecvmsg_multi_msg.phpt9 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 Dsocket_recvmsg.phpt11 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 Dmcast_ipv6_send.phpt8 if (getenv('CI_NO_IPV6') || !defined('IPPROTO_IPV6')) {
11 $level = IPPROTO_IPV6;
20 $level = IPPROTO_IPV6;
H A Dmcast_ipv6_recv_limited.phpt8 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 Dmcast_ipv6_recv.phpt8 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 Dbug51958.phpt8 if (!defined('IPPROTO_IPV6')) {
/PHP-8.2/ext/sockets/
H A Dsendrecvmsg.c112 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 Dsockets.stub.php1508 const IPPROTO_IPV6 = UNKNOWN; define
H A Dsockets_arginfo.h899 REGISTER_LONG_CONSTANT("IPPROTO_IPV6", IPPROTO_IPV6, CONST_PERSISTENT); in register_sockets_symbols()
H A Dsockets.c1625 else if (level == IPPROTO_IPV6) {
1829 else if (level == IPPROTO_IPV6) {
/PHP-8.2/main/
H A Dnetwork.c466 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&ipv6_val, sizeof(sockoptval));

Completed in 29 milliseconds