Lines Matching full:asoc

170 	if (transport->asoc)  in sctp_transport_destroy()
171 sctp_association_put(transport->asoc); in sctp_transport_destroy()
233 struct sctp_association *asoc) in sctp_transport_set_owner() argument
235 transport->asoc = asoc; in sctp_transport_set_owner()
236 sctp_association_hold(asoc); in sctp_transport_set_owner()
250 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local
252 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
253 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
278 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
288 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
300 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
325 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_recv()
343 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_recv()
404 struct sock *sk = t->asoc->base.sk; in sctp_transport_update_pmtu()
453 struct sctp_association *asoc = transport->asoc; in sctp_transport_route() local
469 if (transport->dst && asoc && in sctp_transport_route()
470 (!asoc->peer.primary_path || transport == asoc->peer.active_path)) in sctp_transport_route()
471 opt->pf->to_sk_saddr(&transport->saddr, asoc->base.sk); in sctp_transport_route()
497 struct net *net = tp->asoc->base.net; in sctp_transport_update_rto()
533 if (tp->rto < tp->asoc->rto_min) in sctp_transport_update_rto()
534 tp->rto = tp->asoc->rto_min; in sctp_transport_update_rto()
539 if (tp->rto > tp->asoc->rto_max) in sctp_transport_update_rto()
540 tp->rto = tp->asoc->rto_max; in sctp_transport_update_rto()
542 sctp_max_rto(tp->asoc, tp); in sctp_transport_update_rto()
560 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd() local
567 if (asoc->fast_recovery && in sctp_transport_raise_cwnd()
568 TSN_lte(asoc->fast_recovery_exit, sack_ctsn)) in sctp_transport_raise_cwnd()
569 asoc->fast_recovery = 0; in sctp_transport_raise_cwnd()
573 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
590 if (asoc->fast_recovery) in sctp_transport_raise_cwnd()
658 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd() local
670 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
671 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
674 asoc->fast_recovery = 0; in sctp_transport_lower_cwnd()
690 if (asoc->fast_recovery) in sctp_transport_lower_cwnd()
694 asoc->fast_recovery = 1; in sctp_transport_lower_cwnd()
695 asoc->fast_recovery_exit = asoc->next_tsn - 1; in sctp_transport_lower_cwnd()
698 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
718 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
734 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
759 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited() local
763 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
766 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
800 struct sctp_association *asoc = t->asoc; in sctp_transport_reset() local
807 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()
809 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()
810 t->rto = asoc->rto_initial; in sctp_transport_reset()
811 sctp_max_rto(asoc, t); in sctp_transport_reset()
837 sctp_retransmit(&t->asoc->outqueue, t, SCTP_RTXR_T3_RTX); in sctp_transport_immediate_rtx()