MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sctp_log_mbcnt

Function sctp_log_mbcnt

freebsd/netinet/sctputil.c:467–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465
466#ifdef SCTP_MBCNT_LOGGING
467static void
468sctp_log_mbcnt(uint8_t from, uint32_t total_oq, uint32_t book, uint32_t total_mbcnt_q, uint32_t mbcnt)
469{
470#if defined(SCTP_LOCAL_TRACE_BUF)
471 struct sctp_cwnd_log sctp_clog;
472
473 sctp_clog.x.mbcnt.total_queue_size = total_oq;
474 sctp_clog.x.mbcnt.size_change = book;
475 sctp_clog.x.mbcnt.total_queue_mb_size = total_mbcnt_q;
476 sctp_clog.x.mbcnt.mbcnt_change = mbcnt;
477 SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x",
478 SCTP_LOG_EVENT_MBCNT,
479 from,
480 sctp_clog.x.misc.log1,
481 sctp_clog.x.misc.log2,
482 sctp_clog.x.misc.log3,
483 sctp_clog.x.misc.log4);
484#endif
485}
486#endif
487
488void

Callers 1

sctp_free_bufspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected