Subject: Re: Conditionalize expensive BPF operation
To: None <thorpej@zembu.com>
From: Martin Husemann <martin@duskware.de>
List: tech-net
Date: 04/30/2001 22:40:36
> I don't think you need to do this.  Checking ifp->if_bpf != NULL should
> be sufficient.

Oh, of course, if that is acceptable (I usually avoid touching opaque things,
even for simple tests like this, without a macro or function keeping the
abstraction sane).


Martin