Lines Matching refs:asoc

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