Lines Matching refs:optlen

1652 	socklen_t		optlen;  local
1671 optlen = sizeof(if_addr);
1672 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1700 optlen = sizeof(name);
1701 if (getsockopt(php_sock->bsd_socket, level, optname, name, &optlen) != 0) {
1717 optlen = sizeof(tsf);
1719 if (getsockopt(php_sock->bsd_socket, level, optname, &tsf, &optlen) != 0) {
1740 optlen = sizeof(linger_val);
1742 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1754 optlen = sizeof(timeout);
1756 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1777 optlen = sizeof(minfo);
1779 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)minfo, &optlen) != 0) {
1784 if (UNEXPECTED(optlen != sizeof(minfo))) {
1809 optlen = sizeof(af);
1811 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&af, &optlen) != 0) {
1833 optlen = sizeof(fi);
1835 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)fi, &optlen) != 0) {
1842 for (i = 0; i < optlen / sizeof(struct fil_info); i++) {
1852 optlen = sizeof(other_val);
1854 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1859 if (optlen == 1) {
1873 int ov, optlen, retval; local
1926 optlen = Z_STRLEN_P(arg4);
1929 optlen = 0;
1931 if (setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen) != 0) {
1949 optlen = sizeof(tfs);
1951 if (setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen) != 0) {
2007 optlen = sizeof(lv);
2044 optlen = sizeof(tv);
2065 optlen = sizeof(timeout);
2074 optlen = Z_STRLEN_P(arg4);
2077 optlen = 0;
2092 optlen = sizeof(af);
2109 optlen = Z_STRLEN_P(arg4);
2120 optlen = sizeof(ov);
2142 optlen = sizeof(bpfprog);
2153 optlen = sizeof(ov);
2158 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);