lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [bug #40245] unix port minimal project has abundant tim


From: Sg
Subject: Re: [lwip-devel] [bug #40245] unix port minimal project has abundant timers
Date: Sat, 21 Feb 2015 14:56:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 AquaMail/1.5.1.13 (build: 21020013)

Pcapif uses pcap to implement a netif that is hooked to the real network like on a switch. Although in the win32 folder, pcapif.c should be platform independent and thus work on Unix/Linux too. (Pcapif helper OTOH relies on win32 functions to provide what pcap doesn't).

I thought using libpcap could be more simple to use than tapif, mainly because it doesn't require any external setup other than having libpcap installed.

Simon


Gesendet mit AquaMail für Android
http://www.aqua-mail.com


Am 21. Februar 2015 14:25:41 schrieb Sylvain Rochet <address@hidden>:

Hello Gisle,

On Sat, Feb 21, 2015 at 02:17:21PM +0100, Gisle Vanem wrote:
> Sylvain Rochet wrote:
>
> >What's the usage case of pcapif here ?
>
> It interfaces to libpcap/WinPcap to send/recv packets. e.g.
> calls pcap_next() to get a Rx-packet.

This isn't a usage case, this is how it works, I already know that :p

So, you are using it for example to replay pcap files ?

Sylvain



----------
_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]