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

Function logTimerQ

freebsd/netinet/libalias/alias_sctp.c:2675–2689  ·  view source on GitHub ↗

@ingroup Logging * @brief Output timer queue to log * * @param la Pointer to the relevant libalias instance */

Source from the content-addressed store, hash-verified

2673 * @param la Pointer to the relevant libalias instance
2674 */
2675static void logTimerQ(struct libalias *la)
2676{
2677 static char buf[50];
2678 u_int i;
2679 struct sctp_nat_assoc *assoc = NULL;
2680
2681 SctpAliasLog("t->\n");
2682 for (i=0; i < SN_TIMER_QUEUE_SIZE; i++) {
2683 LIST_FOREACH(assoc, &la->sctpNatTimer.TimerQ[i], timer_Q) {
2684 snprintf(buf, 50, " l=%u ",i);
2685 //SctpAliasLog(la->logDesc," l=%d ",i);
2686 logsctpassoc(assoc, buf);
2687 }
2688 }
2689}
2690
2691/** @ingroup Logging
2692 * @brief Sctp NAT logging function

Callers 1

SctpAliasFunction · 0.85

Calls 3

SctpAliasLogFunction · 0.85
snprintfFunction · 0.85
logsctpassocFunction · 0.85

Tested by

no test coverage detected