Lines Matching full:asoc
168 if (transport->asoc) in sctp_transport_destroy()
169 sctp_association_put(transport->asoc); in sctp_transport_destroy()
231 struct sctp_association *asoc) in sctp_transport_set_owner() argument
233 transport->asoc = asoc; in sctp_transport_set_owner()
234 sctp_association_hold(asoc); in sctp_transport_set_owner()
248 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local
250 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
251 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
276 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
286 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
298 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
323 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_recv()
341 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_recv()
402 struct sock *sk = t->asoc->base.sk; in sctp_transport_update_pmtu()
451 struct sctp_association *asoc = transport->asoc; in sctp_transport_route() local
467 if (transport->dst && asoc && in sctp_transport_route()
468 (!asoc->peer.primary_path || transport == asoc->peer.active_path)) in sctp_transport_route()
469 opt->pf->to_sk_saddr(&transport->saddr, asoc->base.sk); in sctp_transport_route()
495 struct net *net = tp->asoc->base.net; in sctp_transport_update_rto()
531 if (tp->rto < tp->asoc->rto_min) in sctp_transport_update_rto()
532 tp->rto = tp->asoc->rto_min; in sctp_transport_update_rto()
537 if (tp->rto > tp->asoc->rto_max) in sctp_transport_update_rto()
538 tp->rto = tp->asoc->rto_max; in sctp_transport_update_rto()
540 sctp_max_rto(tp->asoc, tp); in sctp_transport_update_rto()
558 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd() local
565 if (asoc->fast_recovery && in sctp_transport_raise_cwnd()
566 TSN_lte(asoc->fast_recovery_exit, sack_ctsn)) in sctp_transport_raise_cwnd()
567 asoc->fast_recovery = 0; in sctp_transport_raise_cwnd()
571 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
588 if (asoc->fast_recovery) in sctp_transport_raise_cwnd()
656 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd() local
668 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
669 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
672 asoc->fast_recovery = 0; in sctp_transport_lower_cwnd()
688 if (asoc->fast_recovery) in sctp_transport_lower_cwnd()
692 asoc->fast_recovery = 1; in sctp_transport_lower_cwnd()
693 asoc->fast_recovery_exit = asoc->next_tsn - 1; in sctp_transport_lower_cwnd()
696 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
716 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
732 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
757 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited() local
761 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
764 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
798 struct sctp_association *asoc = t->asoc; in sctp_transport_reset() local
805 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()
807 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()
808 t->rto = asoc->rto_initial; in sctp_transport_reset()
809 sctp_max_rto(asoc, t); in sctp_transport_reset()
835 sctp_retransmit(&t->asoc->outqueue, t, SCTP_RTXR_T3_RTX); in sctp_transport_immediate_rtx()