Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 1999 02:37:49 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Riccardo Veraldi <riccardo@righi.ml.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problem: reading from bpf interface
Message-ID:  <Pine.BSF.3.96.990618023704.14320A-100000@cygnus.rush.net>
In-Reply-To: <Pine.BSF.4.10.9906180923010.44647-100000@righi.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Jun 1999, Riccardo Veraldi wrote:

> 
> 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.

A url to the code would be suffcient.

what user are you running the program as?

-Alfred



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.3.96.990618023704.14320A-100000>