Lines Matching refs:arg4
139 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
162 convert_to_array(arg4); in php_do_mcast_opt()
163 opt_ht = Z_ARRVAL_P(arg4); in php_do_mcast_opt()
198 convert_to_array(arg4); in php_do_mcast_opt()
199 opt_ht = Z_ARRVAL_P(arg4); in php_do_mcast_opt()
238 zval *arg4) in php_do_setsockopt_ip_mcast() argument
256 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
263 if (php_get_if_index_from_zval(arg4, &if_index) == FAILURE) { in php_do_setsockopt_ip_mcast()
275 convert_to_boolean(arg4); in php_do_setsockopt_ip_mcast()
276 ipv4_mcast_ttl_lback = (unsigned char) (Z_TYPE_P(arg4) == IS_TRUE); in php_do_setsockopt_ip_mcast()
280 convert_to_long(arg4); in php_do_setsockopt_ip_mcast()
281 if (Z_LVAL_P(arg4) < 0L || Z_LVAL_P(arg4) > 255L) { in php_do_setsockopt_ip_mcast()
285 ipv4_mcast_ttl_lback = (unsigned char) Z_LVAL_P(arg4); in php_do_setsockopt_ip_mcast()
307 zval *arg4) in php_do_setsockopt_ipv6_mcast() argument
324 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
331 if (php_get_if_index_from_zval(arg4, &if_index) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
340 convert_to_boolean(arg4); in php_do_setsockopt_ipv6_mcast()
341 ov = (int) Z_TYPE_P(arg4) == IS_TRUE; in php_do_setsockopt_ipv6_mcast()
344 convert_to_long(arg4); in php_do_setsockopt_ipv6_mcast()
345 if (Z_LVAL_P(arg4) < -1L || Z_LVAL_P(arg4) > 255L) { in php_do_setsockopt_ipv6_mcast()
349 ov = (int) Z_LVAL_P(arg4); in php_do_setsockopt_ipv6_mcast()