Do you set a filter? If yes, what is its snaplen?

Loris

> Hello
>
> I am doing an application using 2 nic cards, I read information from one
interface
>
> and then send for the other interface.
>
> The problem is when I do ping from a router (the router send the ping
>
> every 1  ms ) the packet is truncated to 64 bytes. The size of the ping
>
> is 74 bytes.
>
> The strange thing is tha if I use 256K of buffer for 2 interfaces I rarely
get the
>
> error. But when I increase the buffer to 2M I get a lot of error specially
when the
>
> traffic is burstly.
>
> What the increase of the buffer produce this error, does the driver copy
all
>
> the content of the kernel memory to the user memory even the memory has
>
> little information ?
>
> Note: My timeout in PacketSetReadTimeout is Zero
>
>
>
> Thaks in advanced
>
>
>
> David
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> David Rodriguez
> davidgrs
>
>
> --------------------------------------------------------------------------
------
> Join the world's largest e-mail service with MSN Hotmail. Click Here
>
>

Reply via email to