Home
last modified time | relevance | path

Searched refs:opt_ptr (Results 1 – 3 of 3) sorted by relevance

/PHP-7.3/ext/sockets/
H A Dmulticast.c247 void *opt_ptr; in php_do_setsockopt_ip_mcast() local
275 opt_ptr = &if_addr; in php_do_setsockopt_ip_mcast()
293 opt_ptr = &ipv4_mcast_ttl_lback; in php_do_setsockopt_ip_mcast()
301 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
316 void *opt_ptr; in php_do_setsockopt_ipv6_mcast() local
341 opt_ptr = &if_index; in php_do_setsockopt_ipv6_mcast()
358 opt_ptr = &ov; in php_do_setsockopt_ipv6_mcast()
366 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()
H A Dsendrecvmsg.c322 void *opt_ptr; in php_do_setsockopt_ipv6_rfc3542() local
343 opt_ptr = from_zval_run_conversions(arg4, php_sock, from_zval_write_in6_pktinfo, in php_do_setsockopt_ipv6_rfc3542()
360 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_rfc3542()
H A Dsockets.c2118 void *opt_ptr; local
2181 opt_ptr = &lv;
2208 opt_ptr = &tv;
2212 opt_ptr = &timeout;
2219 opt_ptr = Z_STRVAL_P(arg4);
2222 opt_ptr = "";
2235 opt_ptr = &ov;
2239 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);

Completed in 18 milliseconds