Lines Matching refs:optname
148 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC) in php_do_mcast_opt() argument
160 switch (optname) { in php_do_mcast_opt()
231 "This is a bug.", level, optname); in php_do_mcast_opt()
246 int optname, in php_do_setsockopt_ip_mcast() argument
256 switch (optname) { in php_do_setsockopt_ip_mcast()
265 if (php_do_mcast_opt(php_sock, level, optname, arg4 TSRMLS_CC) == FAILURE) { in php_do_setsockopt_ip_mcast()
304 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
315 int optname, in php_do_setsockopt_ipv6_mcast() argument
324 switch (optname) { in php_do_setsockopt_ipv6_mcast()
333 if (php_do_mcast_opt(php_sock, level, optname, arg4 TSRMLS_CC) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
368 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()