bif_methods
static const struct bif_methods bpf_usb_methods = {
error = bp->bif_methods->bif_write(bp->bif_softc, m, mc, d->bd_flags);
if (bp->bif_methods->bif_attachd != NULL)
bp->bif_methods->bif_attachd(bp->bif_softc);
if (bp->bif_methods->bif_detachd != NULL)
bp->bif_methods->bif_detachd(bp->bif_softc);
if (bp->bif_methods->bif_wrsize != NULL)
return (bp->bif_methods->bif_wrsize(bp->bif_softc));
if (bp->bif_methods->bif_promisc != NULL)
return (bp->bif_methods->bif_promisc(bp->bif_softc, on));
if (bp->bif_methods->bif_mac_check_receive != NULL)
return (bp->bif_methods->bif_mac_check_receive(bp->bif_softc,
return (d->bd_bif->bif_methods->bif_chkdir(d->bd_bif->bif_softc, m,
const struct bif_methods *methods, void *sc)
bp->bif_methods = methods;
error = bp->bif_methods->bif_promisc(bp->bif_softc, true);
const struct bif_methods *bif_methods;
else if (bp->bif_methods->bif_write == NULL)
struct bif_methods;
const struct bif_methods *, void *);
static const struct bif_methods bpf_ifnet_methods = {
static const struct bif_methods bpf_ieee80211_methods = {
static const struct bif_methods bpf_ipfw_methods = {