| 70 | extern const struct sctp_ss_functions sctp_ss_functions[]; |
| 71 | |
| 72 | void |
| 73 | sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr) |
| 74 | { |
| 75 | #if defined(SCTP_LOCAL_TRACE_BUF) |
| 76 | struct sctp_cwnd_log sctp_clog; |
| 77 | |
| 78 | sctp_clog.x.sb.stcb = stcb; |
| 79 | sctp_clog.x.sb.so_sbcc = sb->sb_cc; |
| 80 | if (stcb) |
| 81 | sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; |
| 82 | else |
| 83 | sctp_clog.x.sb.stcb_sbcc = 0; |
| 84 | sctp_clog.x.sb.incr = incr; |
| 85 | SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", |
| 86 | SCTP_LOG_EVENT_SB, |
| 87 | from, |
| 88 | sctp_clog.x.misc.log1, |
| 89 | sctp_clog.x.misc.log2, |
| 90 | sctp_clog.x.misc.log3, |
| 91 | sctp_clog.x.misc.log4); |
| 92 | #endif |
| 93 | } |
| 94 | |
| 95 | void |
| 96 | sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) |
no outgoing calls
no test coverage detected