[tcpdump-workers] TPACKET_V3 support added big packet delivery delay and/or affected timestamps

Thomas Habets thomas at habets.se
Fri Dec 5 06:15:25 EST 2014


On 4 December 2014 at 20:01, Guy Harris <guy at 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 at 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;


More information about the tcpdump-workers mailing list