tcpdump mailing list archives

Re: TPACKET_V3 support added big packet delivery delay and/or affected timestamps


From: Thomas Habets <thomas () habets se>
Date: Fri, 5 Dec 2014 11:15:25 +0000

On 4 December 2014 at 20:01, Guy Harris <guy () alum mit edu> wrote:
If your program needs to have packets delivered as soon as they arrive, it should, if the version of libpcap with 
which it's being built has the pcap_set_immediate_mode() API

Thanks. I switched to the pcap_create() API from pcap_open_live() (my
code predates pcap_create()) and set immediate mode, and that did it.
https://github.com/ThomasHabets/arping/commits/arping-2.x


Thanks for your help.

-- 
typedef struct me_s {
 char name[]      = { "Thomas Habets" };
 char email[]     = { "thomas () habets pp se" };
 char kernel[]    = { "Linux" };
 char *pgpKey[]   = { "http://www.habets.pp.se/pubkey.txt"; };
 char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854" };
 char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: