| 424 | } |
| 425 | |
| 426 | void |
| 427 | sctp_log_rwnd(uint8_t from, uint32_t peers_rwnd, uint32_t snd_size, uint32_t overhead) |
| 428 | { |
| 429 | #if defined(SCTP_LOCAL_TRACE_BUF) |
| 430 | struct sctp_cwnd_log sctp_clog; |
| 431 | |
| 432 | sctp_clog.x.rwnd.rwnd = peers_rwnd; |
| 433 | sctp_clog.x.rwnd.send_size = snd_size; |
| 434 | sctp_clog.x.rwnd.overhead = overhead; |
| 435 | sctp_clog.x.rwnd.new_rwnd = 0; |
| 436 | SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", |
| 437 | SCTP_LOG_EVENT_RWND, |
| 438 | from, |
| 439 | sctp_clog.x.misc.log1, |
| 440 | sctp_clog.x.misc.log2, |
| 441 | sctp_clog.x.misc.log3, |
| 442 | sctp_clog.x.misc.log4); |
| 443 | #endif |
| 444 | } |
| 445 | |
| 446 | void |
| 447 | sctp_log_rwnd_set(uint8_t from, uint32_t peers_rwnd, uint32_t flight_size, uint32_t overhead, uint32_t a_rwndval) |
no outgoing calls
no test coverage detected