@ingroup Logging * @brief Output timer queue to log * * @param la Pointer to the relevant libalias instance */
| 2673 | * @param la Pointer to the relevant libalias instance |
| 2674 | */ |
| 2675 | static 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 |
no test coverage detected