Lines Matching refs:tcp_rr_request
5680 struct tcp_rr_request_struct *tcp_rr_request; in send_tcp_rr() local
5709 tcp_rr_request = in send_tcp_rr()
5828 tcp_rr_request->recv_buf_size = rsr_size_req; in send_tcp_rr()
5829 tcp_rr_request->send_buf_size = rss_size_req; in send_tcp_rr()
5830 tcp_rr_request->recv_alignment = remote_recv_align; in send_tcp_rr()
5831 tcp_rr_request->recv_offset = remote_recv_offset; in send_tcp_rr()
5832 tcp_rr_request->send_alignment = remote_send_align; in send_tcp_rr()
5833 tcp_rr_request->send_offset = remote_send_offset; in send_tcp_rr()
5834 tcp_rr_request->request_size = req_size; in send_tcp_rr()
5835 tcp_rr_request->response_size = rsp_size; in send_tcp_rr()
5836 tcp_rr_request->no_delay = rem_nodelay; in send_tcp_rr()
5837 tcp_rr_request->measure_cpu = remote_cpu_usage; in send_tcp_rr()
5838 tcp_rr_request->cpu_rate = remote_cpu_rate; in send_tcp_rr()
5839 tcp_rr_request->so_rcvavoid = rem_rcvavoid; in send_tcp_rr()
5840 tcp_rr_request->so_sndavoid = rem_sndavoid; in send_tcp_rr()
5842 tcp_rr_request->test_length = test_time; in send_tcp_rr()
5845 tcp_rr_request->test_length = test_trans * -1; in send_tcp_rr()
5847 tcp_rr_request->port = atoi(remote_data_port); in send_tcp_rr()
5848 tcp_rr_request->ipfamily = af_to_nf(remote_res->ai_family); in send_tcp_rr()
8379 struct tcp_rr_request_struct *tcp_rr_request; in recv_tcp_rr() local
8383 tcp_rr_request = in recv_tcp_rr()
8424 tcp_rr_request->recv_alignment, in recv_tcp_rr()
8425 tcp_rr_request->recv_offset); in recv_tcp_rr()
8427 tcp_rr_request->send_alignment, in recv_tcp_rr()
8428 tcp_rr_request->send_offset); in recv_tcp_rr()
8437 tcp_rr_request->response_size, in recv_tcp_rr()
8438 tcp_rr_request->send_alignment, in recv_tcp_rr()
8439 tcp_rr_request->send_offset); in recv_tcp_rr()
8442 tcp_rr_request->request_size, in recv_tcp_rr()
8443 tcp_rr_request->recv_alignment, in recv_tcp_rr()
8444 tcp_rr_request->recv_offset); in recv_tcp_rr()
8458 lss_size_req = tcp_rr_request->send_buf_size; in recv_tcp_rr()
8459 lsr_size_req = tcp_rr_request->recv_buf_size; in recv_tcp_rr()
8460 loc_nodelay = tcp_rr_request->no_delay; in recv_tcp_rr()
8461 loc_rcvavoid = tcp_rr_request->so_rcvavoid; in recv_tcp_rr()
8462 loc_sndavoid = tcp_rr_request->so_sndavoid; in recv_tcp_rr()
8466 nf_to_af(tcp_rr_request->ipfamily), in recv_tcp_rr()
8467 tcp_rr_request->port); in recv_tcp_rr()
8472 nf_to_af(tcp_rr_request->ipfamily), in recv_tcp_rr()
8534 if (tcp_rr_request->measure_cpu) { in recv_tcp_rr()
8536 tcp_rr_response->cpu_rate = calibrate_local_cpu(tcp_rr_request->cpu_rate); in recv_tcp_rr()
8547 tcp_rr_response->test_length = tcp_rr_request->test_length; in recv_tcp_rr()
8589 cpu_start(tcp_rr_request->measure_cpu); in recv_tcp_rr()
8594 if (tcp_rr_request->test_length > 0) { in recv_tcp_rr()
8597 start_timer(tcp_rr_request->test_length + PAD_TIME); in recv_tcp_rr()
8601 trans_remaining = tcp_rr_request->test_length * -1; in recv_tcp_rr()
8608 request_bytes_remaining = tcp_rr_request->request_size; in recv_tcp_rr()
8653 tcp_rr_request->response_size, in recv_tcp_rr()
8679 cpu_stop(tcp_rr_request->measure_cpu,&elapsed_time); in recv_tcp_rr()
8700 (tcp_rr_request->request_size + in recv_tcp_rr()
8701 tcp_rr_request->response_size)); in recv_tcp_rr()
8706 if (tcp_rr_request->measure_cpu) { in recv_tcp_rr()
11022 struct tcp_rr_request_struct *tcp_rr_request; in send_tcp_nbrr() local
11029 tcp_rr_request = in send_tcp_nbrr()
11140 tcp_rr_request->recv_buf_size = rsr_size_req; in send_tcp_nbrr()
11141 tcp_rr_request->send_buf_size = rss_size_req; in send_tcp_nbrr()
11142 tcp_rr_request->recv_alignment = remote_recv_align; in send_tcp_nbrr()
11143 tcp_rr_request->recv_offset = remote_recv_offset; in send_tcp_nbrr()
11144 tcp_rr_request->send_alignment = remote_send_align; in send_tcp_nbrr()
11145 tcp_rr_request->send_offset = remote_send_offset; in send_tcp_nbrr()
11146 tcp_rr_request->request_size = req_size; in send_tcp_nbrr()
11147 tcp_rr_request->response_size = rsp_size; in send_tcp_nbrr()
11148 tcp_rr_request->no_delay = rem_nodelay; in send_tcp_nbrr()
11149 tcp_rr_request->measure_cpu = remote_cpu_usage; in send_tcp_nbrr()
11150 tcp_rr_request->cpu_rate = remote_cpu_rate; in send_tcp_nbrr()
11151 tcp_rr_request->so_rcvavoid = rem_rcvavoid; in send_tcp_nbrr()
11152 tcp_rr_request->so_sndavoid = rem_sndavoid; in send_tcp_nbrr()
11154 tcp_rr_request->test_length = test_time; in send_tcp_nbrr()
11157 tcp_rr_request->test_length = test_trans * -1; in send_tcp_nbrr()
11627 struct tcp_rr_request_struct *tcp_rr_request; in recv_tcp_nbrr() local
11631 tcp_rr_request = in recv_tcp_nbrr()
11672 tcp_rr_request->recv_alignment, in recv_tcp_nbrr()
11673 tcp_rr_request->recv_offset); in recv_tcp_nbrr()
11675 tcp_rr_request->send_alignment, in recv_tcp_nbrr()
11676 tcp_rr_request->send_offset); in recv_tcp_nbrr()
11685 tcp_rr_request->response_size, in recv_tcp_nbrr()
11686 tcp_rr_request->send_alignment, in recv_tcp_nbrr()
11687 tcp_rr_request->send_offset); in recv_tcp_nbrr()
11690 tcp_rr_request->request_size, in recv_tcp_nbrr()
11691 tcp_rr_request->recv_alignment, in recv_tcp_nbrr()
11692 tcp_rr_request->recv_offset); in recv_tcp_nbrr()
11704 myaddr_in.sin_port = htons((unsigned short)tcp_rr_request->port); in recv_tcp_nbrr()
11717 lss_size_req = tcp_rr_request->send_buf_size; in recv_tcp_nbrr()
11718 lsr_size_req = tcp_rr_request->recv_buf_size; in recv_tcp_nbrr()
11719 loc_nodelay = tcp_rr_request->no_delay; in recv_tcp_nbrr()
11720 loc_rcvavoid = tcp_rr_request->so_rcvavoid; in recv_tcp_nbrr()
11721 loc_sndavoid = tcp_rr_request->so_sndavoid; in recv_tcp_nbrr()
11725 nf_to_af(tcp_rr_request->ipfamily), in recv_tcp_nbrr()
11726 tcp_rr_request->port); in recv_tcp_nbrr()
11731 nf_to_af(tcp_rr_request->ipfamily), in recv_tcp_nbrr()
11798 if (tcp_rr_request->measure_cpu) { in recv_tcp_nbrr()
11800 tcp_rr_response->cpu_rate = calibrate_local_cpu(tcp_rr_request->cpu_rate); in recv_tcp_nbrr()
11811 tcp_rr_response->test_length = tcp_rr_request->test_length; in recv_tcp_nbrr()
11848 cpu_start(tcp_rr_request->measure_cpu); in recv_tcp_nbrr()
11863 if (tcp_rr_request->test_length > 0) { in recv_tcp_nbrr()
11866 start_timer(tcp_rr_request->test_length + PAD_TIME); in recv_tcp_nbrr()
11870 trans_remaining = tcp_rr_request->test_length * -1; in recv_tcp_nbrr()
11877 request_bytes_remaining = tcp_rr_request->request_size; in recv_tcp_nbrr()
11924 tcp_rr_request->response_size, in recv_tcp_nbrr()
11950 cpu_stop(tcp_rr_request->measure_cpu,&elapsed_time); in recv_tcp_nbrr()
11971 (tcp_rr_request->request_size + in recv_tcp_nbrr()
11972 tcp_rr_request->response_size)); in recv_tcp_nbrr()
11977 if (tcp_rr_request->measure_cpu) { in recv_tcp_nbrr()