tcpdump mailing list archives

Re: Pcap debug at runtime


From: Guy Harris <gharris () sonic net>
Date: Mon, 20 Feb 2023 12:18:24 -0800

On Feb 20, 2023, at 12:15 PM, Paschal Chukwuebuk Amusuo <pamusuo () purdue edu> wrote:

Please, is there a way to print out debug statements at runtime when using pcap?

Debug statements in your program?  Add printf() or fprintf(stderr, ...) or... calls to your program.

Debug statements in libpcap?  Get the libpcap source, add printf() or fprintf(stderr, ...) or... calls to it, build it, 
install it, and compile your program with it.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


Current thread: