From owner-freebsd-hackers Fri Aug 3 7:26: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from torb.pix.net (torb.pix.net [192.135.81.20]) by hub.freebsd.org (Postfix) with ESMTP id 3DB8D37B406 for ; Fri, 3 Aug 2001 07:26:06 -0700 (PDT) (envelope-from stripes@iamsofired.com) Received: (from stripes@localhost) by torb.pix.net (8.11.4/8.11.4) id f73EQfH11999 for hackers@FreeBSD.ORG; Fri, 3 Aug 2001 10:26:41 -0400 (EDT) (envelope-from stripes@iamsofired.com) X-Authentication-Warning: torb.pix.net: stripes set sender to stripes@iamsofired.com using -f Date: Fri, 3 Aug 2001 10:26:41 -0400 From: Josh M Osborne To: hackers@FreeBSD.ORG Subject: Does /dev/bpf work with kevent? Message-ID: <20010803102640.A11972@torb.pix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message