On Wed, Jul 17, 2002 at 10:15:31AM -0700, Joe Elliott wrote:
> This is a good idea. I have being using libpcap since 95 on a
> variety of OS's and have always had to mod the libs to get a non blocking
> read.
...
> It would be useful if this was standard in libpcap.
As I noted in another message, 0.7.1 lets you make the file descriptor
non-blocking; setting O_NONBLOCK should work on earlier releases.
> What would be even better would be a polling driver for common cards
> ie tulip/Intel so we can get some descent performance out of libpcap.
> We need to disable the crippling interrupts to do GIGE speeds.
>
> Maybe this could be an option for Linux/BSD platforms?
That's an option to ask the Linux and BSD driver maintainers for; it's
not specific to packet capture.
Polling support's been added to FreeBSD-current and -stable for the
Tulip, Intel 82xxx, and SiS 900 drivers:
http://info.iet.unipi.it/~luigi/polling/
Dunno whether that's been done for Linux, or {Net,Open}BSD.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe