tcpdump mailing list archives

Re: setting the initial ring size


From: "Abeni Paolo" <paolo.abeni () telecomitalia it>
Date: Thu, 10 Jan 2008 09:39:17 +0100

hello,

on Thu 1/10/2008 3:20 AM  Guy Harris wrote:
"Set receive buffer size at open time" could be implemented on most if  
not all platforms - including platforms using BPF; it would require a  
new "open a live capture" call, but that might be useful for other  
purposes (e.g., to request monitor mode on 802.11 devices).  

I have some concerns about more the "open a live capture" call[s]: in the future it could be useful to set more 
parameters, so in the long run there could be a proliferation of such call. A possible solution would be to make the 
"open a live capture" call extensible, adding a generic parameter (like buffer filled with TLV items). Such buffer 
could be a read/write parameter to make it possible notify the called of which items has been ignored. I think that 
something like this has been suggested earlier. 

Obviously, the generic 'open live capture' implementation is far more flexible and complicated than my previous 
suggestion... Any comments/feedback is, as usual, welcome.

ciao,

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: