tcpdump mailing list archives

Re: [PACTH] enable memory mapped access to ethernet


From: "Abeni Paolo" <paolo.abeni () telecomitalia it>
Date: Fri, 14 Dec 2007 14:26:35 +0100

hello,

on 14/12/2007 9.24 Guy Harris wrote:
If, in pcap_open_live(), live_open_mmap() succeeds, 
handle->selectable_fd doesn't get set.

Oops... I missed this point... I'm going to fix this in the next version of the patch, but first I will wait a bit more 
for other comments/issues. The mapped FD is pollable (and indeed the poll syscall is used on it in same patch, to 
implement the read timeout).

While we're on that topic, can select() or poll() be used for USB 
capture?  

Yes, they can be used. The USB capture use a character device which implement the poll interface.

cheers,

Paolo
--------------------------------------------------------------------

CONFIDENTIALITY NOTICE

This message and its attachments are addressed solely to the persons above and may contain confidential information. If 
you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it 
immediately to the sender and delete the message. Should you have any questions, please contact us by replying to 
webmaster () telecomitalia it.

        Thank you

                                        www.telecomitalia.it

--------------------------------------------------------------------
                        

<<winmail.dat>>

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

Current thread: