Lines Matching refs:asoc
152 struct sctp_association *asoc) in sctp_endpoint_add_asoc() argument
160 if (asoc->temp) in sctp_endpoint_add_asoc()
164 list_add_tail(&asoc->asocs, &ep->asocs); in sctp_endpoint_add_asoc()
275 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc() local
292 asoc = t->asoc; in sctp_endpoint_lookup_assoc()
295 return asoc; in sctp_endpoint_lookup_assoc()
330 struct sctp_association *asoc; in sctp_endpoint_bh_rcv() local
344 asoc = NULL; in sctp_endpoint_bh_rcv()
381 if (NULL == chunk->asoc) { in sctp_endpoint_bh_rcv()
382 asoc = sctp_endpoint_lookup_assoc(ep, in sctp_endpoint_bh_rcv()
385 chunk->asoc = asoc; in sctp_endpoint_bh_rcv()
389 state = asoc ? asoc->state : SCTP_STATE_CLOSED; in sctp_endpoint_bh_rcv()
390 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
396 if (asoc && sctp_chunk_is_data(chunk)) in sctp_endpoint_bh_rcv()
397 asoc->peer.last_data_from = chunk->transport; in sctp_endpoint_bh_rcv()
400 if (asoc) in sctp_endpoint_bh_rcv()
401 asoc->stats.ictrlchunks++; in sctp_endpoint_bh_rcv()
408 ep, asoc, chunk, GFP_ATOMIC); in sctp_endpoint_bh_rcv()