Lines Matching full:sctp_stream_request
408 struct sctp_stream_request_struct *sctp_stream_request;
412 sctp_stream_request =
532 sctp_stream_request->send_buf_size = rss_size_req;
533 sctp_stream_request->recv_buf_size = rsr_size_req;
534 sctp_stream_request->receive_size = recv_size;
535 sctp_stream_request->no_delay = rem_nodelay;
536 sctp_stream_request->recv_alignment = remote_recv_align;
537 sctp_stream_request->recv_offset = remote_recv_offset;
538 sctp_stream_request->measure_cpu = remote_cpu_usage;
539 sctp_stream_request->cpu_rate = remote_cpu_rate;
541 sctp_stream_request->test_length = test_time;
547 sctp_stream_request->test_length = test_bytes;
549 sctp_stream_request->so_rcvavoid = rem_rcvavoid;
550 sctp_stream_request->so_sndavoid = rem_sndavoid;
552 sctp_stream_request->dirty_count = rem_dirty_count;
553 sctp_stream_request->clean_count = rem_clean_count;
555 sctp_stream_request->port = htonl(atoi(remote_data_port));
556 sctp_stream_request->ipfamily = af_to_nf(remote_res->ai_family);
557 sctp_stream_request->non_blocking = non_block;
1086 struct sctp_stream_request_struct *sctp_stream_request;
1096 sctp_stream_request =
1138 sctp_stream_request->recv_alignment);
1146 lss_size_req = sctp_stream_request->send_buf_size;
1147 lsr_size_req = sctp_stream_request->recv_buf_size;
1148 loc_nodelay = sctp_stream_request->no_delay;
1149 loc_rcvavoid = sctp_stream_request->so_rcvavoid;
1150 loc_sndavoid = sctp_stream_request->so_sndavoid;
1151 non_block = sctp_stream_request->non_blocking;
1155 nf_to_af(sctp_stream_request->ipfamily),
1156 sctp_stream_request->port);
1161 nf_to_af(sctp_stream_request->ipfamily),
1175 if (sctp_stream_request->receive_size == 0) {
1184 recv_size = sctp_stream_request->receive_size;
1201 sctp_stream_request->recv_alignment,
1202 sctp_stream_request->recv_offset);
1206 recv_size, sctp_stream_request->recv_alignment,
1207 sctp_stream_request->recv_offset);
1237 if (sctp_stream_request->measure_cpu) {
1240 calibrate_local_cpu(sctp_stream_request->cpu_rate);
1300 cpu_start(sctp_stream_request->measure_cpu);
1311 dirty_count = sctp_stream_request->dirty_count;
1312 clean_count = sctp_stream_request->clean_count;
1403 cpu_stop(sctp_stream_request->measure_cpu,&elapsed_time);
1421 if (sctp_stream_request->measure_cpu) {
1541 struct sctp_stream_request_struct *sctp_stream_request;
1545 sctp_stream_request =
1657 sctp_stream_request->send_buf_size = rss_size_req;
1658 sctp_stream_request->recv_buf_size = rsr_size_req;
1659 sctp_stream_request->receive_size = recv_size;
1660 sctp_stream_request->no_delay = rem_nodelay;
1661 sctp_stream_request->recv_alignment = remote_recv_align;
1662 sctp_stream_request->recv_offset = remote_recv_offset;
1663 sctp_stream_request->measure_cpu = remote_cpu_usage;
1664 sctp_stream_request->cpu_rate = remote_cpu_rate;
1666 sctp_stream_request->test_length = test_time;
1672 sctp_stream_request->test_length = test_bytes*num_associations;
1674 sctp_stream_request->so_rcvavoid = rem_rcvavoid;
1675 sctp_stream_request->so_sndavoid = rem_sndavoid;
1677 sctp_stream_request->dirty_count = rem_dirty_count;
1678 sctp_stream_request->clean_count = rem_clean_count;
1680 sctp_stream_request->port = (atoi(remote_data_port));
1681 sctp_stream_request->ipfamily = af_to_nf(remote_res->ai_family);
1682 sctp_stream_request->non_blocking = non_block;
2244 struct sctp_stream_request_struct *sctp_stream_request;
2254 sctp_stream_request =
2296 sctp_stream_request->recv_alignment);
2304 lss_size_req = sctp_stream_request->send_buf_size;
2305 lsr_size_req = sctp_stream_request->recv_buf_size;
2306 loc_nodelay = sctp_stream_request->no_delay;
2307 loc_rcvavoid = sctp_stream_request->so_rcvavoid;
2308 loc_sndavoid = sctp_stream_request->so_sndavoid;
2309 non_block = sctp_stream_request->non_blocking;
2313 nf_to_af(sctp_stream_request->ipfamily),
2314 sctp_stream_request->port);
2319 nf_to_af(sctp_stream_request->ipfamily),
2333 if (sctp_stream_request->receive_size == 0) {
2342 recv_size = sctp_stream_request->receive_size;
2359 sctp_stream_request->recv_alignment,
2360 sctp_stream_request->recv_offset);
2402 if (sctp_stream_request->measure_cpu) {
2405 calibrate_local_cpu(sctp_stream_request->cpu_rate);
2437 cpu_start(sctp_stream_request->measure_cpu);
2448 dirty_count = sctp_stream_request->dirty_count;
2449 clean_count = sctp_stream_request->clean_count;
2523 cpu_stop(sctp_stream_request->measure_cpu,&elapsed_time);
2541 if (sctp_stream_request->measure_cpu) {