Lines Matching refs:tcp_cc_request
12068 struct tcp_cc_request_struct *tcp_cc_request; in send_tcp_cc() local
12072 tcp_cc_request = in send_tcp_cc()
12135 tcp_cc_request->recv_buf_size = rsr_size_req; in send_tcp_cc()
12136 tcp_cc_request->send_buf_size = rss_size_req; in send_tcp_cc()
12137 tcp_cc_request->recv_alignment = remote_recv_align; in send_tcp_cc()
12138 tcp_cc_request->recv_offset = remote_recv_offset; in send_tcp_cc()
12139 tcp_cc_request->send_alignment = remote_send_align; in send_tcp_cc()
12140 tcp_cc_request->send_offset = remote_send_offset; in send_tcp_cc()
12141 tcp_cc_request->request_size = req_size; in send_tcp_cc()
12142 tcp_cc_request->response_size = rsp_size; in send_tcp_cc()
12143 tcp_cc_request->no_delay = rem_nodelay; in send_tcp_cc()
12144 tcp_cc_request->measure_cpu = remote_cpu_usage; in send_tcp_cc()
12145 tcp_cc_request->cpu_rate = remote_cpu_rate; in send_tcp_cc()
12146 tcp_cc_request->so_rcvavoid = rem_rcvavoid; in send_tcp_cc()
12147 tcp_cc_request->so_sndavoid = rem_sndavoid; in send_tcp_cc()
12149 tcp_cc_request->test_length = test_time; in send_tcp_cc()
12152 tcp_cc_request->test_length = test_trans * -1; in send_tcp_cc()
12154 tcp_cc_request->port = atoi(remote_data_port); in send_tcp_cc()
12155 tcp_cc_request->ipfamily = af_to_nf(remote_res->ai_family); in send_tcp_cc()
12604 struct tcp_cc_request_struct *tcp_cc_request; in recv_tcp_cc() local
12608 tcp_cc_request = in recv_tcp_cc()
12658 tcp_cc_request->recv_alignment, in recv_tcp_cc()
12659 tcp_cc_request->recv_offset); in recv_tcp_cc()
12662 tcp_cc_request->send_alignment, in recv_tcp_cc()
12663 tcp_cc_request->send_offset); in recv_tcp_cc()
12667 …recv_message_ptr = ALIGN_BUFFER(message, tcp_cc_request->recv_alignment, tcp_cc_request->recv_offs… in recv_tcp_cc()
12669 …send_message_ptr = ALIGN_BUFFER(message, tcp_cc_request->send_alignment, tcp_cc_request->send_offs… in recv_tcp_cc()
12687 lss_size_req = tcp_cc_request->send_buf_size; in recv_tcp_cc()
12688 lsr_size_req = tcp_cc_request->recv_buf_size; in recv_tcp_cc()
12689 loc_nodelay = tcp_cc_request->no_delay; in recv_tcp_cc()
12690 loc_rcvavoid = tcp_cc_request->so_rcvavoid; in recv_tcp_cc()
12691 loc_sndavoid = tcp_cc_request->so_sndavoid; in recv_tcp_cc()
12695 nf_to_af(tcp_cc_request->ipfamily), in recv_tcp_cc()
12696 tcp_cc_request->port); in recv_tcp_cc()
12701 nf_to_af(tcp_cc_request->ipfamily), in recv_tcp_cc()
12773 if (tcp_cc_request->measure_cpu) { in recv_tcp_cc()
12776 calibrate_local_cpu(tcp_cc_request->cpu_rate); in recv_tcp_cc()
12796 cpu_start(tcp_cc_request->measure_cpu); in recv_tcp_cc()
12801 if (tcp_cc_request->test_length > 0) { in recv_tcp_cc()
12804 start_timer(tcp_cc_request->test_length + PAD_TIME); in recv_tcp_cc()
12808 trans_remaining = tcp_cc_request->test_length * -1; in recv_tcp_cc()
12887 cpu_stop(tcp_cc_request->measure_cpu,&elapsed_time); in recv_tcp_cc()
12905 (tcp_cc_request->request_size + in recv_tcp_cc()
12906 tcp_cc_request->response_size)); in recv_tcp_cc()
12910 if (tcp_cc_request->measure_cpu) { in recv_tcp_cc()