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

Function sctp_sblog

freebsd/netinet/sctputil.c:72–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70extern const struct sctp_ss_functions sctp_ss_functions[];
71
72void
73sctp_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
95void
96sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc)

Callers 4

sctp_add_to_readqFunction · 0.85
sctp_sorecvmsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected