On Mon, 26 Nov 2001, Rajesh P Jain wrote:

>          We are trying to use BPF (Packet Filter) pseduo device to send and
> receive the packets.
>         Even if there is a slight delay (Some processing has to be done on
> the read packet) between the issuing of 'read' call, so many packets are
> getting dropped.

BPF isn't a high-performance interface. If you need something faster, you
should add your code to the kernel network stack.  Then you will get a
call to your code for every packet input of the type you're looking for.

Doug White                    |  FreeBSD: The Power to Serve
[EMAIL PROTECTED]     |  www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to