Lines Matching refs:asoc
207 struct sctp_association *asoc) in sctp_endpoint_add_asoc() argument
215 if (asoc->temp) in sctp_endpoint_add_asoc()
219 list_add_tail(&asoc->asocs, &ep->asocs); in sctp_endpoint_add_asoc()
325 struct sctp_association *asoc = NULL; in __sctp_endpoint_lookup_assoc() local
354 asoc = tmp; in __sctp_endpoint_lookup_assoc()
361 return asoc; in __sctp_endpoint_lookup_assoc()
370 struct sctp_association *asoc; in sctp_endpoint_lookup_assoc() local
373 asoc = __sctp_endpoint_lookup_assoc(ep, paddr, transport); in sctp_endpoint_lookup_assoc()
376 return asoc; in sctp_endpoint_lookup_assoc()
409 struct sctp_association *asoc; in sctp_endpoint_bh_rcv() local
423 asoc = NULL; in sctp_endpoint_bh_rcv()
460 if (NULL == chunk->asoc) { in sctp_endpoint_bh_rcv()
461 asoc = sctp_endpoint_lookup_assoc(ep, in sctp_endpoint_bh_rcv()
464 chunk->asoc = asoc; in sctp_endpoint_bh_rcv()
468 state = asoc ? asoc->state : SCTP_STATE_CLOSED; in sctp_endpoint_bh_rcv()
469 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
475 if (asoc && sctp_chunk_is_data(chunk)) in sctp_endpoint_bh_rcv()
476 asoc->peer.last_data_from = chunk->transport; in sctp_endpoint_bh_rcv()
479 if (asoc) in sctp_endpoint_bh_rcv()
480 asoc->stats.ictrlchunks++; in sctp_endpoint_bh_rcv()
487 ep, asoc, chunk, GFP_ATOMIC); in sctp_endpoint_bh_rcv()