Lines Matching refs:optlen
1889 socklen_t optlen; local
1907 optlen = sizeof(if_addr);
1908 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1934 optlen = sizeof(linger_val);
1936 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1949 optlen = sizeof(tv);
1951 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1956 optlen = sizeof(int);
1958 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1974 optlen = sizeof(other_val);
1976 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1980 if (optlen == 1)
1996 int ov, optlen, retval; local
2065 optlen = sizeof(lv);
2092 optlen = sizeof(tv);
2096 optlen = sizeof(int);
2105 optlen = Z_STRLEN_P(arg4);
2108 optlen = 0;
2119 optlen = sizeof(ov);
2124 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);