Date: Fri, 3 Aug 2001 13:51:20 -0400 From: Garance A Drosihn <drosih@rpi.edu> To: Josh M Osborne <stripes@iamsofired.com>, hackers@FreeBSD.ORG Subject: Re: Does /dev/bpf work with kevent? Message-ID: <p05101000b79094a295d3@[128.113.24.47]> In-Reply-To: <20010803102640.A11972@torb.pix.net> References: <20010803102640.A11972@torb.pix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 10:26 AM -0400 8/3/01, Josh M Osborne wrote: >I'm attempting to use kevent with /dev/bpf to check to see if it >is ready for reads, but it seems to always return ready to read, >but the reads get EAGAIN. > >Does /dev/bpf not work with kevent? Or should I look elsewhere >for my bug (like forgetting some random ioctl)? > >If you can't use /dev/bpf can ng_bpf and ng_socket somehow be used? >Any examples of either, or both laying around somewhere? (I've >never used the netgraph stuff before -- as cool as netgraph looks >I haven't had the need) Are you trying this on current or stable? current has a bug fix to bpf which still hasn't been merged to stable. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101000b79094a295d3>