* find a specific asconf param on our "sent" queue */
| 1540 | * find a specific asconf param on our "sent" queue |
| 1541 | */ |
| 1542 | static struct sctp_asconf_addr * |
| 1543 | sctp_asconf_find_param(struct sctp_tcb *stcb, uint32_t correlation_id) |
| 1544 | { |
| 1545 | struct sctp_asconf_addr *aa; |
| 1546 | |
| 1547 | TAILQ_FOREACH(aa, &stcb->asoc.asconf_queue, next) { |
| 1548 | if (aa->ap.aph.correlation_id == correlation_id && |
| 1549 | aa->sent == 1) { |
| 1550 | /* found it */ |
| 1551 | return (aa); |
| 1552 | } |
| 1553 | } |
| 1554 | /* didn't find it */ |
| 1555 | return (NULL); |
| 1556 | } |
| 1557 | |
| 1558 | /* |
| 1559 | * process an SCTP_ERROR_CAUSE_IND for a ASCONF-ACK parameter and do |
no outgoing calls
no test coverage detected