> 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