Lines Matching defs:asoc

94 		chunk = sctp_get_ecne_prepend(packet->transport->asoc);
111 struct sctp_association *asoc = transport->asoc;
120 if (asoc) {
121 struct sctp_sock *sp = sctp_sk(asoc->base.sk);
192 struct sctp_association *asoc = pkt->transport->asoc;
197 if (!asoc)
212 auth = sctp_make_auth(asoc);
235 struct sctp_association *asoc;
237 asoc = pkt->transport->asoc;
238 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK];
245 pkt->transport->asoc->peer.sack_generation)
248 asoc->a_rwnd = asoc->rwnd;
249 sack = sctp_make_sack(asoc);
256 asoc->peer.sack_needed = 0;
258 sctp_association_put(asoc);
301 if (chunk->asoc)
302 chunk->asoc->stats.osacks++;
382 struct sctp_association *asoc = tp->asoc;
418 if (asoc && (asoc->param_flags & SPP_PMTUD_ENABLE)) {
419 sctp_assoc_sync_pmtu(sk, asoc);
525 sctp_auth_calculate_hmac(asoc, nskb,
568 if (asoc) {
569 asoc->stats.opackets++;
570 if (asoc->peer.last_sent_to != tp)
574 asoc->peer.last_sent_to = tp;
582 if (sctp_state(asoc, ESTABLISHED) &&
583 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) {
584 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE];
585 timeout = asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE];
588 sctp_association_hold(asoc);
602 IP_INC_STATS(sock_net(asoc->base.sk), IPSTATS_MIB_OUTNOROUTES);
638 struct sctp_association *asoc = transport->asoc;
639 struct sctp_outq *q = &asoc->outqueue;
654 rwnd = asoc->peer.rwnd;
688 if (sctp_sk(asoc->base.sk)->nodelay)
700 if (!sctp_state(asoc, ESTABLISHED))
724 struct sctp_association *asoc = transport->asoc;
725 u32 rwnd = asoc->peer.rwnd;
731 asoc->outqueue.outstanding_bytes += datasize;
739 asoc->peer.rwnd = rwnd;
741 if (!asoc->peer.prsctp_capable)
757 pmtu = ((packet->transport->asoc) ?
758 (packet->transport->asoc->pathmtu) :