Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 1999 09:26:06 +0200 (CEST)
From:      Riccardo Veraldi <riccardo@righi.ml.org>
To:        freebsd-questions@freebsd.org
Subject:   problem: reading from bpf interface
Message-ID:  <Pine.BSF.4.10.9906180923010.44647-100000@righi.ml.org>

next in thread | raw e-mail | index | archive | help

Hello.
I Am trying to use bpf to read raw data from my ether interface.
After setting up all the needed stuff with ioctl after opening the 
bpf interface, I use read() to read data in a char* buffer.
The thing is that nothing is read into the buffer.
the bpf is enabled in the kernel of course.
What could be the problem ??
I could include the few 30 lines of code I use to open and read from the
bpf device.

thanks

Rick




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906180923010.44647-100000>