Lines Matching refs:whoTo

7061 		if (data_list[i]->whoTo == NULL) {  in sctp_clean_up_datalist()
7062 data_list[i]->whoTo = net; in sctp_clean_up_datalist()
7104 data_list[i]->whoTo->flight_size, in sctp_clean_up_datalist()
7106 (uint32_t)(uintptr_t)data_list[i]->whoTo, in sctp_clean_up_datalist()
7577 chk->whoTo = sp->net; in sctp_move_to_outqueue()
7578 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_move_to_outqueue()
7580 chk->whoTo = NULL; in sctp_move_to_outqueue()
7804 if (chk->whoTo == net) { in sctp_move_chunks_from_net()
7805 sctp_free_remote_addr(chk->whoTo); in sctp_move_chunks_from_net()
7806 chk->whoTo = NULL; in sctp_move_chunks_from_net()
7914 sack_goes_to = chk->whoTo; in sctp_med_chunk_output()
7927 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8012 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8014 chk->whoTo = asoc->alternate; in sctp_med_chunk_output()
8016 chk->whoTo = asoc->primary_destination; in sctp_med_chunk_output()
8018 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_med_chunk_output()
8090 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8101 if (chk->whoTo != net) { in sctp_med_chunk_output()
8187 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8188 chk->whoTo = net; in sctp_med_chunk_output()
8292 (chk->whoTo != sack_goes_to)) { in sctp_med_chunk_output()
8298 if (chk->whoTo == net) { in sctp_med_chunk_output()
8312 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8323 if (chk->whoTo != net) { in sctp_med_chunk_output()
8455 if (chk->whoTo == NULL) { in sctp_med_chunk_output()
8456 chk->whoTo = net; in sctp_med_chunk_output()
8652 if ((chk->whoTo != NULL) && in sctp_med_chunk_output()
8653 (chk->whoTo != net)) { in sctp_med_chunk_output()
8661 (chk->whoTo == NULL)) { in sctp_med_chunk_output()
8665 (chk->whoTo == NULL)) { in sctp_med_chunk_output()
9006 chk->whoTo = NULL; in sctp_queue_op_err()
9096 chk->whoTo = net; in sctp_send_cookie_echo()
9097 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_cookie_echo()
9152 chk->whoTo = net; in sctp_send_heartbeat_ack()
9153 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_heartbeat_ack()
9190 chk->whoTo = chk->asoc->last_control_chunk_from; in sctp_send_cookie_ack()
9191 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_cookie_ack()
9193 chk->whoTo = NULL; in sctp_send_cookie_ack()
9234 chk->whoTo = net; in sctp_send_shutdown_ack()
9235 if (chk->whoTo) { in sctp_send_shutdown_ack()
9236 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_shutdown_ack()
9259 if (chk->whoTo) { in sctp_send_shutdown()
9260 sctp_free_remote_addr(chk->whoTo); in sctp_send_shutdown()
9261 chk->whoTo = NULL; in sctp_send_shutdown()
9288 chk->whoTo = net; in sctp_send_shutdown()
9289 if (chk->whoTo) { in sctp_send_shutdown()
9290 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_shutdown()
9302 chk->whoTo = net; in sctp_send_shutdown()
9303 if (chk->whoTo) { in sctp_send_shutdown()
9304 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_shutdown()
9354 chk->whoTo = net; in sctp_send_asconf()
9355 if (chk->whoTo) { in sctp_send_asconf()
9356 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_asconf()
9439 chk->whoTo = net; in sctp_send_asconf_ack()
9440 if (chk->whoTo) { in sctp_send_asconf_ack()
9441 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_asconf_ack()
9560 sctp_timer_start(SCTP_TIMER_TYPE_COOKIE, inp, stcb, chk->whoTo); in sctp_chunk_retransmission()
9564 sctp_timer_start(SCTP_TIMER_TYPE_ASCONF, inp, stcb, chk->whoTo); in sctp_chunk_retransmission()
9568 if ((error = sctp_lowlevel_chunk_output(inp, stcb, chk->whoTo, in sctp_chunk_retransmission()
9569 (struct sockaddr *)&chk->whoTo->ro._l_addr, m, in sctp_chunk_retransmission()
9573 chk->whoTo->port, NULL, in sctp_chunk_retransmission()
9648 net = chk->whoTo; in sctp_chunk_retransmission()
9688 chk->whoTo->window_probe = 1; in sctp_chunk_retransmission()
9776 if (fwd->whoTo != net) { in sctp_chunk_retransmission()
9910 data_list[i]->whoTo->cwnd -= data_list[i]->book_size; in sctp_chunk_retransmission()
9942 data_list[i]->whoTo->flight_size, in sctp_chunk_retransmission()
9944 (uint32_t)(uintptr_t)data_list[i]->whoTo, in sctp_chunk_retransmission()
10347 if (chk->whoTo) { in send_forward_tsn()
10348 sctp_free_remote_addr(chk->whoTo); in send_forward_tsn()
10349 chk->whoTo = NULL; in send_forward_tsn()
10370 chk->whoTo = NULL; in send_forward_tsn()
10594 if (a_chk->whoTo) { in sctp_send_sack()
10595 sctp_free_remote_addr(a_chk->whoTo); in sctp_send_sack()
10596 a_chk->whoTo = NULL; in sctp_send_sack()
10628 a_chk->whoTo = NULL; in sctp_send_sack()
10635 a_chk->whoTo = sctp_find_alternate_net(stcb, asoc->last_data_chunk_from, 0); in sctp_send_sack()
10636 if (a_chk->whoTo == NULL) { in sctp_send_sack()
10638 a_chk->whoTo = asoc->last_data_chunk_from; in sctp_send_sack()
10641 a_chk->whoTo = asoc->last_data_chunk_from; in sctp_send_sack()
10643 if (a_chk->whoTo) { in sctp_send_sack()
10644 atomic_add_int(&a_chk->whoTo->ref_count, 1); in sctp_send_sack()
10665 (a_chk->whoTo == NULL)) { in sctp_send_sack()
10688 if (space > (a_chk->whoTo->mtu - SCTP_MIN_OVERHEAD)) { in sctp_send_sack()
10689 space = (a_chk->whoTo->mtu - SCTP_MIN_OVERHEAD); in sctp_send_sack()
11416 chk->whoTo = net; in sctp_send_hb()
11417 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_hb()
11489 if ((chk->rec.chunk_id.id == SCTP_ECN_ECHO) && (net == chk->whoTo)) { in sctp_send_ecn_echo()
11526 chk->whoTo = net; in sctp_send_ecn_echo()
11527 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_ecn_echo()
11658 chk->whoTo = net; in sctp_send_packet_dropped()
11659 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_packet_dropped()
11661 chk->whoTo = NULL; in sctp_send_packet_dropped()
11702 if ((chk->rec.chunk_id.id == SCTP_ECN_CWR) && (net == chk->whoTo)) { in sctp_send_cwr()
11740 chk->whoTo = net; in sctp_send_cwr()
11741 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_cwr()
11966 chk->whoTo = stcb->asoc.alternate; in sctp_send_deferred_reset_response()
11968 chk->whoTo = stcb->asoc.primary_destination; in sctp_send_deferred_reset_response()
11974 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_deferred_reset_response()
12119 chk->whoTo = stcb->asoc.alternate; in sctp_send_stream_reset_out_if_possible()
12121 chk->whoTo = stcb->asoc.primary_destination; in sctp_send_stream_reset_out_if_possible()
12127 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_stream_reset_out_if_possible()
12149 sctp_timer_start(SCTP_TIMER_TYPE_STRRESET, stcb->sctp_ep, stcb, chk->whoTo); in sctp_send_stream_reset_out_if_possible()
12224 chk->whoTo = stcb->asoc.alternate; in sctp_send_str_reset_req()
12226 chk->whoTo = stcb->asoc.primary_destination; in sctp_send_str_reset_req()
12228 atomic_add_int(&chk->whoTo->ref_count, 1); in sctp_send_str_reset_req()
12358 sctp_timer_start(SCTP_TIMER_TYPE_STRRESET, stcb->sctp_ep, stcb, chk->whoTo); in sctp_send_str_reset_req()