Lines Matching refs:snprintf
189 snprintf(protobuff, sizeof protobuff, "%d", cproto); in prototxt()
191 snprintf(protobuff, sizeof protobuff, "%s", pe->p_name); in prototxt()
318 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); in FilterCheck()
327 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); in FilterCheck()
357 snprintf(dbuff, sizeof dbuff, "sport = %d, dport = %d", in FilterCheck()
379 snprintf(dbuff, sizeof dbuff, in FilterCheck()
399 snprintf(dbuff + len, sizeof dbuff - len, in FilterCheck()
411 snprintf(dbuff, sizeof dbuff, ", src %s %d", in FilterCheck()
417 snprintf(dbuff + len, sizeof dbuff - len, in FilterCheck()
459 snprintf(dstip, sizeof dstip, "%s", ncpaddr_ntoa(&dstaddr)); in FilterCheck()
469 snprintf(dstip, sizeof dstip, "%s", ncpaddr_ntoa(&dstaddr)); in FilterCheck()
485 snprintf(dstip, sizeof dstip, "%s", ncpaddr_ntoa(&dstaddr)); in FilterCheck()
612 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s", prefix); in PacketCheck()
614 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s ", filter->name); in PacketCheck()
616 snprintf(logbuf + loglen, sizeof logbuf - loglen, " "); in PacketCheck()
625 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
628 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
639 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
642 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
660 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
663 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
680 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains "); in PacketCheck()
702 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
713 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
716 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
726 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
729 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
739 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
742 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
748 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains "); in PacketCheck()
759 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
762 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
769 snprintf(logbuf + loglen, sizeof logbuf - loglen, " contains "); in PacketCheck()
780 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
783 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s, spi %p", in PacketCheck()
791 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
794 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s, spi %p", in PacketCheck()
803 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
807 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
824 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
827 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
833 snprintf(logbuf + loglen, sizeof logbuf - loglen, " %s", TcpFlags[n]); in PacketCheck()
838 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
847 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
860 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()
863 snprintf(logbuf + loglen, sizeof logbuf - loglen, in PacketCheck()