Lines Matching refs:logbuf
562 char logbuf[200];
610 if (logit && loglen < sizeof logbuf) {
612 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s", prefix);
614 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s ", filter->name);
616 snprintf(logbuf + loglen, sizeof logbuf - loglen, " ");
617 loglen += strlen(logbuf + loglen);
622 if (logit && loglen < sizeof logbuf) {
625 snprintf(logbuf + loglen, sizeof logbuf - loglen,
627 loglen += strlen(logbuf + loglen);
628 snprintf(logbuf + loglen, sizeof logbuf - loglen,
630 loglen += strlen(logbuf + loglen);
636 if (logit && loglen < sizeof logbuf) {
639 snprintf(logbuf + loglen, sizeof logbuf - loglen,
641 loglen += strlen(logbuf + loglen);
642 snprintf(logbuf + loglen, sizeof logbuf - loglen,
644 loglen += strlen(logbuf + loglen);
658 if (logit && loglen < sizeof logbuf) {
660 snprintf(logbuf + loglen, sizeof logbuf - loglen,
662 loglen += strlen(logbuf + loglen);
663 snprintf(logbuf + loglen, sizeof logbuf - loglen,
666 loglen += strlen(logbuf + loglen);
680 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains ");
683 logbuf, psecs);
702 snprintf(logbuf + loglen, sizeof logbuf - loglen,
704 loglen += strlen(logbuf + loglen);
712 if (logit && loglen < sizeof logbuf) {
713 snprintf(logbuf + loglen, sizeof logbuf - loglen,
715 loglen += strlen(logbuf + loglen);
716 snprintf(logbuf + loglen, sizeof logbuf - loglen,
718 loglen += strlen(logbuf + loglen);
725 if (logit && loglen < sizeof logbuf) {
726 snprintf(logbuf + loglen, sizeof logbuf - loglen,
728 loglen += strlen(logbuf + loglen);
729 snprintf(logbuf + loglen, sizeof logbuf - loglen,
731 loglen += strlen(logbuf + loglen);
738 if (logit && loglen < sizeof logbuf) {
739 snprintf(logbuf + loglen, sizeof logbuf - loglen,
741 loglen += strlen(logbuf + loglen);
742 snprintf(logbuf + loglen, sizeof logbuf - loglen,
744 loglen += strlen(logbuf + loglen);
748 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains ");
750 filter, logbuf, psecs);
758 if (logit && loglen < sizeof logbuf) {
759 snprintf(logbuf + loglen, sizeof logbuf - loglen,
761 loglen += strlen(logbuf + loglen);
762 snprintf(logbuf + loglen, sizeof logbuf - loglen,
764 loglen += strlen(logbuf + loglen);
769 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains ");
771 filter, logbuf, psecs);
772 loglen += strlen(logbuf + loglen);
779 if (logit && loglen < sizeof logbuf) {
780 snprintf(logbuf + loglen, sizeof logbuf - loglen,
782 loglen += strlen(logbuf + loglen);
783 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s, spi %p",
785 loglen += strlen(logbuf + loglen);
790 if (logit && loglen < sizeof logbuf) {
791 snprintf(logbuf + loglen, sizeof logbuf - loglen,
793 loglen += strlen(logbuf + loglen);
794 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s, spi %p",
796 loglen += strlen(logbuf + loglen);
801 if (logit && loglen < sizeof logbuf) {
803 snprintf(logbuf + loglen, sizeof logbuf - loglen,
806 loglen += strlen(logbuf + loglen);
807 snprintf(logbuf + loglen, sizeof logbuf - loglen,
809 loglen += strlen(logbuf + loglen);
822 if (logit && loglen < sizeof logbuf) {
824 snprintf(logbuf + loglen, sizeof logbuf - loglen,
826 loglen += strlen(logbuf + loglen);
827 snprintf(logbuf + loglen, sizeof logbuf - loglen,
829 loglen += strlen(logbuf + loglen);
833 snprintf(logbuf + loglen, sizeof logbuf - loglen, " %s", TcpFlags[n]);
834 loglen += strlen(logbuf + loglen);
838 snprintf(logbuf + loglen, sizeof logbuf - loglen,
841 loglen += strlen(logbuf + loglen);
847 snprintf(logbuf + loglen, sizeof logbuf - loglen,
849 loglen += strlen(logbuf + loglen);
859 if (logit && loglen < sizeof logbuf) {
860 snprintf(logbuf + loglen, sizeof logbuf - loglen,
862 loglen += strlen(logbuf + loglen);
863 snprintf(logbuf + loglen, sizeof logbuf - loglen,
865 loglen += strlen(logbuf + loglen);
872 log_Printf(LogTCPIP, "%s - BLOCKED\n", logbuf);
882 log_Printf(LogTCPIP, "%s - NO KEEPALIVE\n", logbuf);
889 logbuf, *psecs, alivesecs);
891 log_Printf(LogTCPIP, "%s - (timeout = %d secs)\n", logbuf, *psecs);
893 log_Printf(LogTCPIP, "%s\n", logbuf);