| 281 | #endif |
| 282 | |
| 283 | void |
| 284 | sctp_log_strm_del(struct sctp_queued_to_read *control, struct sctp_queued_to_read *poschk, int from) |
| 285 | { |
| 286 | #if defined(SCTP_LOCAL_TRACE_BUF) |
| 287 | struct sctp_cwnd_log sctp_clog; |
| 288 | |
| 289 | if (control == NULL) { |
| 290 | SCTP_PRINTF("Gak log of NULL?\n"); |
| 291 | return; |
| 292 | } |
| 293 | sctp_clog.x.strlog.stcb = control->stcb; |
| 294 | sctp_clog.x.strlog.n_tsn = control->sinfo_tsn; |
| 295 | sctp_clog.x.strlog.n_sseq = (uint16_t)control->mid; |
| 296 | sctp_clog.x.strlog.strm = control->sinfo_stream; |
| 297 | if (poschk != NULL) { |
| 298 | sctp_clog.x.strlog.e_tsn = poschk->sinfo_tsn; |
| 299 | sctp_clog.x.strlog.e_sseq = (uint16_t)poschk->mid; |
| 300 | } else { |
| 301 | sctp_clog.x.strlog.e_tsn = 0; |
| 302 | sctp_clog.x.strlog.e_sseq = 0; |
| 303 | } |
| 304 | SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", |
| 305 | SCTP_LOG_EVENT_STRM, |
| 306 | from, |
| 307 | sctp_clog.x.misc.log1, |
| 308 | sctp_clog.x.misc.log2, |
| 309 | sctp_clog.x.misc.log3, |
| 310 | sctp_clog.x.misc.log4); |
| 311 | #endif |
| 312 | } |
| 313 | |
| 314 | void |
| 315 | sctp_log_cwnd(struct sctp_tcb *stcb, struct sctp_nets *net, int augment, uint8_t from) |
no outgoing calls
no test coverage detected