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

Function sctp_log_rwnd

freebsd/netinet/sctputil.c:426–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void
427sctp_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
446void
447sctp_log_rwnd_set(uint8_t from, uint32_t peers_rwnd, uint32_t flight_size, uint32_t overhead, uint32_t a_rwndval)

Callers 3

sctp_clean_up_datalistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected