tcpdump mailing list archives
Re: Pcap delivers packets every 200ms
From: Denis Ovsienko via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Thu, 2 Feb 2023 21:00:03 +0000
--- Begin Message --- From: Denis Ovsienko <denis () ovsienko info>
Date: Thu, 2 Feb 2023 21:00:03 +0000
On Thu, 2 Feb 2023 15:42:55 +0000 Paschal Chukwuebuk Amusuo via tcpdump-workers <tcpdump-workers () lists tcpdump org> wrote:Hi, Please, is there any way to force pcap to deliver packets once it receives the packet? Currently, pcap delivers packets to my application at intervals and it batches the packets before delivering them. There are substantial time differences between when the packet is received by pcap and when it is finally delivered by the application.Please see https://www.tcpdump.org/manpages/pcap_set_immediate_mode.3pcap.html and try the function.In the screenshot I attached, 6 packets were received within 400ms but all delivered at the same time.This list strips non-text attachments (for clarity HTML is considered not text for this purpose), so the screenshot didn't make it through. -- Denis Ovsienko
--- End Message ---
_______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Pcap delivers packets every 200ms Paschal Chukwuebuk Amusuo via tcpdump-workers (Feb 02)
- Re: Pcap delivers packets every 200ms Denis Ovsienko via tcpdump-workers (Feb 02)
- Re: Pcap delivers packets every 200ms Guy Harris via tcpdump-workers (Feb 02)