• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/

Lines Matching refs:asoc

118 	struct sctp_association *asoc;
176 asoc = __sctp_rcv_lookup(skb, &src, &dest, &transport);
178 if (!asoc)
182 rcvr = asoc ? &asoc->base : &ep->base;
191 if (asoc) {
192 sctp_association_put(asoc);
193 asoc = NULL;
212 if (!asoc) {
227 chunk = sctp_chunkify(skb, asoc, sk);
260 /* Release the asoc/ep ref we took in the lookup calls. */
261 if (asoc)
262 sctp_association_put(asoc);
274 /* Release the asoc/ep ref we took in the lookup calls. */
275 if (asoc)
276 sctp_association_put(asoc);
367 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc,
374 asoc->pmtu_pending = 1;
384 sctp_assoc_sync_pmtu(asoc);
393 sctp_retransmit(&asoc->outqueue, t, SCTP_RTXR_PMTUD);
408 struct sctp_association *asoc,
415 asoc->state, asoc->ep, asoc, t,
430 struct sctp_association *asoc;
447 asoc = __sctp_lookup_association(&saddr, &daddr, &transport);
448 if (!asoc)
451 sk = asoc->base.sk;
453 if (ntohl(sctphdr->vtag) != asoc->c.peer_vtag) {
466 *app = asoc;
471 if (asoc)
472 sctp_association_put(asoc);
477 void sctp_err_finish(struct sock *sk, struct sctp_association *asoc)
480 if (asoc)
481 sctp_association_put(asoc);
506 struct sctp_association *asoc = NULL;
522 sk = sctp_err_lookup(AF_INET, skb, sctp_hdr(skb), &asoc, &transport);
544 sctp_icmp_frag_needed(sk, asoc, transport, info);
549 sctp_icmp_proto_unreachable(sk, asoc,
578 sctp_err_finish(sk, asoc);
737 static void __sctp_hash_established(struct sctp_association *asoc)
743 epb = &asoc->base;
746 epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, asoc->peer.port);
761 void sctp_hash_established(struct sctp_association *asoc)
763 if (asoc->temp)
767 __sctp_hash_established(asoc);
772 static void __sctp_unhash_established(struct sctp_association *asoc)
777 epb = &asoc->base;
780 asoc->peer.port);
797 void sctp_unhash_established(struct sctp_association *asoc)
799 if (asoc->temp)
803 __sctp_unhash_established(asoc);
815 struct sctp_association *asoc;
826 asoc = sctp_assoc(epb);
827 transport = sctp_assoc_is_match(asoc, local, peer);
838 sctp_association_hold(asoc);
840 return asoc;
849 struct sctp_association *asoc;
852 asoc = __sctp_lookup_association(laddr, paddr, transportp);
855 return asoc;
862 struct sctp_association *asoc;
865 if ((asoc = sctp_lookup_association(laddr, paddr, &transport))) {
866 sctp_association_put(asoc);
894 struct sctp_association *asoc;
951 asoc = __sctp_lookup_association(laddr, paddr, &transport);
952 if (asoc)
953 return asoc;
965 struct sctp_association *asoc;
967 asoc = __sctp_lookup_association(laddr, paddr, transportp);
973 if (!asoc)
974 asoc = __sctp_rcv_init_lookup(skb, laddr, transportp);
976 return asoc;