Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 15:47:33 +0200
From:      "Petri Helenius" <pete@he.iki.fi>
To:        "Noritoshi Demizu" <demizu@dd.iij4u.or.jp>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: bpf
Message-ID:  <05cc01c28a52$0f0fa4b0$a230a8c0@PHE>
References:  <03fe01c28386$186fed80$862a40c1@PHE><20021103225402.GA28812@tp.databus.com><05af01c2856a$f103c960$862a40c1@PHE> <20021107.011746.41626604.noritosi@demizu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> How about to call ioctl(fd, BIOCSRTIMEOUT, &timeval) ?
> I think select(2) sets the fd for the bpf if the bpf buffer is full,
> or if the bpf buffer is not empty after timed out.
> 
This worked for me, thanks. I must have missed it on the documentation
for some reason.

Pete


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05cc01c28a52$0f0fa4b0$a230a8c0>