Lines Matching refs:sctp_clog
73 struct sctp_cwnd_log sctp_clog; in sctp_sblog() local
75 sctp_clog.x.sb.stcb = stcb; in sctp_sblog()
76 sctp_clog.x.sb.so_sbcc = SCTP_SBAVAIL(sb); in sctp_sblog()
78 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; in sctp_sblog()
80 sctp_clog.x.sb.stcb_sbcc = 0; in sctp_sblog()
81 sctp_clog.x.sb.incr = incr; in sctp_sblog()
85 sctp_clog.x.misc.log1, in sctp_sblog()
86 sctp_clog.x.misc.log2, in sctp_sblog()
87 sctp_clog.x.misc.log3, in sctp_sblog()
88 sctp_clog.x.misc.log4); in sctp_sblog()
96 struct sctp_cwnd_log sctp_clog; in sctp_log_closing() local
98 sctp_clog.x.close.inp = (void *)inp; in sctp_log_closing()
99 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()
101 sctp_clog.x.close.stcb = (void *)stcb; in sctp_log_closing()
102 sctp_clog.x.close.state = (uint16_t)stcb->asoc.state; in sctp_log_closing()
104 sctp_clog.x.close.stcb = 0; in sctp_log_closing()
105 sctp_clog.x.close.state = 0; in sctp_log_closing()
107 sctp_clog.x.close.loc = loc; in sctp_log_closing()
111 sctp_clog.x.misc.log1, in sctp_log_closing()
112 sctp_clog.x.misc.log2, in sctp_log_closing()
113 sctp_clog.x.misc.log3, in sctp_log_closing()
114 sctp_clog.x.misc.log4); in sctp_log_closing()
122 struct sctp_cwnd_log sctp_clog; in rto_logging() local
124 memset(&sctp_clog, 0, sizeof(sctp_clog)); in rto_logging()
125 sctp_clog.x.rto.net = (void *)net; in rto_logging()
126 sctp_clog.x.rto.rtt = net->rtt / 1000; in rto_logging()
130 sctp_clog.x.misc.log1, in rto_logging()
131 sctp_clog.x.misc.log2, in rto_logging()
132 sctp_clog.x.misc.log3, in rto_logging()
133 sctp_clog.x.misc.log4); in rto_logging()
141 struct sctp_cwnd_log sctp_clog; in sctp_log_strm_del_alt() local
143 sctp_clog.x.strlog.stcb = stcb; in sctp_log_strm_del_alt()
144 sctp_clog.x.strlog.n_tsn = tsn; in sctp_log_strm_del_alt()
145 sctp_clog.x.strlog.n_sseq = sseq; in sctp_log_strm_del_alt()
146 sctp_clog.x.strlog.e_tsn = 0; in sctp_log_strm_del_alt()
147 sctp_clog.x.strlog.e_sseq = 0; in sctp_log_strm_del_alt()
148 sctp_clog.x.strlog.strm = stream; in sctp_log_strm_del_alt()
152 sctp_clog.x.misc.log1, in sctp_log_strm_del_alt()
153 sctp_clog.x.misc.log2, in sctp_log_strm_del_alt()
154 sctp_clog.x.misc.log3, in sctp_log_strm_del_alt()
155 sctp_clog.x.misc.log4); in sctp_log_strm_del_alt()
163 struct sctp_cwnd_log sctp_clog; in sctp_log_nagle_event() local
165 sctp_clog.x.nagle.stcb = (void *)stcb; in sctp_log_nagle_event()
166 sctp_clog.x.nagle.total_flight = stcb->asoc.total_flight; in sctp_log_nagle_event()
167 sctp_clog.x.nagle.total_in_queue = stcb->asoc.total_output_queue_size; in sctp_log_nagle_event()
168 sctp_clog.x.nagle.count_in_queue = stcb->asoc.chunks_on_out_queue; in sctp_log_nagle_event()
169 sctp_clog.x.nagle.count_in_flight = stcb->asoc.total_flight_count; in sctp_log_nagle_event()
173 sctp_clog.x.misc.log1, in sctp_log_nagle_event()
174 sctp_clog.x.misc.log2, in sctp_log_nagle_event()
175 sctp_clog.x.misc.log3, in sctp_log_nagle_event()
176 sctp_clog.x.misc.log4); in sctp_log_nagle_event()
184 struct sctp_cwnd_log sctp_clog; in sctp_log_sack() local
186 sctp_clog.x.sack.cumack = cumack; in sctp_log_sack()
187 sctp_clog.x.sack.oldcumack = old_cumack; in sctp_log_sack()
188 sctp_clog.x.sack.tsn = tsn; in sctp_log_sack()
189 sctp_clog.x.sack.numGaps = gaps; in sctp_log_sack()
190 sctp_clog.x.sack.numDups = dups; in sctp_log_sack()
194 sctp_clog.x.misc.log1, in sctp_log_sack()
195 sctp_clog.x.misc.log2, in sctp_log_sack()
196 sctp_clog.x.misc.log3, in sctp_log_sack()
197 sctp_clog.x.misc.log4); in sctp_log_sack()
205 struct sctp_cwnd_log sctp_clog; in sctp_log_map() local
207 memset(&sctp_clog, 0, sizeof(sctp_clog)); in sctp_log_map()
208 sctp_clog.x.map.base = map; in sctp_log_map()
209 sctp_clog.x.map.cum = cum; in sctp_log_map()
210 sctp_clog.x.map.high = high; in sctp_log_map()
214 sctp_clog.x.misc.log1, in sctp_log_map()
215 sctp_clog.x.misc.log2, in sctp_log_map()
216 sctp_clog.x.misc.log3, in sctp_log_map()
217 sctp_clog.x.misc.log4); in sctp_log_map()
225 struct sctp_cwnd_log sctp_clog; in sctp_log_fr() local
227 memset(&sctp_clog, 0, sizeof(sctp_clog)); in sctp_log_fr()
228 sctp_clog.x.fr.largest_tsn = biggest_tsn; in sctp_log_fr()
229 sctp_clog.x.fr.largest_new_tsn = biggest_new_tsn; in sctp_log_fr()
230 sctp_clog.x.fr.tsn = tsn; in sctp_log_fr()
234 sctp_clog.x.misc.log1, in sctp_log_fr()
235 sctp_clog.x.misc.log2, in sctp_log_fr()
236 sctp_clog.x.misc.log3, in sctp_log_fr()
237 sctp_clog.x.misc.log4); in sctp_log_fr()
246 struct sctp_cwnd_log sctp_clog; in sctp_log_mb() local
248 sctp_clog.x.mb.mp = m; in sctp_log_mb()
249 sctp_clog.x.mb.mbuf_flags = (uint8_t)(SCTP_BUF_GET_FLAGS(m)); in sctp_log_mb()
250 sctp_clog.x.mb.size = (uint16_t)(SCTP_BUF_LEN(m)); in sctp_log_mb()
251 sctp_clog.x.mb.data = SCTP_BUF_AT(m, 0); in sctp_log_mb()
253 sctp_clog.x.mb.ext = SCTP_BUF_EXTEND_BASE(m); in sctp_log_mb()
254 sctp_clog.x.mb.refcnt = (uint8_t)(SCTP_BUF_EXTEND_REFCNT(m)); in sctp_log_mb()
256 sctp_clog.x.mb.ext = 0; in sctp_log_mb()
257 sctp_clog.x.mb.refcnt = 0; in sctp_log_mb()
262 sctp_clog.x.misc.log1, in sctp_log_mb()
263 sctp_clog.x.misc.log2, in sctp_log_mb()
264 sctp_clog.x.misc.log3, in sctp_log_mb()
265 sctp_clog.x.misc.log4); in sctp_log_mb()
284 struct sctp_cwnd_log sctp_clog; in sctp_log_strm_del() local
290 sctp_clog.x.strlog.stcb = control->stcb; in sctp_log_strm_del()
291 sctp_clog.x.strlog.n_tsn = control->sinfo_tsn; in sctp_log_strm_del()
292 sctp_clog.x.strlog.n_sseq = (uint16_t)control->mid; in sctp_log_strm_del()
293 sctp_clog.x.strlog.strm = control->sinfo_stream; in sctp_log_strm_del()
295 sctp_clog.x.strlog.e_tsn = poschk->sinfo_tsn; in sctp_log_strm_del()
296 sctp_clog.x.strlog.e_sseq = (uint16_t)poschk->mid; in sctp_log_strm_del()
298 sctp_clog.x.strlog.e_tsn = 0; in sctp_log_strm_del()
299 sctp_clog.x.strlog.e_sseq = 0; in sctp_log_strm_del()
304 sctp_clog.x.misc.log1, in sctp_log_strm_del()
305 sctp_clog.x.misc.log2, in sctp_log_strm_del()
306 sctp_clog.x.misc.log3, in sctp_log_strm_del()
307 sctp_clog.x.misc.log4); in sctp_log_strm_del()
315 struct sctp_cwnd_log sctp_clog; in sctp_log_cwnd() local
317 sctp_clog.x.cwnd.net = net; in sctp_log_cwnd()
319 sctp_clog.x.cwnd.cnt_in_send = 255; in sctp_log_cwnd()
321 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt; in sctp_log_cwnd()
323 sctp_clog.x.cwnd.cnt_in_str = 255; in sctp_log_cwnd()
325 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc.stream_queue_cnt; in sctp_log_cwnd()
328 sctp_clog.x.cwnd.cwnd_new_value = net->cwnd; in sctp_log_cwnd()
329 sctp_clog.x.cwnd.inflight = net->flight_size; in sctp_log_cwnd()
330 sctp_clog.x.cwnd.pseudo_cumack = net->pseudo_cumack; in sctp_log_cwnd()
331 sctp_clog.x.cwnd.meets_pseudo_cumack = net->new_pseudo_cumack; in sctp_log_cwnd()
332 sctp_clog.x.cwnd.need_new_pseudo_cumack = net->find_pseudo_cumack; in sctp_log_cwnd()
335 sctp_clog.x.cwnd.meets_pseudo_cumack = stcb->asoc.peers_rwnd; in sctp_log_cwnd()
337 sctp_clog.x.cwnd.cwnd_augment = augment; in sctp_log_cwnd()
341 sctp_clog.x.misc.log1, in sctp_log_cwnd()
342 sctp_clog.x.misc.log2, in sctp_log_cwnd()
343 sctp_clog.x.misc.log3, in sctp_log_cwnd()
344 sctp_clog.x.misc.log4); in sctp_log_cwnd()
352 struct sctp_cwnd_log sctp_clog; in sctp_log_lock() local
354 memset(&sctp_clog, 0, sizeof(sctp_clog)); in sctp_log_lock()
356 sctp_clog.x.lock.sock = (void *)inp->sctp_socket; in sctp_log_lock()
359 sctp_clog.x.lock.sock = (void *)NULL; in sctp_log_lock()
361 sctp_clog.x.lock.inp = (void *)inp; in sctp_log_lock()
363 sctp_clog.x.lock.tcb_lock = mtx_owned(&stcb->tcb_mtx); in sctp_log_lock()
365 sctp_clog.x.lock.tcb_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
368 sctp_clog.x.lock.inp_lock = mtx_owned(&inp->inp_mtx); in sctp_log_lock()
369 sctp_clog.x.lock.create_lock = mtx_owned(&inp->inp_create_mtx); in sctp_log_lock()
371 sctp_clog.x.lock.inp_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
372 sctp_clog.x.lock.create_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
374 sctp_clog.x.lock.info_lock = rw_wowned(&SCTP_BASE_INFO(ipi_ep_mtx)); in sctp_log_lock()
376 sctp_clog.x.lock.sock_lock = mtx_owned(SOCK_MTX(inp->sctp_socket)); in sctp_log_lock()
377 sctp_clog.x.lock.sockrcvbuf_lock = mtx_owned(SOCKBUF_MTX(&inp->sctp_socket->so_rcv)); in sctp_log_lock()
378 sctp_clog.x.lock.socksndbuf_lock = mtx_owned(SOCKBUF_MTX(&inp->sctp_socket->so_snd)); in sctp_log_lock()
380 sctp_clog.x.lock.sock_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
381 sctp_clog.x.lock.sockrcvbuf_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
382 sctp_clog.x.lock.socksndbuf_lock = SCTP_LOCK_UNKNOWN; in sctp_log_lock()
387 sctp_clog.x.misc.log1, in sctp_log_lock()
388 sctp_clog.x.misc.log2, in sctp_log_lock()
389 sctp_clog.x.misc.log3, in sctp_log_lock()
390 sctp_clog.x.misc.log4); in sctp_log_lock()
398 struct sctp_cwnd_log sctp_clog; in sctp_log_maxburst() local
400 memset(&sctp_clog, 0, sizeof(sctp_clog)); in sctp_log_maxburst()
401 sctp_clog.x.cwnd.net = net; in sctp_log_maxburst()
402 sctp_clog.x.cwnd.cwnd_new_value = error; in sctp_log_maxburst()
403 sctp_clog.x.cwnd.inflight = net->flight_size; in sctp_log_maxburst()
404 sctp_clog.x.cwnd.cwnd_augment = burst; in sctp_log_maxburst()
406 sctp_clog.x.cwnd.cnt_in_send = 255; in sctp_log_maxburst()
408 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt; in sctp_log_maxburst()
410 sctp_clog.x.cwnd.cnt_in_str = 255; in sctp_log_maxburst()
412 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc.stream_queue_cnt; in sctp_log_maxburst()
416 sctp_clog.x.misc.log1, in sctp_log_maxburst()
417 sctp_clog.x.misc.log2, in sctp_log_maxburst()
418 sctp_clog.x.misc.log3, in sctp_log_maxburst()
419 sctp_clog.x.misc.log4); in sctp_log_maxburst()
427 struct sctp_cwnd_log sctp_clog; in sctp_log_rwnd() local
429 sctp_clog.x.rwnd.rwnd = peers_rwnd; in sctp_log_rwnd()
430 sctp_clog.x.rwnd.send_size = snd_size; in sctp_log_rwnd()
431 sctp_clog.x.rwnd.overhead = overhead; in sctp_log_rwnd()
432 sctp_clog.x.rwnd.new_rwnd = 0; in sctp_log_rwnd()
436 sctp_clog.x.misc.log1, in sctp_log_rwnd()
437 sctp_clog.x.misc.log2, in sctp_log_rwnd()
438 sctp_clog.x.misc.log3, in sctp_log_rwnd()
439 sctp_clog.x.misc.log4); in sctp_log_rwnd()
447 struct sctp_cwnd_log sctp_clog; in sctp_log_rwnd_set() local
449 sctp_clog.x.rwnd.rwnd = peers_rwnd; in sctp_log_rwnd_set()
450 sctp_clog.x.rwnd.send_size = flight_size; in sctp_log_rwnd_set()
451 sctp_clog.x.rwnd.overhead = overhead; in sctp_log_rwnd_set()
452 sctp_clog.x.rwnd.new_rwnd = a_rwndval; in sctp_log_rwnd_set()
456 sctp_clog.x.misc.log1, in sctp_log_rwnd_set()
457 sctp_clog.x.misc.log2, in sctp_log_rwnd_set()
458 sctp_clog.x.misc.log3, in sctp_log_rwnd_set()
459 sctp_clog.x.misc.log4); in sctp_log_rwnd_set()
468 struct sctp_cwnd_log sctp_clog; in sctp_log_mbcnt() local
470 sctp_clog.x.mbcnt.total_queue_size = total_oq; in sctp_log_mbcnt()
471 sctp_clog.x.mbcnt.size_change = book; in sctp_log_mbcnt()
472 sctp_clog.x.mbcnt.total_queue_mb_size = total_mbcnt_q; in sctp_log_mbcnt()
473 sctp_clog.x.mbcnt.mbcnt_change = mbcnt; in sctp_log_mbcnt()
477 sctp_clog.x.misc.log1, in sctp_log_mbcnt()
478 sctp_clog.x.misc.log2, in sctp_log_mbcnt()
479 sctp_clog.x.misc.log3, in sctp_log_mbcnt()
480 sctp_clog.x.misc.log4); in sctp_log_mbcnt()
500 struct sctp_cwnd_log sctp_clog; in sctp_wakeup_log() local
502 sctp_clog.x.wake.stcb = (void *)stcb; in sctp_wakeup_log()
503 sctp_clog.x.wake.wake_cnt = wake_cnt; in sctp_wakeup_log()
504 sctp_clog.x.wake.flight = stcb->asoc.total_flight_count; in sctp_wakeup_log()
505 sctp_clog.x.wake.send_q = stcb->asoc.send_queue_cnt; in sctp_wakeup_log()
506 sctp_clog.x.wake.sent_q = stcb->asoc.sent_queue_cnt; in sctp_wakeup_log()
509 sctp_clog.x.wake.stream_qcnt = (uint8_t)stcb->asoc.stream_queue_cnt; in sctp_wakeup_log()
511 sctp_clog.x.wake.stream_qcnt = 0xff; in sctp_wakeup_log()
514 sctp_clog.x.wake.chunks_on_oque = (uint8_t)stcb->asoc.chunks_on_out_queue; in sctp_wakeup_log()
516 sctp_clog.x.wake.chunks_on_oque = 0xff; in sctp_wakeup_log()
518 sctp_clog.x.wake.sctpflags = 0; in sctp_wakeup_log()
521 sctp_clog.x.wake.sctpflags |= 1; in sctp_wakeup_log()
523 sctp_clog.x.wake.sctpflags |= 2; in sctp_wakeup_log()
525 sctp_clog.x.wake.sctpflags |= 4; in sctp_wakeup_log()
530 sctp_clog.x.wake.sbflags = (uint8_t)((so->so_snd.sb_flags & 0x00ff)); in sctp_wakeup_log()
532 sctp_clog.x.wake.sbflags = 0xff; in sctp_wakeup_log()
537 sctp_clog.x.misc.log1, in sctp_wakeup_log()
538 sctp_clog.x.misc.log2, in sctp_wakeup_log()
539 sctp_clog.x.misc.log3, in sctp_wakeup_log()
540 sctp_clog.x.misc.log4); in sctp_wakeup_log()
548 struct sctp_cwnd_log sctp_clog; in sctp_log_block() local
550 sctp_clog.x.blk.onsb = asoc->total_output_queue_size; in sctp_log_block()
551 sctp_clog.x.blk.send_sent_qcnt = (uint16_t)(asoc->send_queue_cnt + asoc->sent_queue_cnt); in sctp_log_block()
552 sctp_clog.x.blk.peer_rwnd = asoc->peers_rwnd; in sctp_log_block()
553 sctp_clog.x.blk.stream_qcnt = (uint16_t)asoc->stream_queue_cnt; in sctp_log_block()
554 sctp_clog.x.blk.chunks_on_oque = (uint16_t)asoc->chunks_on_out_queue; in sctp_log_block()
555 sctp_clog.x.blk.flight_size = (uint16_t)(asoc->total_flight / 1024); in sctp_log_block()
556 sctp_clog.x.blk.sndlen = (uint32_t)sendlen; in sctp_log_block()
560 sctp_clog.x.misc.log1, in sctp_log_block()
561 sctp_clog.x.misc.log2, in sctp_log_block()
562 sctp_clog.x.misc.log3, in sctp_log_block()
563 sctp_clog.x.misc.log4); in sctp_log_block()