Lines Matching refs:optname
150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
162 switch (optname) { in php_do_mcast_opt()
233 "This is a bug.", level, optname); in php_do_mcast_opt()
248 int optname, in php_do_setsockopt_ip_mcast() argument
258 switch (optname) { in php_do_setsockopt_ip_mcast()
267 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
307 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
318 int optname, in php_do_setsockopt_ipv6_mcast() argument
327 switch (optname) { in php_do_setsockopt_ipv6_mcast()
336 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
372 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()