[tcpdump-workers] TPACKET v3 / pcap_open_live - backwards compatibility for projects

2014-03-27 Thread John Farnsworth
Hello - had a question regarding the changes in newer versions of libpcap that support tpacket v3 for linux capture. I can't seem to find a sane method to do a backwards compatible set of code between versions of libpcap prior to this support and with it. Since the only described way to interr

Re: [tcpdump-workers] TPACKET v3 / pcap_open_live - backwards compatibility for projects

2014-03-27 Thread John Farnsworth
> If your application is expecting a low rate of packet delivery and needs to > see packets as soon as they arrive, it should simply call > pcap_set_immediate_mode() if it is available, regardless of what operating > system it's running on or what version of libpcap it's using (as long as that