Lines Matching refs:optname
231 ZEND_ARG_INFO(0, optname)
237 ZEND_ARG_INFO(0, optname)
1741 long level, optname; local
1743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &arg1, &level, &optname) == FAILURE) {
1749 switch(optname) {
1753 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1768 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1775 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1793 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1817 long level, optname; local
1828 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rllZ", &arg1, &level, &optname, &arg4) == FA…
1836 switch (optname) {
1897 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);