Home
last modified time | relevance | path

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

/php-src/ext/sockets/tests/
H A Dsocket_set_option_in6_pktinfo.phpt11 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 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_recv_limited.phpt8 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 Dmcast_ipv6_send.phpt8 if (getenv('CI_NO_IPV6') || !defined('IPPROTO_IPV6')) {
11 $level = IPPROTO_IPV6;
23 $level = IPPROTO_IPV6;
H A Dbug51958.phpt8 if (!defined('IPPROTO_IPV6')) {
H A Dmcast_ipv6_recv.phpt8 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 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.php1637 const IPPROTO_IPV6 = UNKNOWN; define
H A Dsockets_arginfo.h944 REGISTER_LONG_CONSTANT("IPPROTO_IPV6", IPPROTO_IPV6, CONST_PERSISTENT); in register_sockets_symbols()
H A Dsockets.c1679 else if (level == IPPROTO_IPV6) {
1909 else if (level == IPPROTO_IPV6) {
/php-src/main/
H A Dnetwork.c464 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&ipv6_val, sizeof(sockoptval));

Completed in 24 milliseconds