On 02/02/2008 11:38 PM, Guy Harris wrote:
Guy Harris wrote:
*However*, unless I'm missing something, a pointer to the payload
after the SLL header is being passed to the callback;
...
I'll try it out on my Ubuntu "machine"
That appears to have been the problem; I checked in a fix that
On 02/02/2008 08:42 PM, Guy Harris wrote:
Alexander 'Leo' Bergolth wrote:
Bad news...
I've also tested it on debian etch (kernel 2.6.22-2-686).
Unfortunately, the same patch seems to cause some displacement of the
frames, starting with the first captured frame, when using the &
Hi!
On 01/31/2008 02:39 PM, Abeni Paolo wrote:
on Thu 1/31/2008 10:37 AM Alexander 'Leo' Bergolth wrote:
I just gave your new linux mmap patch a try
thanks for the review :-)
Bad news...
I've also tested it on debian etch (kernel 2.6.22-2-686).
Unfortunately, the same patch
Hi!
I just gave your new linux mmap patch a try, that was committed to svn
a few weeks ago.
The code works fine, except for two issues:
*) There is a typo in the macro RING_GET_FRAME(h) (handle instead of h).
The attached patch fixes that.
*) If pcap_loop is called with cnt=0 (ngrep erroneously