• Home
  • Raw
  • Download

Lines Matching refs:asoc

151 		sctp_association_put(transport->asoc);  in sctp_transport_free()
179 if (transport->asoc) in sctp_transport_destroy()
180 sctp_association_put(transport->asoc); in sctp_transport_destroy()
214 struct sctp_association *asoc) in sctp_transport_set_owner() argument
216 transport->asoc = asoc; in sctp_transport_set_owner()
217 sctp_association_hold(asoc); in sctp_transport_set_owner()
271 struct sctp_association *asoc = transport->asoc; in sctp_transport_route() local
290 if (asoc && (!asoc->peer.primary_path || in sctp_transport_route()
291 (transport == asoc->peer.active_path))) in sctp_transport_route()
293 asoc->base.sk); in sctp_transport_route()
321 struct net *net = sock_net(tp->asoc->base.sk); in sctp_transport_update_rto()
357 if (tp->rto < tp->asoc->rto_min) in sctp_transport_update_rto()
358 tp->rto = tp->asoc->rto_min; in sctp_transport_update_rto()
363 if (tp->rto > tp->asoc->rto_max) in sctp_transport_update_rto()
364 tp->rto = tp->asoc->rto_max; in sctp_transport_update_rto()
366 sctp_max_rto(tp->asoc, tp); in sctp_transport_update_rto()
384 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd() local
391 if (asoc->fast_recovery && in sctp_transport_raise_cwnd()
392 TSN_lte(asoc->fast_recovery_exit, sack_ctsn)) in sctp_transport_raise_cwnd()
393 asoc->fast_recovery = 0; in sctp_transport_raise_cwnd()
399 if (TSN_lte(sack_ctsn, transport->asoc->ctsn_ack_point) || in sctp_transport_raise_cwnd()
405 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
422 if (asoc->fast_recovery) in sctp_transport_raise_cwnd()
472 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd() local
484 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
485 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
488 asoc->fast_recovery = 0; in sctp_transport_lower_cwnd()
504 if (asoc->fast_recovery) in sctp_transport_lower_cwnd()
508 asoc->fast_recovery = 1; in sctp_transport_lower_cwnd()
509 asoc->fast_recovery_exit = asoc->next_tsn - 1; in sctp_transport_lower_cwnd()
512 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
532 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
548 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
571 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited() local
575 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
578 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
612 struct sctp_association *asoc = t->asoc; in sctp_transport_reset() local
619 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()
621 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()
622 t->rto = asoc->rto_initial; in sctp_transport_reset()
623 sctp_max_rto(asoc, t); in sctp_transport_reset()
651 sctp_retransmit(&t->asoc->outqueue, t, SCTP_RTXR_T3_RTX); in sctp_transport_immediate_rtx()