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