Lines Matching refs:asoc
164 if (transport->asoc) in sctp_transport_destroy()
165 sctp_association_put(transport->asoc); in sctp_transport_destroy()
215 struct sctp_association *asoc) in sctp_transport_set_owner() argument
217 transport->asoc = asoc; in sctp_transport_set_owner()
218 sctp_association_hold(asoc); in sctp_transport_set_owner()
232 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local
234 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
235 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
249 struct sock *sk = t->asoc->base.sk; in sctp_transport_update_pmtu()
293 struct sctp_association *asoc = transport->asoc; in sctp_transport_route() local
309 if (transport->dst && asoc && in sctp_transport_route()
310 (!asoc->peer.primary_path || transport == asoc->peer.active_path)) in sctp_transport_route()
311 opt->pf->to_sk_saddr(&transport->saddr, asoc->base.sk); in sctp_transport_route()
337 struct net *net = tp->asoc->base.net; in sctp_transport_update_rto()
373 if (tp->rto < tp->asoc->rto_min) in sctp_transport_update_rto()
374 tp->rto = tp->asoc->rto_min; in sctp_transport_update_rto()
379 if (tp->rto > tp->asoc->rto_max) in sctp_transport_update_rto()
380 tp->rto = tp->asoc->rto_max; in sctp_transport_update_rto()
382 sctp_max_rto(tp->asoc, tp); in sctp_transport_update_rto()
400 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd() local
407 if (asoc->fast_recovery && in sctp_transport_raise_cwnd()
408 TSN_lte(asoc->fast_recovery_exit, sack_ctsn)) in sctp_transport_raise_cwnd()
409 asoc->fast_recovery = 0; in sctp_transport_raise_cwnd()
413 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
430 if (asoc->fast_recovery) in sctp_transport_raise_cwnd()
498 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd() local
510 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
511 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
514 asoc->fast_recovery = 0; in sctp_transport_lower_cwnd()
530 if (asoc->fast_recovery) in sctp_transport_lower_cwnd()
534 asoc->fast_recovery = 1; in sctp_transport_lower_cwnd()
535 asoc->fast_recovery_exit = asoc->next_tsn - 1; in sctp_transport_lower_cwnd()
538 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
558 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
574 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
599 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited() local
603 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
606 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
640 struct sctp_association *asoc = t->asoc; in sctp_transport_reset() local
647 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()
649 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()
650 t->rto = asoc->rto_initial; in sctp_transport_reset()
651 sctp_max_rto(asoc, t); in sctp_transport_reset()
677 sctp_retransmit(&t->asoc->outqueue, t, SCTP_RTXR_T3_RTX); in sctp_transport_immediate_rtx()