Lines Matching refs:optlen
1904 socklen_t optlen; local
1922 optlen = sizeof(if_addr);
1923 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1949 optlen = sizeof(linger_val);
1951 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1964 optlen = sizeof(tv);
1966 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1971 optlen = sizeof(int);
1973 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1989 optlen = sizeof(other_val);
1991 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1995 if (optlen == 1)
2011 int ov, optlen, retval; local
2080 optlen = sizeof(lv);
2107 optlen = sizeof(tv);
2111 optlen = sizeof(int);
2120 optlen = Z_STRLEN_P(arg4);
2123 optlen = 0;
2134 optlen = sizeof(ov);
2139 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);