Lines Matching refs:t
236 void sctp_transport_update_pmtu(struct sock *sk, struct sctp_transport *t, u32 pmtu) in sctp_transport_update_pmtu() argument
247 t->pathmtu = SCTP_DEFAULT_MINSEGMENT; in sctp_transport_update_pmtu()
249 t->pathmtu = pmtu; in sctp_transport_update_pmtu()
252 dst = sctp_transport_dst_check(t); in sctp_transport_update_pmtu()
254 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu()
259 dst = sctp_transport_dst_check(t); in sctp_transport_update_pmtu()
261 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu()
569 void sctp_transport_burst_limited(struct sctp_transport *t) in sctp_transport_burst_limited() argument
571 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
572 u32 old_cwnd = t->cwnd; in sctp_transport_burst_limited()
575 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
578 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
580 t->cwnd = max_burst_bytes; in sctp_transport_burst_limited()
581 t->burst_limited = old_cwnd; in sctp_transport_burst_limited()
588 void sctp_transport_burst_reset(struct sctp_transport *t) in sctp_transport_burst_reset() argument
590 if (t->burst_limited) { in sctp_transport_burst_reset()
591 t->cwnd = t->burst_limited; in sctp_transport_burst_reset()
592 t->burst_limited = 0; in sctp_transport_burst_reset()
610 void sctp_transport_reset(struct sctp_transport *t) in sctp_transport_reset() argument
612 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
619 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()
620 t->burst_limited = 0; in sctp_transport_reset()
621 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()
622 t->rto = asoc->rto_initial; in sctp_transport_reset()
623 sctp_max_rto(asoc, t); in sctp_transport_reset()
624 t->rtt = 0; in sctp_transport_reset()
625 t->srtt = 0; in sctp_transport_reset()
626 t->rttvar = 0; in sctp_transport_reset()
631 t->partial_bytes_acked = 0; in sctp_transport_reset()
632 t->flight_size = 0; in sctp_transport_reset()
633 t->error_count = 0; in sctp_transport_reset()
634 t->rto_pending = 0; in sctp_transport_reset()
635 t->hb_sent = 0; in sctp_transport_reset()
638 t->cacc.changeover_active = 0; in sctp_transport_reset()
639 t->cacc.cycling_changeover = 0; in sctp_transport_reset()
640 t->cacc.next_tsn_at_change = 0; in sctp_transport_reset()
641 t->cacc.cacc_saw_newack = 0; in sctp_transport_reset()
645 void sctp_transport_immediate_rtx(struct sctp_transport *t) in sctp_transport_immediate_rtx() argument
648 if (del_timer(&t->T3_rtx_timer)) in sctp_transport_immediate_rtx()
649 sctp_transport_put(t); in sctp_transport_immediate_rtx()
651 sctp_retransmit(&t->asoc->outqueue, t, SCTP_RTXR_T3_RTX); in sctp_transport_immediate_rtx()
652 if (!timer_pending(&t->T3_rtx_timer)) { in sctp_transport_immediate_rtx()
653 if (!mod_timer(&t->T3_rtx_timer, jiffies + t->rto)) in sctp_transport_immediate_rtx()
654 sctp_transport_hold(t); in sctp_transport_immediate_rtx()