tcpdump mailing list archives

Re: TPACKET v3 / pcap_open_live - backwards compatibility for projects


From: Guy Harris <guy () alum mit edu>
Date: Thu, 27 Mar 2014 17:41:53 -0700


On Mar 27, 2014, at 3:27 PM, Guy Harris <guy () alum mit edu> wrote:

A third alternative

A *fourth* alternative, *if* your application can handle a delay between packet arrival and delivery of up to 1 
millisecond, would be to use a timeout value of 1 in pcap_open_live() (or pcap_set_timeout(), if you're using 
pcap_create() and pcap_activate()), as that'll set the timeout to 1ms.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: