Home
last modified time | relevance | path

Searched refs:IPV6_PKTINFO (Results 1 – 10 of 10) sorted by relevance

/PHP-8.2/ext/sockets/tests/
H A Dsocket_set_option_in6_pktinfo.phpt2 socket_set_option() with IPV6_PKTINFO
17 if (!defined('IPV6_PKTINFO')) {
18 die('skip IPV6_PKTINFO not available.');
24 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, []));
25 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [
29 //Oddly, Linux does not support IPV6_PKTINFO in sockgetopt().
33 //var_dump(socket_get_option($s, IPPROTO_IPV6, IPV6_PKTINFO));
H A Dsocket_sendrecvmsg_multi_msg.phpt14 * correctly by sending an IPV6_PKTINFO message that will have no effect */
42 "type" => IPV6_PKTINFO,
55 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO) +
H A Dsocket_recvmsg.phpt46 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO),
H A Dsocket_sendrecvmsg_multi_msg-unix.phpt57 "controllen" => socket_cmsg_space(IPPROTO_IPV6, IPV6_PKTINFO) +
/PHP-8.2/ext/sockets/
H A Dsendrecvmsg.c110 #if defined(IPV6_PKTINFO) && HAVE_IPV6 in init_ancillary_registry()
112 to_zval_read_in6_pktinfo, IPPROTO_IPV6, IPV6_PKTINFO); in init_ancillary_registry()
341 #ifdef IPV6_PKTINFO in php_do_setsockopt_ipv6_rfc3542()
342 case IPV6_PKTINFO: in php_do_setsockopt_ipv6_rfc3542()
392 #ifdef IPV6_PKTINFO in php_do_getsockopt_ipv6_rfc3542()
393 case IPV6_PKTINFO: in php_do_getsockopt_ipv6_rfc3542()
H A Dsendrecvmsg.h10 #define IPV6_RECVPKTINFO IPV6_PKTINFO
H A Dconversions.h59 #ifdef IPV6_PKTINFO
H A Dsockets.stub.php1602 const IPV6_PKTINFO = UNKNOWN; define
H A Dsockets_arginfo.h932 REGISTER_LONG_CONSTANT("IPV6_PKTINFO", IPV6_PKTINFO, CONST_PERSISTENT); in register_sockets_symbols()
H A Dconversions.c1237 #if defined(IPV6_PKTINFO) && HAVE_IPV6

Completed in 24 milliseconds