tcpdump mailing list archives

Re: rpcap


From: Fulvio Risso <fulvio.risso () polito it>
Date: Thu, 17 May 2012 06:56:16 +0200

On 05/16/2012 09:58 AM, Jakub Zawadzki wrote:
Hi,

On Wed, May 16, 2012 at 07:45:53AM +0200, Fulvio Risso wrote:
Just because the code was done in 2002 and probably at that time I used the old
socket style.

Nah, patch 3518553 [1] is mine :)
Yours code seems to use getaddrinfo like suggested by Artur.

I have to admit that I was pretty convinced to have used getaddrinfo() and such at that time (in fact, at that time I was very confident that Ipv6 should have happened soon), but I trusted what Artur said in the email.

        fulvio


3518553 is less invasive and more compact reimplementation of winpcap's rpcap,
but it doesn't have all features which winpcap version has.
(I thought that less invasive version of rpcap could be finally merged to libpcap...)

Artur, you probably want to use original rpcap support from winpcap.
Either from winpcap sources [2] or from Joerg Mayer git repository[3]

Cheers,
  Kuba.

[1] https://sourceforge.net/tracker/?func=detail&aid=3518553&group_id=53067&atid=469579
[2] http://www.winpcap.org/install/bin/WpcapSrc_4_1_2.zip
[3] https://github.com/jmayer/libpcap
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: