Lines Matching refs:optname
139 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
151 switch (optname) { in php_do_mcast_opt()
222 "This is a bug.", level, optname); in php_do_mcast_opt()
237 int optname, in php_do_setsockopt_ip_mcast() argument
247 switch (optname) { in php_do_setsockopt_ip_mcast()
256 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
295 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
306 int optname, in php_do_setsockopt_ipv6_mcast() argument
315 switch (optname) { in php_do_setsockopt_ipv6_mcast()
324 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
359 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()