Lines Matching refs:tcp_cc_request
11214 struct tcp_cc_request_struct *tcp_cc_request; in send_tcp_cc() local
11218 tcp_cc_request = in send_tcp_cc()
11281 tcp_cc_request->recv_buf_size = rsr_size_req; in send_tcp_cc()
11282 tcp_cc_request->send_buf_size = rss_size_req; in send_tcp_cc()
11283 tcp_cc_request->recv_alignment = remote_recv_align; in send_tcp_cc()
11284 tcp_cc_request->recv_offset = remote_recv_offset; in send_tcp_cc()
11285 tcp_cc_request->send_alignment = remote_send_align; in send_tcp_cc()
11286 tcp_cc_request->send_offset = remote_send_offset; in send_tcp_cc()
11287 tcp_cc_request->request_size = req_size; in send_tcp_cc()
11288 tcp_cc_request->response_size = rsp_size; in send_tcp_cc()
11289 tcp_cc_request->no_delay = rem_nodelay; in send_tcp_cc()
11290 tcp_cc_request->measure_cpu = remote_cpu_usage; in send_tcp_cc()
11291 tcp_cc_request->cpu_rate = remote_cpu_rate; in send_tcp_cc()
11292 tcp_cc_request->so_rcvavoid = rem_rcvavoid; in send_tcp_cc()
11293 tcp_cc_request->so_sndavoid = rem_sndavoid; in send_tcp_cc()
11295 tcp_cc_request->test_length = test_time; in send_tcp_cc()
11298 tcp_cc_request->test_length = test_trans * -1; in send_tcp_cc()
11300 tcp_cc_request->port = atoi(remote_data_port); in send_tcp_cc()
11301 tcp_cc_request->ipfamily = af_to_nf(remote_res->ai_family); in send_tcp_cc()
11740 struct tcp_cc_request_struct *tcp_cc_request; in recv_tcp_cc() local
11744 tcp_cc_request = in recv_tcp_cc()
11794 tcp_cc_request->recv_alignment, in recv_tcp_cc()
11795 tcp_cc_request->recv_offset); in recv_tcp_cc()
11798 tcp_cc_request->send_alignment, in recv_tcp_cc()
11799 tcp_cc_request->send_offset); in recv_tcp_cc()
11803 …recv_message_ptr = ALIGN_BUFFER(message, tcp_cc_request->recv_alignment, tcp_cc_request->recv_offs… in recv_tcp_cc()
11805 …send_message_ptr = ALIGN_BUFFER(message, tcp_cc_request->send_alignment, tcp_cc_request->send_offs… in recv_tcp_cc()
11823 lss_size_req = tcp_cc_request->send_buf_size; in recv_tcp_cc()
11824 lsr_size_req = tcp_cc_request->recv_buf_size; in recv_tcp_cc()
11825 loc_nodelay = tcp_cc_request->no_delay; in recv_tcp_cc()
11826 loc_rcvavoid = tcp_cc_request->so_rcvavoid; in recv_tcp_cc()
11827 loc_sndavoid = tcp_cc_request->so_sndavoid; in recv_tcp_cc()
11831 nf_to_af(tcp_cc_request->ipfamily), in recv_tcp_cc()
11832 tcp_cc_request->port); in recv_tcp_cc()
11837 nf_to_af(tcp_cc_request->ipfamily), in recv_tcp_cc()
11909 if (tcp_cc_request->measure_cpu) { in recv_tcp_cc()
11912 calibrate_local_cpu(tcp_cc_request->cpu_rate); in recv_tcp_cc()
11932 cpu_start(tcp_cc_request->measure_cpu); in recv_tcp_cc()
11937 if (tcp_cc_request->test_length > 0) { in recv_tcp_cc()
11940 start_timer(tcp_cc_request->test_length + PAD_TIME); in recv_tcp_cc()
11944 trans_remaining = tcp_cc_request->test_length * -1; in recv_tcp_cc()
12023 cpu_stop(tcp_cc_request->measure_cpu,&elapsed_time); in recv_tcp_cc()
12041 (tcp_cc_request->request_size + in recv_tcp_cc()
12042 tcp_cc_request->response_size)); in recv_tcp_cc()
12045 if (tcp_cc_request->measure_cpu) { in recv_tcp_cc()