Lines Matching refs:optname
1738 zend_long level, optname; local
1740 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oll", &arg1, socket_ce, &level, &optname) == FAILURE) {
1748 switch (optname) {
1753 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1767 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1777 switch (optname) {
1781 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1796 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1803 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1822 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1847 zend_long level, optname; local
1853 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ollz", &arg1, socket_ce, &level, &optname, &arg4) == F…
1871 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4);
1877 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4);
1879 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4);
1885 switch (optname) {
1967 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);