• Home
  • Raw
  • Download

Lines Matching refs:asoc

94 		chunk = sctp_get_ecne_prepend(packet->transport->asoc);  in sctp_packet_config()
111 struct sctp_association *asoc = transport->asoc; in sctp_packet_init() local
120 if (asoc) { in sctp_packet_init()
121 struct sctp_sock *sp = sctp_sk(asoc->base.sk); in sctp_packet_init()
192 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth() local
197 if (!asoc) in sctp_packet_bundle_auth()
212 auth = sctp_make_auth(asoc); in sctp_packet_bundle_auth()
235 struct sctp_association *asoc; in sctp_packet_bundle_sack() local
237 asoc = pkt->transport->asoc; in sctp_packet_bundle_sack()
238 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK]; in sctp_packet_bundle_sack()
245 pkt->transport->asoc->peer.sack_generation) in sctp_packet_bundle_sack()
248 asoc->a_rwnd = asoc->rwnd; in sctp_packet_bundle_sack()
249 sack = sctp_make_sack(asoc); in sctp_packet_bundle_sack()
256 asoc->peer.sack_needed = 0; in sctp_packet_bundle_sack()
258 sctp_association_put(asoc); in sctp_packet_bundle_sack()
301 if (chunk->asoc) in __sctp_packet_append_chunk()
302 chunk->asoc->stats.osacks++; in __sctp_packet_append_chunk()
382 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit() local
418 if (asoc && (asoc->param_flags & SPP_PMTUD_ENABLE)) { in sctp_packet_transmit()
419 sctp_assoc_sync_pmtu(sk, asoc); in sctp_packet_transmit()
525 sctp_auth_calculate_hmac(asoc, nskb, in sctp_packet_transmit()
568 if (asoc) { in sctp_packet_transmit()
569 asoc->stats.opackets++; in sctp_packet_transmit()
570 if (asoc->peer.last_sent_to != tp) in sctp_packet_transmit()
574 asoc->peer.last_sent_to = tp; in sctp_packet_transmit()
582 if (sctp_state(asoc, ESTABLISHED) && in sctp_packet_transmit()
583 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) { in sctp_packet_transmit()
584 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]; in sctp_packet_transmit()
585 timeout = asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]; in sctp_packet_transmit()
588 sctp_association_hold(asoc); in sctp_packet_transmit()
603 if (asoc) in sctp_packet_transmit()
604 IP_INC_STATS(sock_net(asoc->base.sk), IPSTATS_MIB_OUTNOROUTES); in sctp_packet_transmit()
640 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data() local
641 struct sctp_outq *q = &asoc->outqueue; in sctp_packet_can_append_data()
656 rwnd = asoc->peer.rwnd; in sctp_packet_can_append_data()
690 if (sctp_sk(asoc->base.sk)->nodelay) in sctp_packet_can_append_data()
702 if (!sctp_state(asoc, ESTABLISHED)) in sctp_packet_can_append_data()
726 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data() local
727 u32 rwnd = asoc->peer.rwnd; in sctp_packet_append_data()
733 asoc->outqueue.outstanding_bytes += datasize; in sctp_packet_append_data()
741 asoc->peer.rwnd = rwnd; in sctp_packet_append_data()
743 if (!asoc->peer.prsctp_capable) in sctp_packet_append_data()
759 pmtu = ((packet->transport->asoc) ? in sctp_packet_will_fit()
760 (packet->transport->asoc->pathmtu) : in sctp_packet_will_fit()