Lines Matching refs:asoc
85 chunk = sctp_get_ecne_prepend(packet->transport->asoc);
102 struct sctp_association *asoc = transport->asoc;
112 if (asoc) {
113 struct sctp_sock *sp = sctp_sk(asoc->base.sk);
195 struct sctp_association *asoc;
196 asoc = pkt->transport->asoc;
198 if (asoc->a_rwnd > asoc->rwnd) {
200 asoc->a_rwnd = asoc->rwnd;
201 sack = sctp_make_sack(asoc);
205 asoc->peer.sack_needed = 0;
206 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK];
208 sctp_association_put(asoc);
236 pmtu = ((packet->transport->asoc) ?
237 (packet->transport->asoc->pathmtu) :
296 struct sctp_association *asoc = tp->asoc;
334 if (asoc && (asoc->param_flags & SPP_PMTUD_ENABLE)) {
335 sctp_assoc_sync_pmtu(asoc);
477 if (asoc && asoc->peer.last_sent_to != tp) {
481 asoc->peer.last_sent_to = tp;
491 if (sctp_state(asoc, ESTABLISHED) && asoc->autoclose) {
492 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE];
493 timeout = asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE];
496 sctp_association_hold(asoc);
544 struct sctp_association *asoc = transport->asoc;
545 struct sctp_sock *sp = sctp_sk(asoc->base.sk);
546 struct sctp_outq *q = &asoc->outqueue;
561 rwnd = asoc->peer.rwnd;
562 inflight = asoc->outqueue.outstanding_bytes;
584 max_burst_bytes = asoc->max_burst * asoc->pathmtu;
622 q->outstanding_bytes && sctp_state(asoc, ESTABLISHED)) {
629 if (len < asoc->frag_point) {
639 asoc->outqueue.outstanding_bytes += datasize;
653 asoc->peer.rwnd = rwnd;
655 if (!asoc->peer.prsctp_capable)