tcpdump mailing list archives

[PACTH] enable memory mapped access to ethernet devices (4thversion)


From: "Paolo Abeni" <paolo.abeni () telecomitalia it>
Date: Wed, 02 Jan 2008 11:46:42 +0100

hi all,

In this revision I try to handle the issues pinpointed by Guy Harris in
his previous posts.

Specifically:

- the selectable_fd filed should be correctly (btw it should be
correctly set even in the previous version of the patch).

- if ring corruption is found, the read 'method' return with error and
an error message is properly written to errbuf. The function pointers
into the pcap handle are left unmodified, since all pcap functions,
except handle->read_op(), should continue to work and later calls to the
read function will return the same error.

- in the previous version of the patch, the capture snapshot was
incorrectly bound to 0xffff; this don't happen any more. 

thanks again for your reviews and happy new year ...

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

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

Attachment: linux_enable_mmap_v4.patch
Description:

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

Current thread: